Public Types | Public Member Functions

cogitant.base.GraphObject Interface Reference

Node of a Graph. More...

Inheritance diagram for cogitant.base.GraphObject:

List of all members.

Public Types

enum  Type {
  CONCEPT, RELATION, NESTING, INTERNALGRAPH,
  COREFERENCECLASS
}
 

Node type.

More...
enum  ReferentType { GENERIC, INDIVIDUAL }
 

Referent type.

More...

Public Member Functions

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

Detailed Description

Node of a Graph.


Member Enumeration Documentation

Referent type.

Enumerator:
GENERIC 

Generic concept.

INDIVIDUAL 

Individual concept.

Node type.

Enumerator:
CONCEPT 

Concept node.

RELATION 

Relation node.

NESTING 

Nesting node.

INTERNALGRAPH 

Internal graph.

COREFERENCECLASS 

Coreference class.


Member Function Documentation

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

Type of the concept/relation/nesting node.

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

Implemented in cogitant.jni.GraphObject.

Graph cogitant.base.GraphObject.graph ( )

Implemented in cogitant.jni.GraphObject.

boolean cogitant.base.GraphObject.hasConjunctiveType ( )

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

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

Implemented in cogitant.jni.GraphObject.

String cogitant.base.GraphObject.identifier ( )

Identifier of a node.

Implemented in cogitant.jni.GraphObject.

SupportObject cogitant.base.GraphObject.individual ( )

Individual of the individual concept node.

Precondition:
(referentType() == INDIVIDUAL)

Implemented in cogitant.jni.GraphObject.

String cogitant.base.GraphObject.label ( )

Label of the node.

Implemented in cogitant.jni.GraphObject.

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

Neighbourhood: set of edges linked to this node.

Implemented in cogitant.jni.GraphObject.

Type cogitant.base.GraphObject.objectType ( )

Type of the node.

Implemented in cogitant.jni.GraphObject.

String cogitant.base.GraphObject.referentAsString ( )

Referent of the concept node.

Precondition:
(objectType() == CONCEPT)

Implemented in cogitant.jni.GraphObject.

ReferentType cogitant.base.GraphObject.referentType ( )

Referent type of a concept node.

Precondition:
(objectType() == CONCEPT)

Implemented in cogitant.jni.GraphObject.

SupportObject cogitant.base.GraphObject.type ( )

Primitive type of the concept/relation/nesting node.

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

Implemented in cogitant.jni.GraphObject.

String cogitant.base.GraphObject.typeAsString ( )

Type of the concept/relation/nesting node.

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

Implemented in cogitant.jni.GraphObject.