wt.csm.navigation.litenavigation
Class ClassificationNodeDefaultView

java.lang.Object
  extended bywt.lite.AbstractLiteObject
      extended bywt.csm.navigation.litenavigation.AbstractNodeView
          extended bywt.csm.navigation.litenavigation.AbstractNodeDefaultView
              extended bywt.csm.navigation.litenavigation.ClassificationNodeDefaultView
All Implemented Interfaces:
Cloneable, CloneUpdateable, CSMReferenceable, Externalizable, IBAHolder, InnerObjectState, Liteable, LiteIBAReferenceable, LocalizedStringDisplayable, Serializable

public class ClassificationNodeDefaultView
extends AbstractNodeDefaultView
implements LiteIBAReferenceable, IBAHolder, CSMReferenceable, Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  String counterpartID
           
static long EXTERNALIZATION_VERSION_UID
           
private  String hierarchyID
           
private  String IBAReferenceableDisplayString
           
protected static long OLD_FORMAT_VERSION_UID
           
private  ObjectIdentifier parentID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private  AttributeContainer theAttributeContainer
           
private  Vector theCSMConstraint
           
 
Fields inherited from class wt.csm.navigation.litenavigation.AbstractNodeDefaultView
 
Fields inherited from class wt.csm.navigation.litenavigation.AbstractNodeView
 
Fields inherited from class wt.lite.AbstractLiteObject
ILLEGAL_ACCESS, SERVER
 
Fields inherited from interface wt.iba.value.IBAHolder
ATTRIBUTE_CONTAINER
 
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
ClassificationNodeDefaultView()
          

Supported API: false
ClassificationNodeDefaultView(int updateCount, ObjectIdentifier objectID, String name, ObjectIdentifier parent, String IBAReferenceableDisplayString, String hierarchyID)
          

Supported API: false
ClassificationNodeDefaultView(int updateCount, ObjectIdentifier objectID, String name, ObjectIdentifier parent, String IBAReferenceableDisplayString, String hierarchyID, String counterpartID)
          Added to manage the counterpartID field which is used by the R7 CounterPartService.
ClassificationNodeDefaultView(String name, ObjectIdentifier parent)
          

Supported API: false
 
Method Summary
 void addCSMAttributeConstraint(AbstractCSMAttributeConstraintView constraint)
          

Supported API: false
 Object clone()
          

Supported API: false
protected  AbstractCSMAttributeConstraintView cloneCSMConstraint(AbstractCSMAttributeConstraintView a_constraint)
           
private  void counterpartIDValidate(String a_CounterpartID)
           
 void deleteCSMAttributeConstraint(AbstractCSMAttributeConstraintView constraint)
          

Supported API: false
 AttributeContainer getAttributeContainer()
          Gets the object for the association that plays role: theAttributeContainer.
 String getCounterpartID()
          Gets the value of the attribute: counterpartID; [Replacing internalID from R6.] see definition of counterpartID in wt.csm.navigation.ClassificationNode

Supported API: false
 AbstractCSMAttributeConstraintView[] getCSMAttributeConstraints()
          

Supported API: false
 Vector getCSMConstraint()
          Gets the object for the association that plays role: theCSMConstraint.
 AbstractCSMAttributeConstraintView[] getDeletedCSMAttributeConstraints()
          

Supported API: false
 String getHierarchyID()
          Gets the value of the attribute: hierarchyID.
 String getIBAReferenceableDisplayString()
          

Supported API: false
 String getLocalizedDisplayString()
          

Supported API: false
 AbstractCSMAttributeConstraintView[] getNewCSMAttributeConstraints()
          

Supported API: false
 ObjectIdentifier getParentID()
          Gets the object for the association that plays role: parentID.
 AbstractLiteObject getReferencedLiteObject()
          

Supported API: false
 String getReferenceID()
          

