Class Concept

java.lang.Object
  |
  +--Concept

public class Concept
extends java.lang.Object

Concept class


Constructor Summary
Concept()
          Creates an empty Concept.
Concept(java.lang.String s, ConceptType t)
          Creates a new concept with the given name and of the given type.
 
Method Summary
 ConceptType getConceptType()
          Returns the type of the concept.
 java.lang.String getName()
          Returns the name that identifies the concept.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Concept

public Concept()
Creates an empty Concept.

Concept

public Concept(java.lang.String s,
               ConceptType t)
Creates a new concept with the given name and of the given type. The name is used to identify the concept and therefore it must be unique.
Parameters:
s - concept name
t - type of the concept
Method Detail

getName

public java.lang.String getName()
Returns the name that identifies the concept.

getConceptType

public ConceptType getConceptType()
Returns the type of the concept.