Class CompositeModel

  • Direct Known Subclasses:
    Container, ContentItem

    public abstract class CompositeModel
    extends ElementModel
    This class represents the base viewmodel for containers, pages and documents
    Since:
    9.2
    Author:
    A.Pragt
    • Constructor Detail

      • CompositeModel

        public CompositeModel()
    • Method Detail

      • getChildren

        public List<String> getChildren()
        This method returns the children of the model.
        Returns:
        The children.
      • addChild

        public void addChild​(String childId)
        This methods adds a child to the model.
        Parameters:
        childId - The id of the child, never null.