Class HierarchicalModel


  • public class HierarchicalModel
    extends Object
    The HierarchicalModel model.
    • Constructor Detail

      • HierarchicalModel

        public HierarchicalModel()
    • Method Detail

      • name

        public String name()
        Get the name value.
        Returns:
        the name value
      • withName

        public HierarchicalModel withName​(String name)
        Set the name value.
        Parameters:
        name - the name value to set
        Returns:
        the HierarchicalModel object itself.
      • children

        public List<JsonChild> children()
        Get the children value.
        Returns:
        the children value
      • withChildren

        public HierarchicalModel withChildren​(List<JsonChild> children)
        Set the children value.
        Parameters:
        children - the children value to set
        Returns:
        the HierarchicalModel object itself.
      • roles

        public List<String> roles()
        Get the roles value.
        Returns:
        the roles value
      • withRoles

        public HierarchicalModel withRoles​(List<String> roles)
        Set the roles value.
        Parameters:
        roles - the roles value to set
        Returns:
        the HierarchicalModel object itself.
      • inherits

        public PrebuiltDomainObject inherits()
        Get the inherits value.
        Returns:
        the inherits value
      • withInherits

        public HierarchicalModel withInherits​(PrebuiltDomainObject inherits)
        Set the inherits value.
        Parameters:
        inherits - the inherits value to set
        Returns:
        the HierarchicalModel object itself.