Supported API: false
private  void hierarchyIDValidate(String a_HierarchyID)
           
 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(ClassificationNodeDefaultView thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
protected  void replaceCSMConstraint(AbstractCSMAttributeConstraintView a_constraint)
           
 void setAttributeContainer(AttributeContainer a_AttributeContainer)
          Sets the object for the association that plays role: theAttributeContainer.
 void setCounterpartID(String a_CounterpartID)
          Sets the value of the attribute: counterpartID; [Replacing internalID from R6.] see definition of counterpartID in wt.csm.navigation.ClassificationNode

Supported API: false
 void setCSMConstraint(Vector a_CSMConstraint)
          Sets the object for the association that plays role: theCSMConstraint.
 void setHierarchyID(String a_HierarchyID)
          Sets the value of the attribute: hierarchyID.
 void setIBAReferenceableDisplayString(String IBARefString)
          

Supported API: false
 void setParent(ClassificationNodeDefaultView parent)
          

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

Supported API: false
 void update(CloneUpdateable clone)
          

Supported API: false
protected  void updateCSMConstraint(AbstractCSMAttributeConstraintView copyTo, AbstractCSMAttributeConstraintView copyFrom)
           
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class wt.csm.navigation.litenavigation.AbstractNodeDefaultView
addNodeQueryForm, cloneNodeQueryForm, deleteNodeQueryForm, getChangedNodeQueryForms, getDeletedNodeQueryForms, getNewNodeQueryForms, getNodeQueryForm, getNodeQueryFormDefaultView, getQueryForm, isDirty, readVersion, replaceNodeQueryForm, setNodeQueryFormDefaultView, setStateDirty, updateNodeQueryForm, updateNodeQueryForm
 
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

hierarchyID

private String hierarchyID

counterpartID

private String counterpartID

parentID

private ObjectIdentifier parentID

theCSMConstraint

private Vector theCSMConstraint

IBAReferenceableDisplayString

private String IBAReferenceableDisplayString

theAttributeContainer

private AttributeContainer theAttributeContainer

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

ClassificationNodeDefaultView

public ClassificationNodeDefaultView()


Supported API: false


ClassificationNodeDefaultView

public ClassificationNodeDefaultView(String name,
                                     ObjectIdentifier parent)
                              throws CSMClassificationNavigationException


Supported API: false

Parameters:
name -
parent -
Throws:
CSMClassificationNavigationException

ClassificationNodeDefaultView

public ClassificationNodeDefaultView(int updateCount,
                                     ObjectIdentifier objectID,
                                     String name,
                                     ObjectIdentifier parent,
                                     String IBAReferenceableDisplayString,
                                     String hierarchyID)
                              throws CSMClassificationNavigationException


Supported API: false

Parameters:
updateCount -
objectID -
name -
parent -
IBAReferenceableDisplayString -
hierarchyID -
Throws:
CSMClassificationNavigationException

ClassificationNodeDefaultView

public ClassificationNodeDefaultView(int updateCount,
                                     ObjectIdentifier objectID,
                                     String name,
                                     ObjectIdentifier parent,
                                     String IBAReferenceableDisplayString,
                                     String hierarchyID,
                                     String counterpartID)
                              throws CSMClassificationNavigationException
Added to manage the counterpartID field which is used by the R7 CounterPartService.

Supported API: false

Parameters:
updateCount -
objectID -
name -
parent -
IBAReferenceableDisplayString -
hierarchyID -
counterpartID -
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 AbstractNodeDefaultView
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 AbstractNodeDefaultView
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

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

getHierarchyID

public String getHierarchyID()
Gets the value of the attribute: hierarchyID.

Supported API: false

Specified by:
getHierarchyID in interface CSMReferenceable
Returns:
String

setHierarchyID

public void setHierarchyID(String a_HierarchyID)
                    throws WTPropertyVetoException
Sets the value of the attribute: hierarchyID.

Supported API: false

Parameters:
a_HierarchyID -
Throws:
WTPropertyVetoException

hierarchyIDValidate

private void hierarchyIDValidate(String a_HierarchyID)
                          throws WTPropertyVetoException
Parameters:
a_HierarchyID -
Throws:
WTPropertyVetoException

getCounterpartID

public String getCounterpartID()
Gets the value of the attribute: counterpartID; [Replacing internalID from R6.] see definition of counterpartID in wt.csm.navigation.ClassificationNode

Supported API: false

Returns:
String

setCounterpartID

public void setCounterpartID(String a_CounterpartID)
                      throws WTPropertyVetoException
Sets the value of the attribute: counterpartID; [Replacing internalID from R6.] see definition of counterpartID in wt.csm.navigation.ClassificationNode

Supported API: false

Parameters:
a_CounterpartID -
Throws:
WTPropertyVetoException

counterpartIDValidate

private void counterpartIDValidate(String a_CounterpartID)
                            throws WTPropertyVetoException
Parameters:
a_CounterpartID -
Throws:
WTPropertyVetoException

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

getCSMConstraint

public Vector getCSMConstraint()
Gets the object for the association that plays role: theCSMConstraint.

Supported API: false

Returns:
Vector

setCSMConstraint

public void setCSMConstraint(Vector a_CSMConstraint)
                      throws WTPropertyVetoException
Sets the object for the association that plays role: theCSMConstraint.

Supported API: false

Parameters:
a_CSMConstraint -
Throws:
WTPropertyVetoException

clone

public Object clone()


Supported API: false

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

setParent

public void setParent(ClassificationNodeDefaultView 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 AbstractNodeDefaultView
Parameters:
clone -
Throws:
WTException

addCSMAttributeConstraint

public void addCSMAttributeConstraint(AbstractCSMAttributeConstraintView constraint)
                               throws CSMClassificationNavigationException


Supported API: false

Parameters:
constraint -
Throws:
CSMClassificationNavigationException

deleteCSMAttributeConstraint

public void deleteCSMAttributeConstraint(AbstractCSMAttributeConstraintView constraint)
                                  throws CSMClassificationNavigationException


Supported API: false

Parameters:
constraint -
Throws:
CSMClassificationNavigationException

getCSMAttributeConstraints

public AbstractCSMAttributeConstraintView[] getCSMAttributeConstraints()
                                                                throws CSMClassificationNavigationException


Supported API: false

Returns:
AbstractCSMAttributeConstraintView []
Throws:
CSMClassificationNavigationException

getDeletedCSMAttributeConstraints

public AbstractCSMAttributeConstraintView[] getDeletedCSMAttributeConstraints()
                                                                       throws CSMClassificationNavigationException


Supported API: false

Returns:
AbstractCSMAttributeConstraintView[]
Throws:
CSMClassificationNavigationException

getNewCSMAttributeConstraints

public AbstractCSMAttributeConstraintView[] getNewCSMAttributeConstraints()
                                                                   throws CSMClassificationNavigationException


Supported API: false

Returns:
AbstractCSMAttributeConstraintView[]
Throws:
CSMClassificationNavigationException

toAbstractNodeNodeView

public AbstractNodeNodeView toAbstractNodeNodeView()
                                            throws CSMClassificationNavigationException


Supported API: false

Specified by:
toAbstractNodeNodeView in class AbstractNodeDefaultView
Returns:
AbstractNodeNodeView
Throws:
CSMClassificationNavigationException

getLocalizedDisplayString

public String getLocalizedDisplayString()


Supported API: false

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

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

getAttributeContainer

public AttributeContainer getAttributeContainer()
Gets the object for the association that plays role: theAttributeContainer.

Supported API: false

Specified by:
getAttributeContainer in interface IBAHolder
Returns:
AttributeContainer

setAttributeContainer

public void setAttributeContainer(AttributeContainer a_AttributeContainer)
Sets the object for the association that plays role: theAttributeContainer.

Supported API: false

Specified by:
setAttributeContainer in interface IBAHolder
Parameters:
a_AttributeContainer -

cloneCSMConstraint

protected AbstractCSMAttributeConstraintView cloneCSMConstraint(AbstractCSMAttributeConstraintView a_constraint)

replaceCSMConstraint

protected void replaceCSMConstraint(AbstractCSMAttributeConstraintView a_constraint)
                             throws WTException
Throws:
WTException

updateCSMConstraint

protected void updateCSMConstraint(AbstractCSMAttributeConstraintView copyTo,
                                   AbstractCSMAttributeConstraintView copyFrom)
                            throws WTException
Throws:
WTException