public class Group extends GroupDescriptor
Constructor and Description |
---|
Group(String id,
ObjectIdentity context,
String name,
String description,
long revision,
Set<Principal> members)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Set<Principal> |
getMembers()
Gets the members of the group.
|
long |
getRevision()
Gets the internal revision number of the object.
|
int |
hashCode() |
void |
setMembers(Set<Principal> members)
Sets the members of the group.
|
String |
toString() |
getContext, getDescription, getName, getPrincipalId, getPrincipalName, setDescription, setName
getId, getTypeId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getTypeId
public Group(String id, ObjectIdentity context, String name, String description, long revision, Set<Principal> members)
id
- the unique identifier of the group.context
- the context in which the group was defined.name
- the name of the group.description
- the description of the group.revision
- the internal revision number of this group.members
- the members of the group.public long getRevision()
public void setMembers(Set<Principal> members)
members
- the members of the group.public int hashCode()
hashCode
in interface Principal
hashCode
in class GroupDescriptor
public boolean equals(Object obj)
equals
in interface Principal
equals
in class GroupDescriptor
public String toString()
toString
in class GroupDescriptor
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA