Package org.opencms.ade.containerpage
Class CmsDetailOnlyContainerPageBuilder.ContainerInfo
java.lang.Object
org.opencms.ade.containerpage.CmsDetailOnlyContainerPageBuilder.ContainerInfo
- Enclosing class:
CmsDetailOnlyContainerPageBuilder
Bean containing the information for a single container.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResource(CmsResource resource) Adds a container element resource.Gets the effective container type.intGets the effective container width.getName()Gets the container name.Gets the container element resources.getType()Returns the type.getWidth()Returns the width.voidSets the type.voidSets the width.
-
Constructor Details
-
ContainerInfo
Creates a new instance.- Parameters:
name- the container name
-
-
Method Details
-
addResource
Adds a container element resource.- Parameters:
resource- the container element resource
-
getEffectiveType
Gets the effective container type.- Returns:
- the effective container type
-
getEffectiveWidth
Gets the effective container width.- Returns:
- the effective container width
-
getName
Gets the container name.- Returns:
- the container name
-
getResources
Gets the container element resources.- Returns:
- the container element resources
-
getType
Returns the type.- Returns:
- the type
-
getWidth
Returns the width.- Returns:
- the width
-
setType
Sets the type.- Parameters:
type- the type to set
-
setWidth
Sets the width.- Parameters:
width- the width to set
-