|
||||||||||
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
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 copiedMethod Detail |
public AttributeName getAttributeName()
AttributeName
(ATN).
getAttributeName
in interface AttributeValue
AttributeName
public AttributeName getAtn()
getAttributeName()
.
getAtn
in interface AttributeValue
AttributeName
public void setAttributeName(AttributeName atn)
AttributeName
(ATN).
setAttributeName
in interface AttributeValue
atn
- the AttributeName
public void setAtn(AttributeName atn)
setAttributeName(AttributeName)
.
setAtn
in interface AttributeValue
atn
- the AttributeName
public String getAttributeValue()
getAttributeValue
in interface AttributeValue
public String getAtv()
getAttributeValue()
.
getAtv
in interface AttributeValue
public void setAttributeValue(String atv)
setAttributeValue
in interface AttributeValue
atv
- the attribute valuepublic void setAtv(String atv)
setAttributeValue(String)
.
setAtv
in interface AttributeValue
atv
- the attribute valuepublic String getSourceAttributeIdentifier()
getSourceAttributeIdentifier
in interface AttributeElement
public String getSatui()
getSourceAttributeIdentifier()
.
getSatui
in interface AttributeElement
public void setSourceAttributeIdentifier(String satui)
setSourceAttributeIdentifier
in interface AttributeElement
satui
- the SATUIpublic void setSatui(String satui)
setSourceAttributeIdentifier(String)
.
setSatui
in interface AttributeElement
satui
- the SATUIpublic String getAttributeIdentifier()
getAttributeIdentifier
in interface AttributeElement
public String getAtui()
getAttributeIdentifier()
.
getAtui
in interface AttributeElement
public void setAttributeIdentifier(String atui)
setAttributeIdentifier
in interface AttributeElement
atui
- the ATUIpublic void setAtui(String atui)
setAttributeIdentifier(String)
.
setAtui
in interface AttributeElement
atui
- the ATUIpublic Suppressible getSuppress()
getSuppress
in interface SuppressibleElement
Suppressible
valuepublic boolean isSuppressible()
AttributeValue
is suppressible.
isSuppressible
in interface SuppressibleElement
true
if suppressible,
false
if not suppressiblepublic void setSuppress(Suppressible suppress)
setSuppress
in interface SuppressibleElement
suppress
- the Suppressible
valuepublic boolean isObsolete()
AttributeValueImpl
is obsolete.
isObsolete
in interface SuppressibleElement
true
if obsolete,
false
if not obsoletepublic ContentView getContentView()
ContentView
definition for this AttributeValue
(CVF).
getContentView
in interface ContentViewElement
ContentView
definitionpublic void setContentView(ContentView cvf)
ContentView
definition for this AttributeValue
(CVF).
setContentView
in interface ContentViewElement
cvf
- the ContentView
definitionpublic ContentView getCvf()
getContentView()
.
getCvf
in interface ContentViewElement
ContentView
definitionpublic void setCvf(ContentView cvf)
setContentView(ContentView)
.
setCvf
in interface ContentViewElement
cvf
- the ContentView
definitionpublic String getKeyFields()
String
key which can be used
by equals, compareTo, and hashCode methods.
getKeyFields
in interface AttributeValue
String
composed from the atn and atv.public int hashCode()
public 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.
o
- 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 Comparable
o
- 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 |