edu.upenn.cis.pdtb
Interface PDTBRelation

All Superinterfaces:
javax.swing.tree.MutableTreeNode, PDTBNode, javax.swing.tree.TreeNode
All Known Subinterfaces:
PDTBAltLexRelation, PDTBExplicitRelation, PDTBImplicitRelation
All Known Implementing Classes:
PDTBAltLexRelationImpl, PDTBExplicitRelationImpl, PDTBImplicitRelationImpl, PDTBRelationImpl

public interface PDTBRelation
extends PDTBNode

Base class of relations. Arg1 and Arg2 are required, while Sup1 and Sup2 are optional.

Author:
nikhild

Field Summary
 
Fields inherited from interface edu.upenn.cis.pdtb.PDTBNode
AltLexRelationQName, Arg1QName, Arg2QName, EntityRelationQName, ExplicitRelationQName, ImplicitRelationQName, NoRelationQName, RelationListQName, Sup1QName, Sup2QName
 
Method Summary
 PDTBArg getArg1()
           
 PDTBArg getArg2()
           
 PDTBRelationList getRelationList()
           
 PDTBSup getSup1()
           
 PDTBSup getSup2()
           
 void setArg1(PDTBArg arg1)
           
 void setArg2(PDTBArg arg2)
           
 void setRelationList(PDTBRelationList rel)
           
 void setSup1(PDTBSup sup1)
           
 void setSup2(PDTBSup sup2)
           
 
Methods inherited from interface edu.upenn.cis.pdtb.PDTBNode
getUserObject, pdtbAddFirstChild, pdtbAddLastChild, pdtbGetAttributes, pdtbGetFirstChild, pdtbGetLastChild, pdtbGetLocalName, pdtbGetNamespaceUri, pdtbGetNextSibling, pdtbGetPreviousSibling, pdtbGetQName, pdtbRemoveAttribute, pdtbSetAttribute, pdtbSetName, pdtbSetNextSibling, pdtbSetPreviousSibling
 
Methods inherited from interface javax.swing.tree.MutableTreeNode
insert, remove, remove, removeFromParent, setParent, setUserObject
 
Methods inherited from interface javax.swing.tree.TreeNode
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Method Detail

getArg1

public PDTBArg getArg1()

setArg1

public void setArg1(PDTBArg arg1)

getArg2

public PDTBArg getArg2()

setArg2

public void setArg2(PDTBArg arg2)

getSup1

public PDTBSup getSup1()

setSup1

public void setSup1(PDTBSup sup1)

getSup2

public PDTBSup getSup2()

setSup2

public void setSup2(PDTBSup sup2)

getRelationList

public PDTBRelationList getRelationList()

setRelationList

public void setRelationList(PDTBRelationList rel)