wt.csm.navigation.litenavigation
Class AbstractNodeNodeView

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

public abstract class AbstractNodeNodeView
extends AbstractNodeView
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 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
AbstractNodeNodeView()
          

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

Supported API: false
AbstractNodeNodeView(String name)
          

Supported API: false
 
Method Summary
 Object clone()
          

Supported API: false
abstract  String getLocalizedDisplayString()
          

Supported API: false
 boolean isDirty()
          

Supported API: false
abstract  boolean isParentOf(AbstractNodeNodeView childNode)
          

Supported API: false
abstract  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(AbstractNodeNodeView thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
protected  void setStateDirty()
          

Supported API: false
 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.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

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

AbstractNodeNodeView

public AbstractNodeNodeView(String name)
                     throws CSMClassificationNavigationException


Supported API: false

Parameters:
name -
Throws:
CSMClassificationNavigationException

AbstractNodeNodeView

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


Supported API: false

Parameters:
updateCount -
objectID -
name -
Throws:
CSMClassificationNavigationException

AbstractNodeNodeView

public AbstractNodeNodeView()


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

readVersion

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

setStateDirty

protected void setStateDirty()


Supported API: false

Overrides:
setStateDirty in class AbstractNodeView

isDirty

public boolean isDirty()


Supported API: false

Specified by:
isDirty in interface InnerObjectState
Overrides:
isDirty in class AbstractNodeView
Returns:
boolean

clone

public Object clone()


Supported API: false

Overrides:
clone in class AbstractNodeView
Returns:
Object

isParentOf

public abstract boolean isParentOf(AbstractNodeNodeView childNode)


Supported API: false

Parameters:
childNode -
Returns:
boolean

isRoot

public abstract boolean isRoot()


Supported API: false

Returns:
boolean

update

public void update(CloneUpdateable clone)
            throws WTException


Supported API: false

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

getLocalizedDisplayString

public abstract String getLocalizedDisplayString()


Supported API: false

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