public class Concept
extends java.lang.Object
This class represents a concept that is uniquely identifiable.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
conceptUniqueIdentifier |
Modifier | Constructor and Description |
---|---|
protected |
Concept() |
|
Concept(java.lang.String conceptUniqueIdentifier)
Create a concept.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.
|
java.lang.String |
getConceptUniqueIdentifier() |
int |
hashCode() |
java.lang.String |
toString() |
protected Concept()
public Concept(java.lang.String conceptUniqueIdentifier)
Create a concept.
conceptUniqueIdentifier
- the unique identifier of the concept, usually a UMLS CUI; required to be unique within the scope of comparisons using equals(Object)
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.
equals
in class java.lang.Object
o
- the reference object with which to compare.public java.lang.String getConceptUniqueIdentifier()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object