public class GroupDescriptor extends Object implements Principal
Group
for details.Constructor and Description |
---|
GroupDescriptor(ObjectIdentity groupContext,
String name,
String identifier,
String principalId,
String principalName,
String description)
Constructor
|
GroupDescriptor(ObjectIdentity groupContext,
String name,
String identifier,
String principalId,
String principalName,
String description,
long revision)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one.
|
String |
getDescription()
Get the description of this object
|
ObjectIdentity |
getGroupContext()
Get the context of this group
|
String |
getIdentifier()
Get the identifier of this object
|
String |
getName()
Get the name of this object
|
String |
getObjectType()
Get the objectType of this object.
|
String |
getPrincipalId()
Returns the principal id of the aclPrincipal
|
String |
getPrincipalName()
Returns the principal name of the aclPrincipal
|
long |
getRevision()
Get the internal revision number of this object.
|
int |
hashCode()
Return a hash code value for the object.
|
void |
setDescription(String description)
Set the description of this object
|
void |
setIdentifier(String identifier)
Set the identifier of this object
|
void |
setName(String name)
Set the name of this object
|
void |
setObjectType(String objectType)
Set the objectType of this object.
|
void |
setRevision(long revision)
Set the internal revision number of this object.
|
public GroupDescriptor(ObjectIdentity groupContext, String name, String identifier, String principalId, String principalName, String description, long revision)
groupContext
- the context of this groupname
- the name of this groupidentifier
- the unique identifier for this groupprincipalId
- the principal identifier for this groupprincipalName
- the principal name for this groupdescription
- the description of this grouprevision
- the internal revision number for this grouppublic GroupDescriptor(ObjectIdentity groupContext, String name, String identifier, String principalId, String principalName, String description)
groupContext
- the context of this groupname
- the name of this groupidentifier
- the unique identifier for this groupprincipalId
- the principal identifier for this groupprincipalName
- the principal name for this groupdescription
- the description of this grouppublic long getRevision()
public void setRevision(long revision)
revision
- The new internal revision number of this object.public String getObjectType()
getObjectType
in interface Identifiable
public void setObjectType(String objectType)
objectType
- the objectType to setpublic String getIdentifier()
getIdentifier
in interface Identifiable
public void setIdentifier(String identifier)
identifier
- the identifier to setpublic String getName()
public void setName(String name)
name
- the name to setpublic String getDescription()
public void setDescription(String description)
description
- the description to setpublic String getPrincipalId()
AclPrincipal
getPrincipalId
in interface AclPrincipal
public String getPrincipalName()
AclPrincipal
getPrincipalName
in interface AclPrincipal
public ObjectIdentity getGroupContext()
public int hashCode()
hashCode
in interface AclPrincipal
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in interface AclPrincipal
equals
in class Object
obj
- to be comparedtrue
if the objects are equal, false
otherwiseObject.equals(java.lang.Object)
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA