wt.iba.definition.litedefinition
Class AbstractAttributeDefinizerView

java.lang.Object
  extended bywt.lite.AbstractLiteObject
      extended bywt.iba.definition.litedefinition.AbstractAttributeDefinizerView
All Implemented Interfaces:
Cloneable, Externalizable, Liteable, LocalizedStringDisplayable, Serializable
Direct Known Subclasses:
AbstractAttributeDefinizerDefaultView, AbstractAttributeDefinizerNodeView

public abstract class AbstractAttributeDefinizerView
extends AbstractLiteObject
implements Externalizable

Abstract class for Attribute Definition and Organizer. The term in the middle, "Definizer" is a concatenation of part of the words "Definition" and "Organizer".

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  String description
           
static long EXTERNALIZATION_VERSION_UID
           
private  String hierarchyDisplayName
           
private  String name
           
protected static long OLD_FORMAT_VERSION_UID
           
private  ObjectIdentifier parentObjectID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Fields inherited from class wt.lite.AbstractLiteObject
ILLEGAL_ACCESS, SERVER
 
Fields inherited from interface wt.lite.Liteable
UPDATE_COUNT
 
Constructor Summary
AbstractAttributeDefinizerView()
          

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

Supported API: false
AbstractAttributeDefinizerView(int updateCount, String name, String hierarchyDisplayName, ObjectIdentifier objectID, ObjectIdentifier parentObjectID)
          

Supported API: false
 
Method Summary
 Object clone()
          

Supported API: false
private  void descriptionValidate(String a_Description)
           
 String getDescription()
          Gets the value of the attribute: description.
 String getHierarchyDisplayName()
          Gets the value of the attribute: hierarchyDisplayName.
 String getLocalizedDisplayString()
          

Supported API: false
 String getName()
          Gets the value of the attribute: name.
 ObjectIdentifier getParentObjectID()
          Gets the object for the association that plays role: parentObjectID.
private  void hierarchyDisplayNameValidate(String a_HierarchyDisplayName)
           
 boolean isParentOf(AbstractAttributeDefinizerView child)
          Checks if this node is the parent of the given node.
 boolean isRoot()
          Check if the node is a root node

Supported API: false
private  void nameValidate(String a_Name)
           
 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(AbstractAttributeDefinizerView thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setDescription(String a_Description)
          Sets the value of the attribute: description.
 void setHierarchyDisplayName(String a_HierarchyDisplayName)
          Sets the value of the attribute: hierarchyDisplayName.
 void setName(String a_Name)
          Sets the value of the attribute: name.
 void setParentObjectID(ObjectIdentifier a_ParentObjectID)
          Sets the object for the association that plays role: parentObjectID.
 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, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

name

private String name

description

private String description

hierarchyDisplayName

private String hierarchyDisplayName

parentObjectID

private ObjectIdentifier parentObjectID

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

AbstractAttributeDefinizerView

public AbstractAttributeDefinizerView()


Supported API: false


AbstractAttributeDefinizerView

public AbstractAttributeDefinizerView(int updateCount,
                                      String name,
                                      ObjectIdentifier objectID,
                                      ObjectIdentifier parentObjectID)
                               throws WTException


Supported API: false

Parameters:
updateCount -
name -
objectID -
parentObjectID -
Throws:
WTException

AbstractAttributeDefinizerView

public AbstractAttributeDefinizerView(int updateCount,
                                      String name,
                                      String hierarchyDisplayName,
                                      ObjectIdentifier objectID,
                                      ObjectIdentifier parentObjectID)
                               throws WTException


Supported API: false

Parameters:
updateCount -
name -
hierarchyDisplayName -
objectID -
parentObjectID -
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(AbstractAttributeDefinizerView 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

getName

public String getName()
Gets the value of the attribute: name.

Supported API: false

Returns:
String

setName

public void setName(String a_Name)
             throws WTPropertyVetoException
Sets the value of the attribute: name.

Supported API: false

Parameters:
a_Name -
Throws:
WTPropertyVetoException

nameValidate

private void nameValidate(String a_Name)
                   throws WTPropertyVetoException
Parameters:
a_Name -
Throws:
WTPropertyVetoException

getDescription

public String getDescription()
Gets the value of the attribute: description.

Supported API: false

Returns:
String

setDescription

public void setDescription(String a_Description)
                    throws WTPropertyVetoException
Sets the value of the attribute: description.

Supported API: false

Parameters:
a_Description -
Throws:
WTPropertyVetoException

descriptionValidate

private void descriptionValidate(String a_Description)
                          throws WTPropertyVetoException
Parameters:
a_Description -
Throws:
WTPropertyVetoException

getHierarchyDisplayName

public String getHierarchyDisplayName()
Gets the value of the attribute: hierarchyDisplayName.

Supported API: false

Returns:
String

setHierarchyDisplayName

public void setHierarchyDisplayName(String a_HierarchyDisplayName)
                             throws WTPropertyVetoException
Sets the value of the attribute: hierarchyDisplayName.

Supported API: false

Parameters:
a_HierarchyDisplayName -
Throws:
WTPropertyVetoException

hierarchyDisplayNameValidate

private void hierarchyDisplayNameValidate(String a_HierarchyDisplayName)
                                   throws WTPropertyVetoException
Parameters:
a_HierarchyDisplayName -
Throws:
WTPropertyVetoException

getParentObjectID

public ObjectIdentifier getParentObjectID()
Gets the object for the association that plays role: parentObjectID.

Supported API: false

Returns:
ObjectIdentifier

setParentObjectID

public void setParentObjectID(ObjectIdentifier a_ParentObjectID)
                       throws WTPropertyVetoException
Sets the object for the association that plays role: parentObjectID.

Supported API: false

Parameters:
a_ParentObjectID -
Throws:
WTPropertyVetoException

isParentOf

public boolean isParentOf(AbstractAttributeDefinizerView child)
Checks if this node is the parent of the given node.

Supported API: false

Parameters:
child -
Returns:
boolean

isRoot

public boolean isRoot()
Check if the node is a root node

Supported API: false

Returns:
boolean

clone

public Object clone()


Supported API: false

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