|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.ufid.Ufid
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private int |
hashcode
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
REMOTE_OBJECT_ID_SEPARATOR
|
private RemoteObjectInfo |
remoteInfo
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private static String |
UFID_SEPARATOR
|
Constructor Summary | |
|
Ufid()
Supported API: false |
(package private) |
Ufid(Federatable localObject)
The expectation is that this constructor will only be used by the Ufid Server Service for building Ufid's for objects that are "Purly" local. |
|
Ufid(Federatable childObject,
Ufid parentUfid)
This constructor is used to create a new Ufid based on another Ufid for the given local Federatable object. |
|
Ufid(String objectRef,
Repository repository)
This will construct a Ufid with the Birth Repository and Last known Repository are the same. |
Method Summary | |
protected ObjectIdentifier |
asObjectIdentifier()
|
boolean |
equals(Object object)
Supported API: false |
String |
getDomain()
Gets the value of the attribute: domain. |
String |
getGuid()
Gets the value of the attribute: guid. |
String |
getObjectId()
Gets the value of the attribute: objectId. |
RemoteObjectInfo |
getRemoteInfo()
Gets the object for the association that plays role: remoteInfo. |
int |
hashCode()
Supported API: false |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(Ufid thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
private void |
remoteInfoValidate(RemoteObjectInfo a_RemoteInfo)
|
private String |
remoteObjectId(Persistable object)
This method is being used instead of the toString on the ObjectIdentifier to help in insulating the UFID implementation from the use of ObjectIdentifier as an URL. |
void |
setRemoteInfo(RemoteObjectInfo a_RemoteInfo)
Sets the object for the association that plays role: remoteInfo. |
String |
toString()
Supported API: false |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private int hashcode
private RemoteObjectInfo remoteInfo
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final String REMOTE_OBJECT_ID_SEPARATOR
private static final String UFID_SEPARATOR
Constructor Detail |
public Ufid()
Ufid(Federatable localObject) throws UfidException
localObject
-
UfidException
public Ufid(String objectRef, Repository repository) throws UfidException
objectRef
- objectRef is a string that represents the unique identifier of the object on the remote system.repository
-
UfidException
public Ufid(Federatable childObject, Ufid parentUfid) throws UfidException
childObject
- parentUfid
-
UfidException
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(Ufid thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public String getObjectId()
public String getGuid()
public String getDomain()
public RemoteObjectInfo getRemoteInfo()
public void setRemoteInfo(RemoteObjectInfo a_RemoteInfo) throws WTPropertyVetoException
a_RemoteInfo
-
WTPropertyVetoException
private void remoteInfoValidate(RemoteObjectInfo a_RemoteInfo) throws WTPropertyVetoException
a_RemoteInfo
-
WTPropertyVetoException
public String toString()
public int hashCode()
public boolean equals(Object object)
object
-
private String remoteObjectId(Persistable object)
protected ObjectIdentifier asObjectIdentifier() throws UfidException
UfidException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |