wt.fc
Class LinkVector

java.lang.Object
  extended bywt.fc.BasicObjectVector
      extended bywt.fc.ObjectVector
          extended bywt.fc.LinkVector
All Implemented Interfaces:
Externalizable, ObjectVectorIfc, ResultProcessor, Serializable

public class LinkVector
extends ObjectVector
implements Externalizable

See Also:
Serialized Form

Field Summary
private static long EXTERNALIZATION_VERSION_UID
           
private  boolean onlyOtherSide
           
private  Map referenceMap
           
private  LinkRoleIndicator roleIndicator
           
private  Object source
           
 
Fields inherited from class wt.fc.ObjectVector
OLD_FORMAT_VERSION_UID, serialVersionUID
 
Fields inherited from class wt.fc.BasicObjectVector
R51_FORMAT_VERSION_UID, R7_FORMAT_VERSION_UID, typedVector
 
Constructor Summary
LinkVector()
           
LinkVector(Object a_source, boolean a_onlyOtherSide, boolean isOtherSideRoleA)
           
LinkVector(Object a_source, boolean a_onlyOtherSide, LinkRoleIndicator a_roleIndicator)
           
 
Method Summary
 void addElement(Object anElement)
          

Supported API: false
(package private) static Map buildReferenceMap(WTCollection c)
           
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  void setRole(BinaryLink a_link)
           
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class wt.fc.ObjectVector
makeNonPersistent, readVersion, removeElement
 
Methods inherited from class wt.fc.BasicObjectVector
append, contains, elements, firstElement, getVector, isEmpty, lastElement, prepareForExternalization, readVersion, removeAllElements, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

private Object source

onlyOtherSide

private boolean onlyOtherSide

roleIndicator

private LinkRoleIndicator roleIndicator

referenceMap

private transient Map referenceMap

EXTERNALIZATION_VERSION_UID

private static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

LinkVector

public LinkVector()

LinkVector

public LinkVector(Object a_source,
                  boolean a_onlyOtherSide,
                  LinkRoleIndicator a_roleIndicator)

LinkVector

public LinkVector(Object a_source,
                  boolean a_onlyOtherSide,
                  boolean isOtherSideRoleA)
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Description copied from class: ObjectVector
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 ObjectVector
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Description copied from class: ObjectVector
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 ObjectVector
Parameters:
input -
Throws:
ClassNotFoundException
IOException

addElement

public void addElement(Object anElement)
Description copied from class: ObjectVector


Supported API: false

Specified by:
addElement in interface ResultProcessor
Overrides:
addElement in class ObjectVector
Parameters:
anElement -

setRole

private void setRole(BinaryLink a_link)

buildReferenceMap

static Map buildReferenceMap(WTCollection c)