|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.captp.jcomm.ObjectID
Untamed: A pairing of a VatID and a SwissHash, uniquely identifying a Selfish object without providing access to the object.
Field Summary | |
private BigInteger |
mySwissHash
The object's identity, relative to that vat |
private String |
myVatID
The vat this ID is relative to (i.e., the vat that created this ID). |
static StaticMaker |
ObjectIDMaker
Enabled: |
private static long |
serialVersionUID
|
Fields inherited from interface org.erights.e.elib.serial.Persistent |
HONORARY, HONORED_NAMES |
Fields inherited from interface org.erights.e.elib.serial.DeepPassByCopy |
HONORARY, HONORED_NAMES |
Constructor Summary | |
ObjectID(String vatID,
BigInteger swissHash)
Enabled: Construct an object identifier given the SwissHash directly |
Method Summary | |
boolean |
equals(Object obj)
Suppressed: Two ObjectIDs are equal if the vatIDs and SwissHashes are both equal |
Object[] |
getSpreadUncall()
Enabled: |
BigInteger |
getSwissHash()
Enabled: Return the Swiss number |
String |
getVatID()
Enabled: Return the vat ID |
int |
hashCode()
Suppressed: |
String |
toString()
Suppressed: |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
public static final StaticMaker ObjectIDMaker
private final String myVatID
private final BigInteger mySwissHash
Constructor Detail |
public ObjectID(String vatID, BigInteger swissHash)
Method Detail |
public Object[] getSpreadUncall()
getSpreadUncall
in interface Selfless
public boolean equals(Object obj)
equals
in class Object
obj
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.Object.hashCode()
,
java.util.Hashtable
public int hashCode()
hashCode
in class Object
java.lang.Object#equals(java.lang.Object)
,
java.util.Hashtable
public String getVatID()
public BigInteger getSwissHash()
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |