wt.csm.navigation.litenavigation
Class IndependentNodeNodeView

java.lang.Object
  extended bywt.lite.AbstractLiteObject
      extended bywt.csm.navigation.litenavigation.AbstractNodeView
          extended bywt.csm.navigation.litenavigation.AbstractNodeNodeView
              extended bywt.csm.navigation.litenavigation.IndependentNodeNodeView
All Implemented Interfaces:
Cloneable, CloneUpdateable, Externalizable, InnerObjectState, Liteable, LocalizedStringDisplayable, Serializable

public class IndependentNodeNodeView
extends AbstractNodeNodeView
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
protected static long OLD_FORMAT_VERSION_UID
           
private  ObjectIdentifier parentID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Fields inherited from class wt.csm.navigation.litenavigation.AbstractNodeView
 
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
IndependentNodeNodeView()
          

Supported API: false
IndependentNodeNodeView(int updateCount, ObjectIdentifier objectID, String name, ObjectIdentifier parent)
          

Supported API: false
IndependentNodeNodeView(String name, ObjectIdentifier parent)
          

Supported API: false
 
Method Summary
 Object clone()
          

Supported API: false
 String getLocalizedDisplayString()
          

Supported API: false
 ObjectIdentifier getParentID()
          Gets the object for the association that plays role: parentID.
 boolean isParentOf(AbstractNodeNodeView childNode)
          

Supported API: false
 boolean isRoot()
          

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(IndependentNodeNodeView thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setParent(IndependentNodeNodeView parent)
          

Supported API: false
 void setParentID(ObjectIdentifier a_ParentID)
          Sets the object for the association that plays role: parentID.
 void update(CloneUpdateable clone)
          

Supported API: false
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class wt.csm.navigation.litenavigation.AbstractNodeNodeView
isDirty, readVersion, setStateDirty
 
Methods inherited from class wt.csm.navigation.litenavigation.AbstractNodeView
getDescription, getImage, getKey, getName, getState, readVersion, setDescription, setImage, setKey, setName, setState
 
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

parentID

private ObjectIdentifier parentID

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

IndependentNodeNodeView

public IndependentNodeNodeView()


Supported API: false


IndependentNodeNodeView

public IndependentNodeNodeView(String name,
                               ObjectIdentifier parent)
                        throws CSMClassificationNavigationException


Supported API: false

Parameters:
name -
parent -
Throws:
CSMClassificationNavigationException

IndependentNodeNodeView

public IndependentNodeNodeView(int updateCount,
                               ObjectIdentifier objectID,
                               String name,
                               ObjectIdentifier parent)
                        throws CSMClassificationNavigationException


Supported API: false

Parameters:
updateCount -
objectID -
name -
parent -
Throws:
CSMClassificationNavigationException
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 AbstractNodeNodeView
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 AbstractNodeNodeView
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

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

getParentID

public ObjectIdentifier getParentID()
Gets the object for the association that plays role: parentID.

Supported API: false

Returns:
ObjectIdentifier

setParentID

public void setParentID(ObjectIdentifier a_ParentID)
                 throws WTPropertyVetoException
Sets the object for the association that plays role: parentID.

Supported API: false

Parameters:
a_ParentID -
Throws:
WTPropertyVetoException

clone

public Object clone()


Supported API: false

Overrides:
clone in class AbstractNodeNodeView
Returns:
Object

setParent

public void setParent(IndependentNodeNodeView parent)
               throws CSMClassificationNavigationException


Supported API: false

Parameters:
parent -
Throws:
CSMClassificationNavigationException

update

public void update(CloneUpdateable clone)
            throws WTException


Supported API: false

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

isParentOf

public boolean isParentOf(AbstractNodeNodeView childNode)


Supported API: false

Specified by:
isParentOf in class AbstractNodeNodeView
Parameters:
childNode -
Returns:
boolean

isRoot

public boolean isRoot()


Supported API: false

Specified by:
isRoot in class AbstractNodeNodeView
Returns:
boolean

getLocalizedDisplayString

public String getLocalizedDisplayString()


Supported API: false

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