com.wm.app.tn.doc
Class BizDocRelationship

java.lang.Object
  extended by com.wm.app.tn.util.TNFixedData
      extended by com.wm.app.tn.doc.BizDocRelationship
All Implemented Interfaces:
com.wm.data.IData, java.lang.Cloneable

public class BizDocRelationship
extends TNFixedData

Represents a relationship from one doc to another. These are directed (i.e. one-way) relationships with a simple string (e.g. "RESPONSE") to indicate the nature of the relationship. They must be created on an instance of BizDocEnvelope (q.v.)


Nested Class Summary
 
Nested classes/interfaces inherited from class com.wm.app.tn.util.TNFixedData
TNFixedData.TreeCursor
 
Constructor Summary
BizDocRelationship(java.lang.String from, java.lang.String to, java.lang.String rel)
          For internal use only
 
Method Summary
static BizDocRelationship[] addRelationship(BizDocRelationship[] ary, BizDocRelationship rel)
          For internal use only
static com.wm.data.IData create()
          For internal use only
 java.lang.String getFrom()
           
 java.lang.String getRelationship()
           
 java.lang.String getTo()
           
 void setFrom(java.lang.String from)
          For internal use only
 void setTo(java.lang.String to)
          For internal use only
 
Methods inherited from class com.wm.app.tn.util.TNFixedData
clone, dataSize, get, get, getCursor, getHashCursor, getIndexCursor, getKey, getSharedCursor, getTreeCursor, indexOf, merge, set, set, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BizDocRelationship

public BizDocRelationship(java.lang.String from,
                          java.lang.String to,
                          java.lang.String rel)
For internal use only

Method Detail

getFrom

public java.lang.String getFrom()
Returns:
the originating document in the relationship

getTo

public java.lang.String getTo()
Returns:
the target document in the relationship

getRelationship

public java.lang.String getRelationship()
Returns:
the type of relationship

setFrom

public void setFrom(java.lang.String from)
For internal use only


setTo

public void setTo(java.lang.String to)
For internal use only


create

public static com.wm.data.IData create()
For internal use only


addRelationship

public static BizDocRelationship[] addRelationship(BizDocRelationship[] ary,
                                                   BizDocRelationship rel)
For internal use only