wt.identity
Class DisplayIdentificationVersionedDelegate

java.lang.Object
  extended bywt.identity.DisplayIdentificationStandardDelegate
      extended bywt.identity.DisplayIdentificationIteratedDelegate
          extended bywt.identity.DisplayIdentificationVersionedDelegate
All Implemented Interfaces:
DisplayIdentification, DisplayIdentificationDelegate, Externalizable, Serializable
Direct Known Subclasses:
DisplayIdentificationStandardVersionedDelegate

public abstract class DisplayIdentificationVersionedDelegate
extends DisplayIdentificationIteratedDelegate
implements Externalizable

This is a standard delegate implementation for providing display identification information for versioned objects. The class provides a basic pattern for delegate initialization (versioned objects) which classes that implement this one can utilize.

Supported API: true

Extendable: true

See Also:
VersionedDisplayIdentity, Serialized Form

Field Summary
private static String CLASSNAME
           
private  DisplayIdentity conceptIdentity
           
static long EXTERNALIZATION_VERSION_UID
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private  DisplayIdentity versionIdentity
           
 
Fields inherited from class wt.identity.DisplayIdentificationIteratedDelegate
 
Fields inherited from class wt.identity.DisplayIdentificationStandardDelegate
VERBOSE
 
Fields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE
 
Constructor Summary
DisplayIdentificationVersionedDelegate()
           
 
Method Summary
protected  DisplayIdentity getConceptIdentity()
          Gets the value of the attribute: conceptIdentity.
 DisplayIdentity getDisplayIdentity()
          

Supported API: false
protected  DisplayIdentity getVersionIdentity()
          Gets the value of the attribute: versionIdentity.
protected abstract  void initializeConceptIdentity(Object object)
          Initialize the identity for the concept portion of the object.
protected abstract  void initializeVersionIdentity(Object object)
          Initialize the identity for the version portion of the object.
 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(DisplayIdentificationVersionedDelegate thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
protected  void setConceptIdentity(DisplayIdentity a_ConceptIdentity)
          Sets the value of the attribute: conceptIdentity.
protected  void setVersionIdentity(DisplayIdentity a_VersionIdentity)
          Sets the value of the attribute: versionIdentity.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class wt.identity.DisplayIdentificationIteratedDelegate
getIterationIdentity, initializeIterationIdentity, readVersion, setIterationIdentity
 
Methods inherited from class wt.identity.DisplayIdentificationStandardDelegate
getDisplayIdentifier, getDisplayType, getIdentifier, getMessageKey, getOriginalType, getResourceBundle, getType, initialize, initializeIdentifier, initializeType, readVersion, setIdentifier, setOriginalType, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

conceptIdentity

private DisplayIdentity conceptIdentity

versionIdentity

private DisplayIdentity versionIdentity

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

DisplayIdentificationVersionedDelegate

public DisplayIdentificationVersionedDelegate()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class DisplayIdentificationIteratedDelegate
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class DisplayIdentificationIteratedDelegate
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(DisplayIdentificationVersionedDelegate thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

getConceptIdentity

protected DisplayIdentity getConceptIdentity()
Gets the value of the attribute: conceptIdentity.

Supported API: false

Returns:
DisplayIdentity

setConceptIdentity

protected void setConceptIdentity(DisplayIdentity a_ConceptIdentity)
Sets the value of the attribute: conceptIdentity.

Supported API: false

Parameters:
a_ConceptIdentity -

getVersionIdentity

protected DisplayIdentity getVersionIdentity()
Gets the value of the attribute: versionIdentity.

Supported API: false

Returns:
DisplayIdentity

setVersionIdentity

protected void setVersionIdentity(DisplayIdentity a_VersionIdentity)
Sets the value of the attribute: versionIdentity.

Supported API: false

Parameters:
a_VersionIdentity -

initializeConceptIdentity

protected abstract void initializeConceptIdentity(Object object)
Initialize the identity for the concept portion of the object.

Supported API: true

Parameters:
object -

initializeVersionIdentity

protected abstract void initializeVersionIdentity(Object object)
Initialize the identity for the version portion of the object.

Supported API: true

Parameters:
object -

getDisplayIdentity

public DisplayIdentity getDisplayIdentity()


Supported API: false

Specified by:
getDisplayIdentity in interface DisplayIdentification
Overrides:
getDisplayIdentity in class DisplayIdentificationStandardDelegate
Returns:
DisplayIdentity