|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.platform.security.api.MetaMatrixPrincipalName
public class MetaMatrixPrincipalName
Constructor Summary | |
---|---|
protected |
MetaMatrixPrincipalName(MetaMatrixPrincipalName obj)
|
|
MetaMatrixPrincipalName(java.lang.String name,
int type)
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
Compares this object to another. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Returns the name of this principal. |
int |
getType()
Get the type of principal |
java.lang.String |
getTypeLabel()
Get the String form for the type of principal. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MetaMatrixPrincipalName(java.lang.String name, int type)
protected MetaMatrixPrincipalName(MetaMatrixPrincipalName obj)
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(java.lang.Object obj)
Note: this method is consistent with
equals()
, meaning
that
(compareTo(x, y)==0) == (x.equals(y))
.
obj
- the object that this instance is to be compared to.
java.lang.IllegalArgumentException
- if the specified object reference is null
java.lang.ClassCastException
- if the specified object's type prevents it
from being compared to this instance.public int getType()
public java.lang.String getTypeLabel()
public java.lang.String getName()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |