wt.csm.ranking.literanking
Class RankingDataDefaultView

java.lang.Object
  extended bywt.lite.AbstractLiteObject
      extended bywt.csm.ranking.literanking.RankingDataDefaultView
All Implemented Interfaces:
Cloneable, CloneUpdateable, Externalizable, InnerObjectState, Liteable, LiteIBAReferenceable, LocalizedStringDisplayable, Serializable

public class RankingDataDefaultView
extends AbstractLiteObject
implements InnerObjectState, CloneUpdateable, LiteIBAReferenceable, Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  RankingContextDefaultView context
           
private  DeepCloneable data
           
private static boolean debug
           
static long EXTERNALIZATION_VERSION_UID
           
private  IBAHolder holder
           
private  String IBAReferenceableDisplayString
           
private  int key
           
private  ClassificationNodeNodeView node
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private  int state
           
 
Fields inherited from class wt.lite.AbstractLiteObject
ILLEGAL_ACCESS, SERVER
 
Fields inherited from interface wt.lite.InnerObjectState
CHANGED_STATE, DELETED_STATE, KEY, NEW_STATE, STATE, UNCHANGED_STATE, UNINITIALIZED_STATE
 
Fields inherited from interface wt.lite.Liteable
UPDATE_COUNT
 
Constructor Summary
RankingDataDefaultView()
          

Supported API: false
RankingDataDefaultView(int updateCount, ObjectIdentifier objectID, DeepCloneable data, RankingContextDefaultView context, IBAHolder holder, ClassificationNodeNodeView node)
          

Supported API: false
RankingDataDefaultView(RankingContextDefaultView context, IBAHolder holder, ClassificationNodeNodeView node)
          

Supported API: false
 
Method Summary
 Object clone()
          

Supported API: false
 RankingContextDefaultView getContext()
          Gets the object for the association that plays role: context.
 DeepCloneable getData()
          Gets the value of the attribute: data.
 IBAHolder getHolder()
          Gets the value of the attribute: holder.
 String getIBAReferenceableDisplayString()
          

Supported API: false
 int getKey()
          Gets the value of the attribute: key.
 String getLocalizedDisplayString()
          

Supported API: false
 ClassificationNodeNodeView getNode()
          Gets the object for the association that plays role: node.
 AbstractLiteObject getReferencedLiteObject()
          

Supported API: false
 String getReferenceID()
          

