
public class DummyContextNode extends AbstractContextNode implements ContextNode
| Constructor and Description |
|---|
DummyContextNode(Graph graph,
ContextNode contextNode,
XDIArc XDIarc,
Iterable<ContextNode> contextNodes,
Iterable<Relation> relations,
LiteralNode literalNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
delContextNode(XDIArc XDIarc)
Deletes the context node with a given arc.
|
void |
delContextNodes()
Deletes all context nodes from this context node.
|
void |
delLiteralNode()
Deletes the literal from this context node.
|
void |
delRelation(XDIAddress XDIaddress,
XDIAddress targetXDIAddress)
Deletes the relation with a given arc from this context node.
|
void |
delRelations()
Deletes all relations from this context node.
|
void |
delRelations(XDIAddress XDIaddress)
Deletes the relation with a given arc from this context node.
|
ReadOnlyIterator<ContextNode> |
getContextNodes()
Returns the context nodes under this context node.
|
LiteralNode |
getLiteralNode()
Returns the literal of this context node.
|
ReadOnlyIterator<Relation> |
getRelations()
Returns the relations of this context node.
|
XDIArc |
getXDIArc()
Every node has an associated arc.
|
ContextNode |
setContextNode(XDIArc XDIarc)
Creates a new context node and adds it to this context node, or returns an existing context node.
|
LiteralNode |
setLiteralNode(Object literalData)
Creates a new literal and adds it to this context node, or returns an existing literal.
|
Relation |
setRelation(XDIAddress XDIaddress,
Node targetNode)
Creates a new relation and adds it to this context node, or returns an existing relation.
|
clear, compareTo, containsContextNode, containsContextNodes, containsIncomingRelations, containsIncomingRelations, containsLiteralBoolean, containsLiteralNode, containsLiteralNode, containsLiteralNumber, containsLiteralString, containsRelation, containsRelations, containsRelations, containsStatement, delContextNodeDelAllIncomingRelations, delContextNodeDelAllInnerRoots, delContextNodeDelAllRelations, delete, delIncomingRelations, delRelationDelInnerRoot, equals, getAllContextNodeCount, getAllContextNodes, getAllIncomingRelations, getAllLeafContextNodes, getAllLiteralCount, getAllLiterals, getAllRelationCount, getAllRelations, getAllStatementCount, getAllStatements, getContextNode, getContextNode, getContextNodeCount, getDeepContextNode, getDeepContextNode, getDeepLiteralNode, getDeepLiteralNode, getDeepNode, getDeepNode, getGraph, getIncomingRelations, getIncomingRelations, getLiteralBoolean, getLiteralNode, getLiteralNumber, getLiteralString, getRelation, getRelation, getRelationCount, getRelationCount, getRelations, getStatement, getStatement, hashCode, isEmpty, isLeafContextNode, isRootContextNode, setContextNodeCheckValid, setContextNodeSetInnerRoot, setDeepContextNode, setDeepLiteralNode, setDeepNode, setLiteralBoolean, setLiteralCheckValid, setLiteralNumber, setLiteralString, setRelation, setRelationCheckValid, setRelationSetTargetNode, setStatement, toStringgetContextNode, getContextNode, getXDIAddressclone, finalize, getClass, notify, notifyAll, wait, wait, waitclear, containsContextNode, containsContextNodes, containsIncomingRelations, containsIncomingRelations, containsLiteralBoolean, containsLiteralNode, containsLiteralNode, containsLiteralNumber, containsLiteralString, containsRelation, containsRelations, containsRelations, containsStatement, delIncomingRelations, getAllContextNodeCount, getAllContextNodes, getAllIncomingRelations, getAllLeafContextNodes, getAllLiteralCount, getAllLiterals, getAllRelationCount, getAllRelations, getAllStatementCount, getAllStatements, getContextNode, getContextNode, getContextNodeCount, getDeepContextNode, getDeepContextNode, getDeepLiteralNode, getDeepLiteralNode, getDeepNode, getDeepNode, getIncomingRelations, getIncomingRelations, getLiteralBoolean, getLiteralNode, getLiteralNumber, getLiteralString, getRelation, getRelation, getRelationCount, getRelationCount, getRelations, getStatement, getStatement, isEmpty, isLeafContextNode, isRootContextNode, setDeepContextNode, setDeepLiteralNode, setDeepNode, setLiteralBoolean, setLiteralNumber, setLiteralString, setRelation, setStatementdelete, getContextNode, getContextNode, getGraph, getXDIAddresscompareTopublic DummyContextNode(Graph graph, ContextNode contextNode, XDIArc XDIarc, Iterable<ContextNode> contextNodes, Iterable<Relation> relations, LiteralNode literalNode)
public XDIArc getXDIArc()
Nodepublic ContextNode setContextNode(XDIArc XDIarc)
ContextNodesetContextNode in interface ContextNodepublic ReadOnlyIterator<ContextNode> getContextNodes()
ContextNodegetContextNodes in interface ContextNodepublic void delContextNode(XDIArc XDIarc)
ContextNodedelContextNode in interface ContextNodepublic void delContextNodes()
ContextNodedelContextNodes in interface ContextNodedelContextNodes in class AbstractContextNodepublic Relation setRelation(XDIAddress XDIaddress, Node targetNode)
ContextNodesetRelation in interface ContextNodepublic ReadOnlyIterator<Relation> getRelations()
ContextNodegetRelations in interface ContextNodepublic void delRelation(XDIAddress XDIaddress, XDIAddress targetXDIAddress)
ContextNodedelRelation in interface ContextNodetargetXDIAddress - The target context node XRI of the relation.public void delRelations(XDIAddress XDIaddress)
ContextNodedelRelations in interface ContextNodedelRelations in class AbstractContextNodepublic void delRelations()
ContextNodedelRelations in interface ContextNodedelRelations in class AbstractContextNodepublic LiteralNode setLiteralNode(Object literalData)
ContextNodesetLiteralNode in interface ContextNodeliteralData - The literal data associated with the literal.public LiteralNode getLiteralNode()
ContextNodegetLiteralNode in interface ContextNodepublic void delLiteralNode()
ContextNodedelLiteralNode in interface ContextNodeCopyright © 2015. All Rights Reserved.