|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.umls.meta.impl.DefinitionImpl
public class DefinitionImpl
Default implementation of the Definition
interface.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface gov.nih.nlm.umls.meta.AtomElement |
|---|
AtomElement.ByLanguageRestrictor, AtomElement.BySourceRestrictor |
| Nested classes/interfaces inherited from interface gov.nih.nlm.umls.meta.SourceElement |
|---|
SourceElement.BySourceComparator, SourceElement.BySourceRestrictor |
| Constructor Summary | |
|---|---|
DefinitionImpl()
Instantiates an empty Definition. |
|
DefinitionImpl(Definition def)
Instantiates a Definition from the specified Definition. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compares this Definition to another one. |
boolean |
equals(Object o)
Returns true if the specified object is
equal to this object. |
Atom |
getAtom()
Returns the Atom related to this Definition. |
String |
getAttributeIdentifier()
Returns the unique identifier (ATUI). |
String |
getAtui()
Shorthand for getAttributeIdentifier(). |
Concept |
getConcept()
Returns the Concept that holds this Definition. |
ContentView |
getContentView()
Returns tbe ContentView definition for this Definition (CVF). |
ContentView |
getCvf()
Shorthand for getContentView(). |
String |
getDef()
Shorthand for getDefinition(). |
String |
getDefinition()
Returns the definition value (DEF). |
String |
getKeyFields()
Returns a String key which can be used
by equals, compareTo, and hashCode methods. |
String |
getSatui()
Shorthand for getSourceAttributeIdentifier(). |
Source |
getSource()
Returns the source for this Definition. |
String |
getSourceAttributeIdentifier()
Returns the source asserted attribute identifier (SATUI). |
Suppressible |
getSuppress()
Returns the suppressibility value (SUPPRESS). |
int |
hashCode()
Return a hash code based on key fields. |
boolean |
isObsolete()
Indicates whether or not this DefinitionImpl is obsolete. |
boolean |
isSuppressible()
Indicates whether or not this Atom is suppressible. |
void |
setAtom(Atom atom)
Sets the Atom related to this Definition. |
void |
setAttributeIdentifier(String atui)
Sets the unique identifier (ATUI). |
void |
setAtui(String atui)
Shorthand for setAttributeIdentifier(String). |
void |
setConcept(Concept concept)
Sets the Concept that holds this Definition. |
void |
setContentView(ContentView cvf)
Sets tbe ContentView definition for this Definition (CVF). |
void |
setCvf(ContentView cvf)
Shorthand for setContentView(ContentView). |
void |
setDef(String def)
Shorthand for setDefinition(String). |
void |
setDefinition(String def)
Sets the definition value (DEF). |
void |
setSatui(String satui)
Shorthand for setSourceAttributeIdentifier(String). |
void |
setSource(Source source)
Sets the source for this Definition. |
void |
setSourceAttributeIdentifier(String satui)
Sets the source asserted attribute identifier (SATUI). |
void |
setSuppress(Suppressible suppress)
Sets the suppressibility value (SUPPRESS). |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefinitionImpl()
Definition.
public DefinitionImpl(Definition def)
Definition from the specified Definition.
def - Definition to be copied| Method Detail |
|---|
public Atom getAtom()
Atom related to this Definition.
getAtom in interface AtomElementAtom related to this Definitionpublic void setAtom(Atom atom)
Atom related to this Definition.
setAtom in interface AtomElementatom - the Atom related to this Definitionpublic String getAttributeIdentifier()
getAttributeIdentifier in interface AttributeElementpublic String getAtui()
getAttributeIdentifier().
getAtui in interface AttributeElementpublic void setAttributeIdentifier(String atui)
setAttributeIdentifier in interface AttributeElementatui - the ATUIpublic void setAtui(String atui)
setAttributeIdentifier(String).
setAtui in interface AttributeElementatui - the ATUIpublic String getSourceAttributeIdentifier()
getSourceAttributeIdentifier in interface AttributeElementpublic String getSatui()
getSourceAttributeIdentifier().
getSatui in interface AttributeElementpublic void setSourceAttributeIdentifier(String satui)
setSourceAttributeIdentifier in interface AttributeElementsatui - the SATUIpublic void setSatui(String satui)
setSourceAttributeIdentifier(String).
setSatui in interface AttributeElementsatui - the SATUIpublic Concept getConcept()
Concept that holds this Definition.
getConcept in interface ConceptElementConcept that holds this Definitionpublic void setConcept(Concept concept)
Concept that holds this Definition.
setConcept in interface ConceptElementconcept - the Concept that holds this Definitionpublic Source getSource()
Definition.
getSource in interface SourceElementSourcepublic void setSource(Source source)
Definition.
setSource in interface SourceElementsource - Sourcepublic String getDefinition()
getDefinition in interface Definitionpublic String getDef()
getDefinition().
getDef in interface Definitionpublic void setDefinition(String def)
setDefinition in interface Definitiondef - the definition valuepublic void setDef(String def)
setDefinition(String).
setDef in interface Definitiondef - the definition valuepublic Suppressible getSuppress()
getSuppress in interface SuppressibleElementSuppressible valuepublic boolean isSuppressible()
Atom is suppressible.
isSuppressible in interface SuppressibleElementtrue if suppressible,
false if not suppressiblepublic void setSuppress(Suppressible suppress)
setSuppress in interface SuppressibleElementsuppress - the Suppressible valuepublic boolean isObsolete()
DefinitionImpl is obsolete.
isObsolete in interface SuppressibleElementtrue if obsolete,
false if not obsoletepublic ContentView getContentView()
ContentView definition for this Definition (CVF).
getContentView in interface ContentViewElementContentView definitionpublic void setContentView(ContentView cvf)
ContentView definition for this Definition (CVF).
setContentView in interface ContentViewElementcvf - the ContentView definitionpublic ContentView getCvf()
getContentView().
getCvf in interface ContentViewElementContentView definitionpublic void setCvf(ContentView cvf)
setContentView(ContentView).
setCvf in interface ContentViewElementcvf - the ContentView definitionpublic String getKeyFields()
String key which can be used
by equals, compareTo, and hashCode methods.
getKeyFields in interface DefinitionString composed from the cui, aui, atui,
versioned source, satui, and def.public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
true if the specified object is
equal to this object. The specified object must be a
Definition with matching key fields.
equals in class Objecto - an Object to compare against
true if Object o is equal
false otherwisepublic int compareTo(Object o)
Definition to another one. Results
are indeterminate if the specified parameter is not of the
same class.
compareTo in interface Comparableo - the Object to compare to
int representing the relative ordering
of this and the compare-to object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||