|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.umls.meta.impl.AttributeValueImpl
public class AttributeValueImpl
Default implementation of the AttributeValue
interface.
| Constructor Summary | |
|---|---|
AttributeValueImpl()
Instantiates an empty AttributeValue. |
|
AttributeValueImpl(AttributeValue att)
Instantiates a AttributeValue from the specified AttributeValue. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compares this AttributeValue to another one. |
boolean |
equals(Object o)
Returns true if the specified object is
equal to this object. |
AttributeName |
getAtn()
Shorthand for getAttributeName(). |
String |
getAttributeIdentifier()
Returns the unique identifier (ATUI). |
AttributeName |
getAttributeName()
Returns the AttributeName (ATN). |
String |
getAttributeValue()
Returns the attribute value (ATV). |
String |
getAtui()
Returns the unique identifier (ATUI). |
String |
getAtv()
Shorthand for getAttributeValue(). |
ContentView |
getContentView()
Returns tbe ContentView definition for this AttributeValue (CVF). |
ContentView |
getCvf()
Shorthand for getContentView(). |
String |
getKeyFields()
Returns a String key which can be used
by equals, compareTo, and hashCode methods. |
String |
getSatui()
Shorthand for getSourceAttributeIdentifier(). |
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 AttributeValueImpl is obsolete. |
boolean |
isSuppressible()
Indicates whether or not this AttributeValue is suppressible. |
void |
setAtn(AttributeName atn)
Shorthand for setAttributeName(AttributeName). |
void |
setAttributeIdentifier(String atui)
Sets the unique identifier (ATUI). |
void |
setAttributeName(AttributeName atn)
Sets the AttributeName (ATN). |
void |
setAttributeValue(String atv)
Sets the attribute value (ATV). |
void |
setAtui(String atui)
Shorthand for setAttributeIdentifier(String). |
void |
setAtv(String atv)
Shorthand for setAttributeValue(String). |
void |
setContentView(ContentView cvf)
Sets tbe ContentView definition for this AttributeValue (CVF). |
void |
setCvf(ContentView cvf)
Shorthand for setContentView(ContentView). |
void |
setSatui(String satui)
Shorthand for setSourceAttributeIdentifier(String). |
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 AttributeValueImpl()
AttributeValue.
public AttributeValueImpl(AttributeValue att)
AttributeValue from the specified AttributeValue.
att - AttributeValue to be copied| Method Detail |
|---|
public AttributeName getAttributeName()
AttributeName (ATN).
getAttributeName in interface AttributeValueAttributeNamepublic AttributeName getAtn()
getAttributeName().
getAtn in interface AttributeValueAttributeNamepublic void setAttributeName(AttributeName atn)
AttributeName (ATN).
setAttributeName in interface AttributeValueatn - the AttributeNamepublic void setAtn(AttributeName atn)
setAttributeName(AttributeName).
setAtn in interface AttributeValueatn - the AttributeNamepublic String getAttributeValue()
getAttributeValue in interface AttributeValuepublic String getAtv()
getAttributeValue().
getAtv in interface AttributeValuepublic void setAttributeValue(String atv)
setAttributeValue in interface AttributeValueatv - the attribute valuepublic void setAtv(String atv)
setAttributeValue(String).
setAtv in interface AttributeValueatv - the attribute valuepublic 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 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 Suppressible getSuppress()
getSuppress in interface SuppressibleElementSuppressible valuepublic boolean isSuppressible()
AttributeValue 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()
AttributeValueImpl is obsolete.
isObsolete in interface SuppressibleElementtrue if obsolete,
false if not obsoletepublic ContentView getContentView()
ContentView definition for this AttributeValue (CVF).
getContentView in interface ContentViewElementContentView definitionpublic void setContentView(ContentView cvf)
ContentView definition for this AttributeValue (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 AttributeValueString composed from the atn and atv.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 an
AttributeValue 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)
AttributeValue 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 | ||||||||