Package org.opencms.ade.containerpage
Class CmsDetailOnlyContainerPageBuilder.ContainerInfo
- java.lang.Object
-
- org.opencms.ade.containerpage.CmsDetailOnlyContainerPageBuilder.ContainerInfo
-
- Enclosing class:
- CmsDetailOnlyContainerPageBuilder
public static class CmsDetailOnlyContainerPageBuilder.ContainerInfo extends java.lang.Object
Bean containing the information for a single container.
-
-
Constructor Summary
Constructors Constructor Description ContainerInfo(java.lang.String name)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResource(CmsResource resource)
Adds a container element resource.java.lang.String
getEffectiveType()
Gets the effective container type.int
getEffectiveWidth()
Gets the effective container width.java.lang.String
getName()
Gets the container name.java.util.List<CmsResource>
getResources()
Gets the container element resources.java.lang.String
getType()
Returns the type.java.lang.String
getWidth()
Returns the width.void
setType(java.lang.String type)
Sets the type.void
setWidth(java.lang.String width)
Sets the width.
-
-
-
Constructor Detail
-
ContainerInfo
public ContainerInfo(java.lang.String name)
Creates a new instance.- Parameters:
name
- the container name
-
-
Method Detail
-
addResource
public void addResource(CmsResource resource)
Adds a container element resource.- Parameters:
resource
- the container element resource
-
getEffectiveType
public java.lang.String getEffectiveType()
Gets the effective container type.- Returns:
- the effective container type
-
getEffectiveWidth
public int getEffectiveWidth()
Gets the effective container width.- Returns:
- the effective container width
-
getName
public java.lang.String getName()
Gets the container name.- Returns:
- the container name
-
getResources
public java.util.List<CmsResource> getResources()
Gets the container element resources.- Returns:
- the container element resources
-
getType
public java.lang.String getType()
Returns the type.- Returns:
- the type
-
getWidth
public java.lang.String getWidth()
Returns the width.- Returns:
- the width
-
setType
public void setType(java.lang.String type)
Sets the type.- Parameters:
type
- the type to set
-
setWidth
public void setWidth(java.lang.String width)
Sets the width.- Parameters:
width
- the width to set
-
-