T
- public abstract class AssistmentsPrincipal extends XInfoImpl implements java.lang.Comparable<AssistmentsPrincipal>, java.security.Principal
XInfoImpl.XInfoState
Modifier | Constructor and Description |
---|---|
protected |
AssistmentsPrincipal(PrincipalType pType) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asPrincipalString() |
int |
compareTo(AssistmentsPrincipal o) |
boolean |
equals(java.lang.Object obj)
Returns whether two XInfos are equal based solely on the object's xref UUID.
|
int |
getDbid() |
java.lang.String |
getName()
Returns the AssistmentsPrincipal's common name.
|
PrincipalType |
getPrincipalType() |
boolean |
isPrincipalType(PrincipalType type) |
void |
setDbid(int dbid) |
void |
setName(java.lang.String name)
Sets this AssistmentsPrincipal's common name.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String indent)
Returns a String representation of this group's members formatted somewhat pretty.
|
asXinfoString, clearXinfo, getState, getType, getXid, getXinfo, getXref, hashCode, setXid, setXidOverride, setXinfo, setXref
protected AssistmentsPrincipal(PrincipalType pType)
public PrincipalType getPrincipalType()
getPrincipalType
in interface XInfo
getPrincipalType
in class XInfoImpl
public boolean isPrincipalType(PrincipalType type)
public int getDbid()
public void setDbid(int dbid)
public void setName(java.lang.String name)
name
- public java.lang.String getName()
getName
in interface java.security.Principal
public final int compareTo(AssistmentsPrincipal o)
compareTo
in interface java.lang.Comparable<AssistmentsPrincipal>
public boolean equals(java.lang.Object obj)
XInfo
public java.lang.String asPrincipalString()
public java.lang.String toString()
public java.lang.String toString(java.lang.String indent)