|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.lite.AbstractLiteObject
wt.iba.definition.litedefinition.AbstractAttributeDefinizerView
wt.iba.definition.litedefinition.AbstractAttributeDefinizerNodeView
Abstract class for Attribute Definition and Organizer Nodes. The term
in the middle, "Definizer" is a juxtaposition of part of the words "Definition"
and "Organizer".
This class represents the node abstraction of the attribute organizer
and definition hierarchy. The children and parent attributes are made
transient to avoid transporting the entire tree hierachy back and forth
between client and server. For this reason, client programmers must explicitly
set back the parent and children attributes to the returned object when
calling update, refresh, copy operations. See examples on these methods
in IBAService.
Supported API: false
Extendable: false
Field Summary | |
private Vector |
children
|
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private Object |
lock
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private AbstractAttributeDefinizerNodeView |
parent
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Fields inherited from class wt.iba.definition.litedefinition.AbstractAttributeDefinizerView |
|
Fields inherited from class wt.lite.AbstractLiteObject |
ILLEGAL_ACCESS, SERVER |
Fields inherited from interface wt.lite.Liteable |
UPDATE_COUNT |
Constructor Summary | |
AbstractAttributeDefinizerNodeView()
Supported API: false |
|
AbstractAttributeDefinizerNodeView(int updateCount,
String name,
ObjectIdentifier objectID,
ObjectIdentifier parentObjectID)
Supported API: false |
|
AbstractAttributeDefinizerNodeView(int updateCount,
String name,
String hierarchyDisplayName,
ObjectIdentifier objectID,
ObjectIdentifier parentObjectID)
Supported API: false |
Method Summary | |
void |
addChild(AbstractAttributeDefinizerNodeView child)
Adds an node as a child of the current node. |
Object |
clone()
Supported API: false |
Vector |
getChildren()
Gets the value of the attribute: children; Internal storage of children Supported API: false |
AbstractAttributeDefinizerNodeView |
getParent()
Gets the value of the attribute: parent; Th setParent method does the followings: 1. |
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(AbstractAttributeDefinizerNodeView thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
removeChild(AbstractAttributeDefinizerNodeView child)
Removes the given child node from the current node. |
void |
setChildren(Vector a_Children)
Sets the value of the attribute: children; Internal storage of children Supported API: false |
void |
setParent(AbstractAttributeDefinizerNodeView a_Parent)
Sets the value of the attribute: parent; Th setParent method does the followings: 1. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.iba.definition.litedefinition.AbstractAttributeDefinizerView |
getDescription, getHierarchyDisplayName, getLocalizedDisplayString, getName, getParentObjectID, isParentOf, isRoot, readVersion, setDescription, setHierarchyDisplayName, setName, setParentObjectID |
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 |
private static final String RESOURCE
private static final String CLASSNAME
private transient Vector children
private transient AbstractAttributeDefinizerNodeView parent
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private Object lock
Constructor Detail |
public AbstractAttributeDefinizerNodeView()
public AbstractAttributeDefinizerNodeView(int updateCount, String name, ObjectIdentifier objectID, ObjectIdentifier parentObjectID) throws WTException
updateCount
- name
- objectID
- parentObjectID
-
WTException
public AbstractAttributeDefinizerNodeView(int updateCount, String name, String hierarchyDisplayName, ObjectIdentifier objectID, ObjectIdentifier parentObjectID) throws WTException
updateCount
- name
- hierarchyDisplayName
- objectID
- parentObjectID
-
WTException
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractAttributeDefinizerView
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractAttributeDefinizerView
input
-
IOException
ClassNotFoundException
protected boolean readVersion(AbstractAttributeDefinizerNodeView thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public Vector getChildren()
public void setChildren(Vector a_Children) throws WTPropertyVetoException
a_Children
-
WTPropertyVetoException
public AbstractAttributeDefinizerNodeView getParent()
public void setParent(AbstractAttributeDefinizerNodeView a_Parent) throws WTPropertyVetoException
a_Parent
-
WTPropertyVetoException
public void addChild(AbstractAttributeDefinizerNodeView child)
child
- public void removeChild(AbstractAttributeDefinizerNodeView child)
child
- public Object clone()
clone
in class AbstractAttributeDefinizerView
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |