Public Member Functions | Package Functions

cogitant.jni.GraphObject Class Reference

Node of a Graph. More...

Inheritance diagram for cogitant.jni.GraphObject:

List of all members.

Public Member Functions

int hashCode ()
cogitant.base.Graph graph ()
cogitant.base.GraphObject.Type objectType ()
 Type of the node.
cogitant.base.SupportObject type ()
 Primitive type of the concept/relation/nesting node.
Collection
< cogitant.base.SupportObject
conjunctiveType ()
 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.
cogitant.base.GraphObject.ReferentType referentType ()
 Referent type of a concept node.
cogitant.base.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
< cogitant.base.GraphEdge
neighbourhood ()
 Neighbourhood: set of edges linked to this node.
String toString ()
boolean equals (Object o)

Package Functions

 GraphObject (cogitant.jni.Graph graph, int id)
cogitant.jni.Graph jniGraph ()
int jniId ()

Detailed Description

Node of a Graph.

JNI implementation.


Constructor & Destructor Documentation

cogitant.jni.GraphObject.GraphObject ( cogitant.jni.Graph  graph,
int  id 
) [package]

Member Function Documentation

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

Type of the concept/relation/nesting node.

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

Implements cogitant.base.GraphObject.

boolean cogitant.jni.GraphObject.equals ( Object  o)
cogitant.base.Graph cogitant.jni.GraphObject.graph ( )
boolean cogitant.jni.GraphObject.hasConjunctiveType ( )

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

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

Implements cogitant.base.GraphObject.

int cogitant.jni.GraphObject.hashCode ( )
String cogitant.jni.GraphObject.identifier ( )

Identifier of a node.

Implements cogitant.base.GraphObject.

cogitant.base.SupportObject cogitant.jni.GraphObject.individual ( )

Individual of the individual concept node.

Precondition:
(referentType() == INDIVIDUAL)

Implements cogitant.base.GraphObject.

cogitant.jni.Graph cogitant.jni.GraphObject.jniGraph ( ) [package]
int cogitant.jni.GraphObject.jniId ( ) [package]
String cogitant.jni.GraphObject.label ( )
Collection<cogitant.base.GraphEdge> cogitant.jni.GraphObject.neighbourhood ( )

Neighbourhood: set of edges linked to this node.

Implements cogitant.base.GraphObject.

cogitant.base.GraphObject.Type cogitant.jni.GraphObject.objectType ( )

Type of the node.

Implements cogitant.base.GraphObject.

Referenced by cogitant.jni.GraphObject.label().

String cogitant.jni.GraphObject.referentAsString ( )

Referent of the concept node.

Precondition:
(objectType() == CONCEPT)

Implements cogitant.base.GraphObject.

Referenced by cogitant.jni.GraphObject.label().

cogitant.base.GraphObject.ReferentType cogitant.jni.GraphObject.referentType ( )

Referent type of a concept node.

Precondition:
(objectType() == CONCEPT)

Implements cogitant.base.GraphObject.

String cogitant.jni.GraphObject.toString ( )
cogitant.base.SupportObject cogitant.jni.GraphObject.type ( )

Primitive type of the concept/relation/nesting node.

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

Implements cogitant.base.GraphObject.

String cogitant.jni.GraphObject.typeAsString ( )

Type of the concept/relation/nesting node.

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

Implements cogitant.base.GraphObject.

Referenced by cogitant.jni.GraphObject.label().