public static class OAVWeakIdGenerator.OAVInternalObjectId
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.ref.WeakReference |
extid
The weak reference to the external id.
|
protected java.lang.ref.WeakReference |
extid2
The weak reference to the phantom external id
(e.g.
|
protected long |
id
The id value.
|
protected java.lang.ref.ReferenceQueue |
queue
The reference queue.
|
protected OAVObjectType |
type
The object type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object)
Test if two object are equal.
|
OAVWeakIdGenerator.OAVExternalObjectId |
getPhantomExternalId()
Get the phantom external id (e.g.
|
OAVWeakIdGenerator.OAVExternalObjectId |
getWeakExternalId()
Get the weak external id.
|
int |
hashCode()
Return the hashcode for this id.
|
boolean |
isClear()
Test if no external references exist.
|
java.lang.String |
toString()
Create a string representation of this OAV object id.
|
protected OAVObjectType type
protected long id
protected java.lang.ref.WeakReference extid
protected java.lang.ref.WeakReference extid2
protected java.lang.ref.ReferenceQueue queue
public OAVWeakIdGenerator.OAVExternalObjectId getWeakExternalId()
public OAVWeakIdGenerator.OAVExternalObjectId getPhantomExternalId()
public boolean isClear()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- The object to compare to.public int hashCode()
hashCode
in class java.lang.Object