Package | Description |
---|---|
de.unibi.techfak.scie.ontology | |
de.unibi.techfak.scie.ontology.driver | |
de.unibi.techfak.scie.ontology.driver.implementation |
Modifier and Type | Class and Description |
---|---|
class |
Node
The Node class extends NodeDescriptor and adds convenience functions that
allow to list all associated nodes or to simply add new associated nodes.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.addAssociationFrom(NodeDescriptor node)
Adds a new association from the given node.
|
void |
Node.addAssociationFrom(NodeDescriptor node,
AssociationType type)
Adds a new association from the given node.
|
void |
Node.addAssociationTo(NodeDescriptor node)
Adds a new association to the given node.
|
void |
Node.addAssociationTo(NodeDescriptor node,
AssociationType type)
Adds a new association to the given node.
|
void |
Node.deleteAssociationFrom(NodeDescriptor node)
Deletes any present association frmo the given node (inbound, this node
is the target node).
|
void |
Node.deleteAssociationTo(NodeDescriptor node)
Deletes any present association to the given node (outbound, this node is
the source node).
|
void |
OntologyDatabase.deleteNode(NodeDescriptor node)
Deletes the node the given descriptor refers to from the database and
removes all corresponding dictionary entries.
|
Node |
OntologyDatabase.getNode(NodeDescriptor node)
Returns a "Node" instance for the given node handle.
|
void |
OntologyDatabase.storeNode(NodeDescriptor node)
Stores the given NodeDescriptor in the database.
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
OntologyDatabase.descriptorsToNodeList(Collection<NodeDescriptor> nodes)
Converts a list of NodeDesciptor instances to high-level "Node"
instances.
|
Constructor and Description |
---|
Node(OntologyDatabase db,
NodeDescriptor node)
Constructor of the Node class.
|
Modifier and Type | Method and Description |
---|---|
NodeDescriptor |
OntologyDatabaseDriver.getNode(NodeHandle node)
Returns the node descriptor for a single node.
|
Modifier and Type | Method and Description |
---|---|
abstract List<NodeDescriptor> |
OntologyDatabaseDriver.getNodes(Collection<NodeHandle> handles)
Returns the node descriptors for the given node handles.
|
abstract Collection<NodeDescriptor> |
OntologyDatabaseDriver.getRootNodes(OntologyHandle ontology)
Returns a list containing all root nodes in the given ontology.
|
abstract Map<String,Collection<NodeDescriptor>> |
OntologyDatabaseDriver.queryDictionary(Set<String> keys)
Queries the dictionary for the given keys.
|
Collection<NodeDescriptor> |
OntologyDatabaseDriver.queryDictionary(String key)
Queries the dictionary for a given key.
|
Modifier and Type | Method and Description |
---|---|
void |
OntologyDatabaseDriver.storeNode(NodeDescriptor node)
Stores a single node in the database.
|
Modifier and Type | Method and Description |
---|---|
void |
OntologyDatabaseDriver.deleteNodeDescriptors(Collection<NodeDescriptor> nodes)
Deletes the given nodes from the database.
|
static Collection<NodeHandle> |
OntologyDatabaseDriver.nodeHandlesFromDescriptors(Collection<NodeDescriptor> nodes)
Converts a list of node descriptors to a list of node handles.
|
abstract void |
OntologyDatabaseDriver.storeNodes(Collection<NodeDescriptor> descriptors)
Stores the given nodes in the database.
|
Modifier and Type | Method and Description |
---|---|
List<NodeDescriptor> |
JDBCDatabaseDriver.getNodes(Collection<NodeHandle> handles) |
List<NodeDescriptor> |
MemoryDatabaseDriver.getNodes(Collection<NodeHandle> handles) |
Collection<NodeDescriptor> |
JDBCDatabaseDriver.getRootNodes(OntologyHandle ontology) |
Collection<NodeDescriptor> |
MemoryDatabaseDriver.getRootNodes(OntologyHandle ontology) |
Map<String,Collection<NodeDescriptor>> |
JDBCDatabaseDriver.queryDictionary(Set<String> keys) |
Map<String,Collection<NodeDescriptor>> |
MemoryDatabaseDriver.queryDictionary(Set<String> keys) |
Modifier and Type | Method and Description |
---|---|
void |
JDBCDatabaseDriver.storeNodes(Collection<NodeDescriptor> descriptors) |
void |
MemoryDatabaseDriver.storeNodes(Collection<NodeDescriptor> descriptors) |
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