|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.wpi.cs.dsrg.xmldb.xat.component.xatrewrite.ReWriteResult
This Class is used to rewrite the XAT using position rules.
Result object created when a ReWriteRule is evaluated The parent and child node refer to the two nodes that were evaluated in the equivalance rule.
ReWriteRules
,
ReWriteNavigationRules
,
ReWriteOrderByRules
Constructor Summary | |
ReWriteResult()
Default ReWriteResult constructor. |
Method Summary | |
boolean |
isDeleteChildNode()
Get the value of attribute deleteChildNode. |
boolean |
isDeleteParentNode()
Get the value of attribute deleteParentNode. |
boolean |
isFinalPosition()
Get the value of attribute finalPosition. |
boolean |
isMoved()
Get the value of attribute moved. |
boolean |
isSwapped()
Get the value of attribute swapped. |
void |
setDeleteChildNode(boolean newDeleteChildNode)
Set the attribute of deleteChildNode. |
void |
setDeleteParentNode(boolean newDeleteNode)
Set the attribute of deleteParentNode. |
void |
setFinalPosition(boolean newPushedDown)
Set the attribute of finalPosition. |
void |
setMoved(boolean newMoved)
Set the attribute of moved. |
void |
setSwapped(boolean newSuccessful)
Set the attribute of swapped. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ReWriteResult()
Method Detail |
public boolean isDeleteChildNode()
public boolean isDeleteParentNode()
public boolean isFinalPosition()
public boolean isMoved()
public boolean isSwapped()
public void setDeleteChildNode(boolean newDeleteChildNode)
newDeleteChildNode
- Indicate whether the child node should be deleted.public void setDeleteParentNode(boolean newDeleteNode)
newDeleteNode
- Indicate whether the parent node should be deleted.public void setFinalPosition(boolean newPushedDown)
newPushedDown
- Indicate whether the parent node in its final postionpublic void setMoved(boolean newMoved)
newMoved
- Indicate whether the parent node was moved.public void setSwapped(boolean newSuccessful)
newSuccessful
- Indicate whether the parent and child nodes should be swapped.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |