Class CmsDetailOnlyContainerPageBuilder.ContainerInfo

java.lang.Object
org.opencms.ade.containerpage.CmsDetailOnlyContainerPageBuilder.ContainerInfo
Enclosing class:
CmsDetailOnlyContainerPageBuilder

Bean containing the information for a single container.

  • Constructor Details

    • ContainerInfo

      public ContainerInfo(String name)
      Creates a new instance.

      Parameters:
      name - the container name
  • Method Details

    • addResource

      public void addResource(CmsResource resource)
      Adds a container element resource.

      Parameters:
      resource - the container element resource
    • 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 String getName()
      Gets the container name.

      Returns:
      the container name
    • getResources

      Gets the container element resources.
      Returns:
      the container element resources
    • getType

      public String getType()
      Returns the type.

      Returns:
      the type
    • getWidth

      public String getWidth()
      Returns the width.

      Returns:
      the width
    • setType

      public void setType(String type)
      Sets the type.

      Parameters:
      type - the type to set
    • setWidth

      public void setWidth(String width)
      Sets the width.

      Parameters:
      width - the width to set