Class Group

java.lang.Object
com.gentics.contentnode.rest.model.Group
All Implemented Interfaces:
Serializable

public class Group extends Object implements Serializable
Group information in REST calls
See Also:
  • Constructor Details

    • Group

      public Group()
      Empty constructor
  • Method Details

    • getId

      public Integer getId()
      Group ID
      Returns:
      the id
    • getName

      public String getName()
      Group name
      Returns:
      the name
    • getDescription

      public String getDescription()
      Description
      Returns:
      the description
    • setId

      public void setId(Integer id)
      Parameters:
      id - the id to set
    • setName

      public Group setName(String name)
      Set group name
      Parameters:
      name - the name to set
      Returns:
      fluent API
    • setDescription

      public Group setDescription(String description)
      Set description
      Parameters:
      description - the description to set
      Returns:
      fluent API
    • getChildren

      public List<Group> getChildren()
      List of child groups
      Returns:
      children
    • setChildren

      public void setChildren(List<Group> children)
      Set the children
      Parameters:
      children - children
    • toString

      public String toString()
      Overrides:
      toString in class Object