Package org.bremersee.dccon.model
Class DomainGroup
- java.lang.Object
-
- org.bremersee.dccon.model.CommonAttributes
-
- org.bremersee.dccon.model.DomainGroup
-
- All Implemented Interfaces:
Serializable
@Validated public class DomainGroup extends CommonAttributes implements Serializable
Domain group.- Author:
- Christian Bremer
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_SORT_ORDERThe constant DEFAULT_SORT_ORDER.
-
Constructor Summary
Constructors Constructor Description DomainGroup(String distinguishedName, OffsetDateTime created, OffsetDateTime modified, Sid sid, String name, String description, List<String> members)Instantiates a new Domain group.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Gets description.List<String>getMembers()The members of the domain group.StringgetName()The name of the domain group.SidgetSid()Gets sid.voidsetDescription(String description)Sets description.voidsetMembers(List<String> members)Sets members.voidsetName(String name)Sets name.voidsetSid(Sid sid)Sets sid.-
Methods inherited from class org.bremersee.dccon.model.CommonAttributes
getCreated, getDistinguishedName, getModified, setCreated, setDistinguishedName, setModified
-
-
-
-
Field Detail
-
DEFAULT_SORT_ORDER
public static final String DEFAULT_SORT_ORDER
The constant DEFAULT_SORT_ORDER.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DomainGroup
public DomainGroup(String distinguishedName, OffsetDateTime created, OffsetDateTime modified, Sid sid, String name, String description, List<String> members)
Instantiates a new Domain group.- Parameters:
distinguishedName- the distinguished namecreated- the createdmodified- the modifiedsid- the windows/samba SIDname- the namedescription- the descriptionmembers- the members
-
-
Method Detail
-
getName
public String getName()
The name of the domain group.- Returns:
- name name
-
setName
public void setName(String name)
Sets name.- Parameters:
name- the name
-
getDescription
public String getDescription()
Gets description.- Returns:
- the description
-
setDescription
public void setDescription(String description)
Sets description.- Parameters:
description- the description
-
getSid
public Sid getSid()
Gets sid.- Returns:
- the sid
-
setSid
public void setSid(Sid sid)
Sets sid.- Parameters:
sid- the sid
-
getMembers
public List<String> getMembers()
The members of the domain group.- Returns:
- members members
-
-