edu.upenn.cis.pdtb
Class PDTBEntityRelationImpl
java.lang.Object
edu.upenn.cis.pdtb.PDTBNodeImpl
edu.upenn.cis.pdtb.PDTBEntityRelationImpl
- All Implemented Interfaces:
- javax.swing.tree.MutableTreeNode, PDTBEntityRelation, PDTBNode, javax.swing.tree.TreeNode
- Direct Known Subclasses:
- PDTBNoRelationImpl
- public class PDTBEntityRelationImpl
- extends PDTBNodeImpl
- implements PDTBEntityRelation
- Author:
- nikhild
| Methods inherited from class edu.upenn.cis.pdtb.PDTBNodeImpl |
children, getChildAt, getChildCount, getIndex, getParent, getUserObject, insert, isLeaf, pdtbAddFirstChild, pdtbAddLastChild, pdtbGetAttributes, pdtbGetFirstChild, pdtbGetLastChild, pdtbGetLocalName, pdtbGetNamespaceUri, pdtbGetNextSibling, pdtbGetPreviousSibling, pdtbGetQName, pdtbRemoveAttribute, pdtbSetAttribute, pdtbSetName, pdtbSetNextSibling, pdtbSetPreviousSibling, remove, remove, removeFromParent, setParent, setUserObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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, getChildAt, getChildCount, getIndex, getParent, isLeaf |
PDTBEntityRelationImpl
public PDTBEntityRelationImpl(PDTBInferenceSite infSite,
PDTBSup arg1,
PDTBSup arg2)
- Creates a new instance of PDTBEntityRelationImpl
initAttributes
protected void initAttributes()
- Specified by:
initAttributes in class PDTBNodeImpl
getArg1
public PDTBSup getArg1()
- Specified by:
getArg1 in interface PDTBEntityRelation
getArg2
public PDTBSup getArg2()
- Specified by:
getArg2 in interface PDTBEntityRelation
getInferenceSite
public PDTBInferenceSite getInferenceSite()
- Specified by:
getInferenceSite in interface PDTBEntityRelation
setArg1
public void setArg1(PDTBSup arg1)
- Specified by:
setArg1 in interface PDTBEntityRelation
setArg2
public void setArg2(PDTBSup arg2)
- Specified by:
setArg2 in interface PDTBEntityRelation
setInferenceSite
public void setInferenceSite(PDTBInferenceSite infSite)
- Specified by:
setInferenceSite in interface PDTBEntityRelation
getAllowsChildren
public boolean getAllowsChildren()
- Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode
save
public void save(java.io.Writer writer)
throws java.io.IOException
- Specified by:
save in class PDTBNodeImpl
- Throws:
java.io.IOException