wt.iba.value.litevalue
Class ReferenceValueDefaultView

java.lang.Object
  extended bywt.lite.AbstractLiteObject
      extended bywt.iba.value.litevalue.AbstractValueView
          extended bywt.iba.value.litevalue.ReferenceValueDefaultView
All Implemented Interfaces:
Cloneable, Externalizable, Liteable, LocalizedStringDisplayable, Serializable

public class ReferenceValueDefaultView
extends AbstractValueView
implements Externalizable

Lightweight version of ReferenceValue class

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
private  LiteIBAReferenceable liteIBAReferenceable
           
protected static long OLD_FORMAT_VERSION_UID
           
private  ReferenceDefView referenceDefinition
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Fields inherited from class wt.iba.value.litevalue.AbstractValueView
CHANGED_STATE, DELETED_STATE, NEW_STATE, UNCHANGED_STATE, UNINITIALIZED_STATE
 
Fields inherited from class wt.lite.AbstractLiteObject
ILLEGAL_ACCESS, SERVER
 
Fields inherited from interface wt.lite.Liteable
UPDATE_COUNT
 
Constructor Summary
ReferenceValueDefaultView()
          

Supported API: false
ReferenceValueDefaultView(ReferenceDefView attributeDefinition)
          

Supported API: false
ReferenceValueDefaultView(ReferenceDefView attributeDefinition, LiteIBAReferenceable value, ObjectIdentifier objectID, int updateCount)
          

Supported API: false
 
Method Summary
 Object clone()
          

Supported API: false
(package private)  LiteIBAReferenceable cloneLiteIBAReferenceable(LiteIBAReferenceable liteRef)
           
 int compareTo(AbstractValueView valueView)
          

Supported API: false
 AttributeDefDefaultView getDefinition()
          

Supported API: false
 LiteIBAReferenceable getLiteIBAReferenceable()
          Gets the object for the association that plays role: liteIBAReferenceable.
 String getLocalizedDisplayString()
          

Supported API: false
 ReferenceDefView getReferenceDefinition()
          Gets the value of the attribute: referenceDefinition.
 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(ReferenceValueDefaultView thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setLiteIBAReferenceable(LiteIBAReferenceable a_LiteIBAReferenceable)
          Sets the object for the association that plays role: liteIBAReferenceable.
 void setReferenceDefinition(ReferenceDefView a_ReferenceDefinition)
          Sets the value of the attribute: referenceDefinition.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class wt.iba.value.litevalue.AbstractValueView
getKey, getLocalizedDisplayString, getState, readVersion, setKey, setState, setStateAsDeleted, setStateDirty
 
Methods inherited from class wt.lite.AbstractLiteObject
compareUpdateCount, getHeavyObjectClassname, getObjectID, getUpdateCount, isPersistedObjectEqual, readVersion, setLocalizedDisplayString, setObjectID, setUpdateCount
 
Methods inherited from class java.lang.Object
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

referenceDefinition

private ReferenceDefView referenceDefinition

liteIBAReferenceable

private LiteIBAReferenceable liteIBAReferenceable

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

ReferenceValueDefaultView

public ReferenceValueDefaultView(ReferenceDefView attributeDefinition,
                                 LiteIBAReferenceable value,
                                 ObjectIdentifier objectID,
                                 int updateCount)
                          throws IBAValueException


Supported API: false

Parameters:
attributeDefinition -
value -
objectID -
updateCount -
Throws:
IBAValueException

ReferenceValueDefaultView

public ReferenceValueDefaultView(ReferenceDefView attributeDefinition)
                          throws IBAValueException


Supported API: false

Parameters:
attributeDefinition -
Throws:
IBAValueException

ReferenceValueDefaultView

public ReferenceValueDefaultView()


Supported API: false

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 AbstractValueView
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 AbstractValueView
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(ReferenceValueDefaultView 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

getReferenceDefinition

public ReferenceDefView getReferenceDefinition()
Gets the value of the attribute: referenceDefinition.

Supported API: false

Returns:
ReferenceDefView

setReferenceDefinition

public void setReferenceDefinition(ReferenceDefView a_ReferenceDefinition)
                            throws WTPropertyVetoException
Sets the value of the attribute: referenceDefinition.

Supported API: false

Parameters:
a_ReferenceDefinition -
Throws:
WTPropertyVetoException

getLiteIBAReferenceable

public LiteIBAReferenceable getLiteIBAReferenceable()
Gets the object for the association that plays role: liteIBAReferenceable.

Supported API: false

Returns:
LiteIBAReferenceable

setLiteIBAReferenceable

public void setLiteIBAReferenceable(LiteIBAReferenceable a_LiteIBAReferenceable)
                             throws WTPropertyVetoException
Sets the object for the association that plays role: liteIBAReferenceable.

Supported API: false

Parameters:
a_LiteIBAReferenceable -
Throws:
WTPropertyVetoException

compareTo

public int compareTo(AbstractValueView valueView)
              throws IBAValueException


Supported API: false

Specified by:
compareTo in class AbstractValueView
Parameters:
valueView -
Returns:
int
Throws:
IBAValueException

clone

public Object clone()


Supported API: false

Overrides:
clone in class AbstractValueView
Returns:
Object

getDefinition

public AttributeDefDefaultView getDefinition()


Supported API: false

Specified by:
getDefinition in class AbstractValueView
Returns:
AttributeDefDefaultView

getLocalizedDisplayString

public String getLocalizedDisplayString()


Supported API: false

Specified by:
getLocalizedDisplayString in interface LocalizedStringDisplayable
Specified by:
getLocalizedDisplayString in class AbstractValueView
Returns:
String

cloneLiteIBAReferenceable

LiteIBAReferenceable cloneLiteIBAReferenceable(LiteIBAReferenceable liteRef)