|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.eindex.master.search.merge.MergeHistoryNode
The MergeHistoryNode class helps create a merge history tree (for more information about merge histories, see the Enterprise Data Manager User's Guide). Each merge transaction in the merge history tree is represented by one MergeHistoryNode object. A merge history node includes an EUID, a parent node, a source node, and a destination node. The parent node is the result of the merge; the source node is the record that was not kept after the merge; and the destination node is the record that was kept after the merge.
Constructor Summary | |
MergeHistoryNode()
Creates an instance of the MergeHistoryNode class. |
|
MergeHistoryNode(java.lang.String destEUID,
java.lang.String sourceEUID)
Creates an instance of the MergeHistoryNode class. |
Method Summary | |
MergeHistoryNode |
getDestinationNode()
Retrieves the destination node of a merge transaction in a merge history tree. |
java.lang.String |
getEUID()
Retrieves the kept EUID from a merge transaction in a merge history tree. |
MergeHistoryNode |
getParentNode()
Retrieves the parent node of a merge transaction in a merge history tree. |
MergeHistoryNode |
getSourceNode()
Retrieves the source node of a merge transaction in a merge history tree. |
TransactionObject |
getTransactionObject()
Retrieves the transaction object associated with a merge transaction in a merge history tree. |
void |
prettyPrint(int indent)
Displays the information in a merge history node in readable format. |
void |
setDestinationNode(MergeHistoryNode destinationNode)
Sets the destination node for an instance of the MergeHistoryNode class. |
void |
setEUID(java.lang.String euid)
Sets the EUID for an instance of the MergeHistoryNode class. |
void |
setParentNode(MergeHistoryNode parentNode)
Sets the parent node for an instance of the MergeHistoryNode class. |
void |
setSourceNode(MergeHistoryNode sourceNode)
Sets the source node for an instance of the MergeHistoryNode class. |
void |
setTransactionObject(TransactionObject transactionObject)
Sets the transaction object for an instance of the MergeHistoryNode class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MergeHistoryNode()
public MergeHistoryNode(java.lang.String destEUID, java.lang.String sourceEUID)
destEUID
- The EUID of the record that was kept after the
merge.sourceEUID
- The EUID of the record that was not kept after
the merge.
Method Detail |
public MergeHistoryNode getDestinationNode()
MergeHistoryNode
- A destination node.
public java.lang.String getEUID()
String
- An EUID.
public MergeHistoryNode getParentNode()
MergeHistoryNode
- A parent node.
public MergeHistoryNode getSourceNode()
MergeHistoryNode
- A source node.
public TransactionObject getTransactionObject()
TransactionObject
- A transaction object.
public void prettyPrint(int indent)
indent
- An integer representing the indentation for each merge
history level.
void
- None.
public void setDestinationNode(MergeHistoryNode destinationNode)
destinationNode
- A merge history node representing the destination
node.
void
- None.
public void setEUID(java.lang.String euid)
euid
- A string containing an EUID.
void
- None.
public void setParentNode(MergeHistoryNode parentNode)
parentNode
- A merge history node representing the parent node.
void
- None.
public void setSourceNode(MergeHistoryNode sourceNode)
sourceNode
- A merge history node representing the source
node.
void
- None.
public void setTransactionObject(TransactionObject transactionObject)
transactionObject
- A transaction object.
void
- None.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 by Sun Microsystems, Inc. All Rights Reserved.