Package com.pixelmed.anatproc
Class Concept
- java.lang.Object
-
- com.pixelmed.anatproc.Concept
-
- Direct Known Subclasses:
CodedConcept
public class Concept extends java.lang.ObjectThis class represents a concept that is uniquely identifiable.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringconceptUniqueIdentifier
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Indicates whether some other object is "equal to" this one.java.lang.StringgetConceptUniqueIdentifier()inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
Concept
public Concept(java.lang.String conceptUniqueIdentifier)
Create a concept.
- Parameters:
conceptUniqueIdentifier- the unique identifier of the concept, usually a UMLS CUI; required to be unique within the scope of comparisons usingequals(Object)
-
Concept
protected Concept()
-
-
Method Detail
-
getConceptUniqueIdentifier
public java.lang.String getConceptUniqueIdentifier()
-
equals
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.
- Overrides:
equalsin classjava.lang.Object- Parameters:
o- the reference object with which to compare.- Returns:
- true if the same object or different objects with equal values of conceptUniqueIdentifier
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-