Modifier and Type | Field and Description |
---|---|
NodeHandle |
RefInfo.handle |
Constructor and Description |
---|
RefInfo(NodeName name,
NodeHandle handle) |
Modifier and Type | Method and Description |
---|---|
NodeHandle |
DictionaryMatch.getNode()
Returns the reference to the related node.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.addAssociationFrom(NodeHandle node)
Adds a new association from the given node.
|
void |
Node.addAssociationFrom(NodeHandle node,
AssociationType type)
Adds a new association from the given node.
|
void |
Node.addAssociationTo(NodeHandle node)
Adds a new association to the given node.
|
void |
Node.addAssociationTo(NodeHandle node,
AssociationType type)
Adds a new association to the given node.
|
void |
Node.deleteAssociationFrom(NodeHandle node)
Deletes any present association frmo the given node (inbound, this node
is the target node).
|
void |
Node.deleteAssociationTo(NodeHandle node)
Deletes any present association to the given node (outbound, this node is
the source node).
|
void |
OntologyDatabase.deleteNode(NodeHandle node)
Deletes the node the given handle refers to from the database and deletes
all corresponding dictionary entries.
|
Node |
OntologyDatabase.getNode(NodeHandle node)
Returns a "Node" instance for the given node handle.
|
boolean |
Node.isA(NodeHandle supposedParent)
This checks whether there exists a list of nodes this, n_1, n_2, ...,
n_k, p such that there exists an ISA-Association from each node in the
list to the next one.
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
OntologyDatabase.handlesToNodeList(Collection<NodeHandle> nodes)
Converts a list of NodeHandle instances to high-level "Node" instances.
|
Constructor and Description |
---|
DictionaryMatch(NodeHandle node,
NodeName name) |
DictionaryMatch(NodeHandle node,
NodeName name,
int begin,
int end,
double probability)
Creates a new instance of DictionaryMatch.
|
DictionaryMatch(NodeHandle node,
NodeName name,
int begin,
int end,
double probability,
LineSegment partialMatch)
Creates a new instance of DictionaryMatch.
|
Node(OntologyDatabase db,
NodeHandle handle,
Collection<NodeName> names)
Constructor of the Node class.
|
Node(OntologyDatabase db,
NodeHandle handle,
Collection<NodeName> names,
boolean root)
Constructor of the Node class.
|
Node(OntologyDatabase db,
NodeHandle handle,
NodeName name)
Constructor of the Node class.
|
Node(OntologyDatabase db,
NodeHandle handle,
NodeName name,
boolean root)
Constructor of the Node class.
|
Node(OntologyDatabase db,
NodeHandle handle,
String name)
Constructor of the Node class.
|
Node(OntologyDatabase db,
NodeHandle handle,
String name,
boolean root)
Constructor of the Node class.
|
Modifier and Type | Field and Description |
---|---|
protected NodeHandle |
NodeDescriptor.handle
The handle of the node the descriptor describes.
|
Modifier and Type | Method and Description |
---|---|
NodeHandle |
NodeDescriptor.getHandle()
Returns the handle of the node this instance describes.
|
NodeHandle |
Association.getSource()
Returns a reference to the source node.
|
NodeHandle |
Association.getTarget()
Returns a reference to the target node.
|
Modifier and Type | Method and Description |
---|---|
static Collection<NodeHandle> |
OntologyDatabaseDriver.nodeHandlesFromDescriptors(Collection<NodeDescriptor> nodes)
Converts a list of node descriptors to a list of node handles.
|
Modifier and Type | Method and Description |
---|---|
void |
OntologyDatabaseDriver.deleteDictionaryEntry(NodeHandle node)
Deletes the dictionary entries for a single node.
|
void |
OntologyDatabaseDriver.deleteNode(NodeHandle node)
Deletes a single node from the database.
|
Collection<Association> |
OntologyDatabaseDriver.getAssociations(NodeHandle node,
int associationTypes,
AssociationDirection dir)
Returns the associations for a single node.
|
NodeDescriptor |
OntologyDatabaseDriver.getNode(NodeHandle node)
Returns the node descriptor for a single node.
|
boolean |
OntologyDatabaseDriver.queryNodeExists(NodeHandle handle)
Checks whether the given node handle is valid.
|
void |
OntologyDatabaseDriver.storeDictionaryEntry(NodeHandle handle,
Set<String> keys)
Stores the given node to key association in the dictionary.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
OntologyDatabaseDriver.deleteDictionaryEntries(Collection<NodeHandle> nodes)
Deletes the dictionary entries for the given nodes from the db.
|
abstract void |
OntologyDatabaseDriver.deleteNodes(Collection<NodeHandle> nodes)
Deletes the given nodes from the database.
|
abstract List<Collection<Association>> |
OntologyDatabaseDriver.getAssociations(Collection<NodeHandle> nodes,
int associationTypes,
AssociationDirection dir)
Returns the associations for a given set of nodes.
|
abstract List<NodeDescriptor> |
OntologyDatabaseDriver.getNodes(Collection<NodeHandle> handles)
Returns the node descriptors for the given node handles.
|
boolean |
OntologyDatabaseDriver.queryAllNodesExist(Collection<NodeHandle> handles)
Checks whether all given nodes exist.
|
abstract List<Boolean> |
OntologyDatabaseDriver.queryNodesExist(Collection<NodeHandle> handles)
Checks whether the given nodes exist.
|
abstract void |
OntologyDatabaseDriver.storeDictionaryEntries(Map<NodeHandle,Set<String>> keys)
Stores the given node to key associations in the dictionary.
|
Constructor and Description |
---|
Association(NodeHandle source,
NodeHandle target)
Constructor of the Association class.
|
Association(NodeHandle source,
NodeHandle target,
AssociationType type)
Constructor of the Association class.
|
Association(NodeHandle source,
NodeHandle target,
int typeValue)
Constructor of the Association class.
|
NodeDescriptor(NodeHandle handle,
Collection<NodeName> names)
Constructor of the NodeDescriptor class.
|
NodeDescriptor(NodeHandle handle,
Collection<NodeName> names,
boolean root)
Constructor of the NodeDescriptor class.
|
NodeDescriptor(NodeHandle handle,
NodeName name)
Constructor of the NodeDescriptor class.
|
NodeDescriptor(NodeHandle handle,
NodeName name,
boolean root)
Constructor of the NodeDescriptor class.
|
NodeDescriptor(NodeHandle handle,
String name)
Constructor of the NodeDescriptor class.
|
NodeDescriptor(NodeHandle handle,
String name,
boolean root)
Constructor of the NodeDescriptor class.
|
Copyright (C) 2013, 2014 Raphael Dickfelder, Jan Göpfert, Benjamin Paassen, Andreas Stöckel, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/scie