|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.Base
com.tangosol.io.pof.PofHelper
com.tangosol.io.pof.PofPrincipal
public class PofPrincipal
Generic Principal implementation that can be used to represent the identity of any remote entity.
PrincipalPofSerializer| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.tangosol.io.pof.PofHelper |
|---|
PofHelper.ReadableEntrySetMap, PofHelper.WriteableEntrySetMap |
| Field Summary | |
|---|---|
protected String |
m_sNameThe name of the identity represented by this Principal. |
| Fields inherited from class com.tangosol.io.pof.PofHelper |
|---|
BIGDECIMAL_ZERO, BIGINTEGER_MAX_LONG, BIGINTEGER_MIN_LONG, BINARY_EMPTY, BOOLEAN_ARRAY_EMPTY, BYTE_ARRAY_EMPTY, CHAR_ARRAY_EMPTY, COLLECTION_EMPTY, DOUBLE_ARRAY_EMPTY, FLOAT_ARRAY_EMPTY, INT_ARRAY_EMPTY, LONG_ARRAY_EMPTY, OBJECT_ARRAY_EMPTY, SHORT_ARRAY_EMPTY |
| Constructor Summary | |
|---|---|
PofPrincipal(String sName)Create a new PortablePrincipal with the given name. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)Compares this Principal to the specified object. |
String |
getName()Return the name of this Principal. |
int |
hashCode()Return a hashcode for this Principal. |
String |
toString()Return a string representation of this Principal. |
| Field Detail |
|---|
protected String m_sName
| Constructor Detail |
|---|
public PofPrincipal(String sName)
sName - the name of the identity represented by this PortablePrincipal| Method Detail |
|---|
public String getName()
getName in interface Principalpublic boolean equals(Object o)
equals in interface Principalo - a Principal to compare withpublic String toString()
toString in interface Principalpublic int hashCode()
hashCode in interface Principal
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||