public class GroupDescriptor extends AbstractIdentifiable implements Principal
Constructor and Description |
---|
GroupDescriptor(String id,
ObjectIdentity context,
String name,
String description)
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) |
ObjectIdentity |
getContext()
Gets the context in which the group was defined.
|
String |
getDescription()
Gets the description of the group.
|
String |
getName()
Gets the name of the group.
|
String |
getPrincipalId()
Returns the principal identifier of a user or group.
|
String |
getPrincipalName()
Returns the principal name of a user or group.
|
int |
hashCode() |
void |
setDescription(String description)
Sets the description of the group.
|
void |
setName(String name)
Sets the name of the group.
|
String |
toString() |
getId, getTypeId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getTypeId
public GroupDescriptor(String id, ObjectIdentity context, String name, String description)
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.public ObjectIdentity getContext()
public String getName()
public void setName(String name)
name
- the name of the group.public String getDescription()
public void setDescription(String description)
description
- the description of the group.public String getPrincipalId()
Principal
getPrincipalId
in interface Principal
public String getPrincipalName()
Principal
getPrincipalName
in interface Principal
public int hashCode()
hashCode
in interface Principal
hashCode
in class AbstractIdentifiable
public boolean equals(Object obj)
equals
in interface Principal
equals
in class AbstractIdentifiable
public String toString()
toString
in class AbstractIdentifiable
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>