Supported API: false
 int getState()
          Gets the value of the attribute: state.
 boolean isDirty()
          

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(RankingDataDefaultView thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setContext(RankingContextDefaultView a_Context)
          Sets the object for the association that plays role: context.
 void setData(DeepCloneable a_Data)
          Sets the value of the attribute: data.
 void setHolder(IBAHolder a_Holder)
          Sets the value of the attribute: holder.
 void setIBAReferenceableDisplayString(String IBARefString)
          

Supported API: false
 void setKey(int a_Key)
          Sets the value of the attribute: key.
 void setNode(ClassificationNodeNodeView a_Node)
          Sets the object for the association that plays role: node.
 void setState(int a_State)
          Sets the value of the attribute: state.
protected  void setStateDirty()
          

Supported API: false
 String toString()
          Used for debug purpose
 void update(CloneUpdateable clone)
          update the values from 'clone' into self.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
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, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

data

private DeepCloneable data

holder

private IBAHolder holder

context

private RankingContextDefaultView context

node

private ClassificationNodeNodeView node

state

private int state

key

private int key

IBAReferenceableDisplayString

private String IBAReferenceableDisplayString

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

debug

private static final boolean debug
Constructor Detail

RankingDataDefaultView

public RankingDataDefaultView(RankingContextDefaultView context,
                              IBAHolder holder,
                              ClassificationNodeNodeView node)


Supported API: false

Parameters:
context -
holder -
node -

RankingDataDefaultView

public RankingDataDefaultView()


Supported API: false


RankingDataDefaultView

public RankingDataDefaultView(int updateCount,
                              ObjectIdentifier objectID,
                              DeepCloneable data,
                              RankingContextDefaultView context,
                              IBAHolder holder,
                              ClassificationNodeNodeView node)
                       throws WTException


Supported API: false

Parameters:
updateCount -
objectID -
data -
context -
holder -
node -
Throws:
WTException
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 AbstractLiteObject
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 AbstractLiteObject
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

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

getData

public DeepCloneable getData()
Gets the value of the attribute: data.

Supported API: false

Returns:
DeepCloneable

setData

public void setData(DeepCloneable a_Data)
Sets the value of the attribute: data.

Supported API: false

Parameters:
a_Data -

getHolder

public IBAHolder getHolder()
Gets the value of the attribute: holder.

Supported API: false

Returns:
IBAHolder

setHolder

public void setHolder(IBAHolder a_Holder)
Sets the value of the attribute: holder.

Supported API: false

Parameters:
a_Holder -

getContext

public RankingContextDefaultView getContext()
Gets the object for the association that plays role: context.

Supported API: false

Returns:
RankingContextDefaultView

setContext

public void setContext(RankingContextDefaultView a_Context)
Sets the object for the association that plays role: context.

Supported API: false

Parameters:
a_Context -

getNode

public ClassificationNodeNodeView getNode()
Gets the object for the association that plays role: node.

Supported API: false

Returns:
ClassificationNodeNodeView

setNode

public void setNode(ClassificationNodeNodeView a_Node)
Sets the object for the association that plays role: node.

Supported API: false

Parameters:
a_Node -

clone

public Object clone()


Supported API: false

Specified by:
clone in interface LiteIBAReferenceable
Overrides:
clone in class AbstractLiteObject
Returns:
Object

getLocalizedDisplayString

public String getLocalizedDisplayString()


Supported API: false

Specified by:
getLocalizedDisplayString in interface LocalizedStringDisplayable
Overrides:
getLocalizedDisplayString in class AbstractLiteObject
Returns:
String

getState

public int getState()
Gets the value of the attribute: state.

Supported API: false

Specified by:
getState in interface InnerObjectState
Returns:
int

setState

public void setState(int a_State)
              throws WTPropertyVetoException
Sets the value of the attribute: state.

Supported API: false

Specified by:
setState in interface InnerObjectState
Parameters:
a_State -
Throws:
WTPropertyVetoException

getKey

public int getKey()
Gets the value of the attribute: key.

Supported API: false

Specified by:
getKey in interface InnerObjectState
Returns:
int

setKey

public void setKey(int a_Key)
            throws WTPropertyVetoException
Sets the value of the attribute: key.

Supported API: false

Specified by:
setKey in interface InnerObjectState
Parameters:
a_Key -
Throws:
WTPropertyVetoException

setStateDirty

protected void setStateDirty()


Supported API: false


isDirty

public boolean isDirty()


Supported API: false

Specified by:
isDirty in interface InnerObjectState
Returns:
boolean

update

public void update(CloneUpdateable clone)
            throws WTException
update the values from 'clone' into self.

Supported API: false

Specified by:
update in interface CloneUpdateable
Parameters:
clone -
Throws:
WTException

getIBAReferenceableDisplayString

public String getIBAReferenceableDisplayString()


Supported API: false

Specified by:
getIBAReferenceableDisplayString in interface LiteIBAReferenceable
Returns:
String

setIBAReferenceableDisplayString

public void setIBAReferenceableDisplayString(String IBARefString)


Supported API: false

Specified by:
setIBAReferenceableDisplayString in interface LiteIBAReferenceable
Parameters:
IBARefString -

getReferencedLiteObject

public AbstractLiteObject getReferencedLiteObject()


Supported API: false

Specified by:
getReferencedLiteObject in interface LiteIBAReferenceable
Returns:
AbstractLiteObject

getReferenceID

public String getReferenceID()


Supported API: false

Specified by:
getReferenceID in interface LiteIBAReferenceable
Returns:
String

toString

public String toString()
Used for debug purpose