Name
- The type for nominals and valuesKlass
- The type for DL classesRole
- The type for properties (roles)public interface IRABox<Name extends Comparable<? super Name>,Klass extends Comparable<? super Klass>,Role extends Comparable<? super Role>> extends de.dhke.projects.cutil.collections.immutable.IImmutable<IRABox<Name,Klass,Role>>
The (r)ole (a)ssertion (box) (RABox) contains the role assertions (links) between IABoxNode
s.
Modifier and Type | Method and Description |
---|---|
IRABox<Name,Klass,Role> |
clone(IABoxNode<Name,Klass,Role> newNode) |
boolean |
deepEquals(Object obj) |
int |
deepHashCode() |
ILinkMap<Name,Klass,Role> |
getAssertedPredecessors()
Get the list of asserted role predecessors, i.e. those incoming role links that are present in the actual
representation of the graph.
|
ILinkMap<Name,Klass,Role> |
getAssertedSuccessors()
Get the list of asserted role successors, i.e. those outgoing role links that are present in the actual
representation of the graph.
|
Collection<Role> |
getIncomingRoles() |
IABoxNode<Name,Klass,Role> |
getNode() |
Collection<Role> |
getOutgoingRoles() |
Collection<IABoxNode<Name,Klass,Role>> |
getPredecessorNodes() |
Collection<IABoxNode<Name,Klass,Role>> |
getPredecessorNodes(Role role) |
Iterable<de.dhke.projects.cutil.Pair<Role,NodeID>> |
getPredecessorPairs() |
Collection<NodeID> |
getPredecessors() |
Collection<NodeID> |
getPredecessors(Role role) |
Collection<IABoxNode<Name,Klass,Role>> |
getSuccessorNodes() |
Collection<IABoxNode<Name,Klass,Role>> |
getSuccessorNodes(Role role) |
Iterable<de.dhke.projects.cutil.Pair<Role,NodeID>> |
getSuccessorPairs() |
Collection<NodeID> |
getSuccessors() |
Collection<NodeID> |
getSuccessors(Role role) |
boolean |
hasPredecessor(Role role) |
boolean |
hasPredecessor(Role role,
IABoxNode<Name,Klass,Role> predecessor) |
boolean |
hasPredecessor(Role role,
NodeID predecessor)
Determine if the specified predecessor is connected to the current node via a role link.
|
boolean |
hasSuccessor(Role role)
Determine if the current node to any successor via the specified role.
|
boolean |
hasSuccessor(Role role,
IABoxNode<Name,Klass,Role> successor)
Determine if the current node is connected to any successor via a role link.
|
boolean |
hasSuccessor(Role role,
NodeID successor)
Determine if the current node is connected to the successor via an outgoing role link.
|
ILinkMap<Name,Klass,Role> getAssertedSuccessors()
Get the list of asserted role successors, i.e. those outgoing role links that are present in the actual representation of the graph.
The asserted can but need not include inferred connections, for example because of role inheritance or transitivity assertions.
ILinkMap<Name,Klass,Role> getAssertedPredecessors()
Get the list of asserted role predecessors, i.e. those incoming role links that are present in the actual representation of the graph.
The asserted can but need not include inferred connections, for example because of role inheritance or transitivity assertions.
boolean hasSuccessor(Role role, NodeID successor)
role
- The rolesuccessor
- The successorboolean hasSuccessor(Role role)
role
- The roleboolean hasSuccessor(Role role, IABoxNode<Name,Klass,Role> successor)
role
- The rolesuccessor
- The successorboolean hasPredecessor(Role role, NodeID predecessor)
role
- The rolepredecessor
- The predecessorboolean hasPredecessor(Role role)
Collection<Role> getOutgoingRoles()
Collection<Role> getIncomingRoles()
Collection<NodeID> getSuccessors(Role role)
Collection<NodeID> getSuccessors()
Collection<NodeID> getPredecessors(Role role)
Collection<NodeID> getPredecessors()
Collection<IABoxNode<Name,Klass,Role>> getSuccessorNodes()
Collection<IABoxNode<Name,Klass,Role>> getPredecessorNodes()
boolean deepEquals(Object obj)
int deepHashCode()
Copyright © 2013. All Rights Reserved.