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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Group()
Empty constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Group>
getChildren()
List of child groupsString
getDescription()
DescriptionInteger
getId()
Group IDString
getName()
Group namevoid
setChildren(List<Group> children)
Set the childrenGroup
setDescription(String description)
Set descriptionvoid
setId(Integer id)
Group
setName(String name)
Set group nameString
toString()
-
-
-
Method Detail
-
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
-
setChildren
public void setChildren(List<Group> children)
Set the children- Parameters:
children
- children
-
-