Quick links: Examples - Files.
Classes: Hierarchy - Index - List - Members.
Packages: Index - base - jni.

Classes | Public Member Functions | List of all members
cogitant.base.GraphObject Interface Reference

Node of a Graph. More...

Inherited by cogitant.jni.GraphObject.

Classes

enum  ReferentType
 Referent type. More...
 
enum  Type
 Node type. More...
 

Public Member Functions

Graph graph ()
 
Type objectType ()
 Type of the node. More...
 
SupportObject type ()
 Primitive type of the concept/relation/nesting node. More...
 
Collection< SupportObjectconjunctiveType ()
 Type of the concept/relation/nesting node. More...
 
boolean hasConjunctiveType ()
 Returns true iff the type of the node is a conjunctive type. More...
 
String typeAsString ()
 Type of the concept/relation/nesting node. More...
 
ReferentType referentType ()
 Referent type of a concept node. More...
 
SupportObject individual ()
 Individual of the individual concept node. More...
 
String referentAsString ()
 Referent of the concept node. More...
 
String label ()
 Label of the node. More...
 
String identifier ()
 Identifier of a node. More...
 
Collection< GraphEdgeneighbourhood ()
 Neighbourhood: set of edges linked to this node. More...
 

Detailed Description

Node of a Graph.

Member Function Documentation

◆ conjunctiveType()

Collection<SupportObject> cogitant.base.GraphObject.conjunctiveType ( )

Type of the concept/relation/nesting node.

Precondition
(objectType() == CONCEPT) || (objectType() == RELATION) || (objectType() == NESTING).

◆ graph()

Graph cogitant.base.GraphObject.graph ( )

◆ hasConjunctiveType()

boolean cogitant.base.GraphObject.hasConjunctiveType ( )

Returns true iff the type of the node is a conjunctive type.

Precondition
(objectType() == CONCEPT) || (objectType() == RELATION) || (objectType() == NESTING).

◆ identifier()

String cogitant.base.GraphObject.identifier ( )

Identifier of a node.

◆ individual()

SupportObject cogitant.base.GraphObject.individual ( )

Individual of the individual concept node.

Precondition
(referentType() == INDIVIDUAL)

◆ label()

String cogitant.base.GraphObject.label ( )

Label of the node.

◆ neighbourhood()

Collection<GraphEdge> cogitant.base.GraphObject.neighbourhood ( )

Neighbourhood: set of edges linked to this node.

◆ objectType()

Type cogitant.base.GraphObject.objectType ( )

Type of the node.

◆ referentAsString()

String cogitant.base.GraphObject.referentAsString ( )

Referent of the concept node.

Precondition
(objectType() == CONCEPT)

◆ referentType()

ReferentType cogitant.base.GraphObject.referentType ( )

Referent type of a concept node.

Precondition
(objectType() == CONCEPT)

◆ type()

SupportObject cogitant.base.GraphObject.type ( )

Primitive type of the concept/relation/nesting node.

Precondition
(objectType() == CONCEPT) || (objectType() == RELATION) || (objectType() == NESTING).
!hasCunjunctiveType().

◆ typeAsString()

String cogitant.base.GraphObject.typeAsString ( )

Type of the concept/relation/nesting node.

Precondition
(objectType() == CONCEPT) || (objectType() == RELATION) || (objectType() == NESTING).