|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.umls.meta.impl.AttributeImpl
public class AttributeImpl
Default implementation of the Attribute interface.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface gov.nih.nlm.umls.meta.SourceElement |
|---|
SourceElement.BySourceComparator, SourceElement.BySourceRestrictor |
| Field Summary | |
|---|---|
protected String |
key_fields
|
protected boolean |
key_fields_flag
|
| Constructor Summary | |
|---|---|
AttributeImpl()
Instantiate an empty Attribute. |
|
AttributeImpl(Attribute att)
This is a copy constructor for Attribute. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compares this Attribute 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(). |
Concept |
getConcept()
Returns the Concept that holds this Attribute. |
ContentView |
getContentView()
Returns tbe ContentView definition for this Attribute (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(). |
Source |
getSource()
Returns the source for this Attribute. |
String |
getSourceAttributeIdentifier()
Returns the source asserted attribute identifier (SATUI). |
SourceIdentifierType |
getSourceIdentifierType()
Returns the SourceIdentifierType to which this element is connected. |
Suppressible |
getSuppress()
Returns the suppressibility value (SUPPRESS). |
int |
hashCode()
Return a hash code based on key fields. |
boolean |
isObsolete()
Indicates whether or not this AttributeImpl is obsolete. |
boolean |
isSuppressible()
Indicates whether or not this Attribute 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 |
setConcept(Concept concept)
Sets the Concept that holds this Attribute. |
void |
setContentView(ContentView cvf)
Sets tbe ContentView definition for this Attribute (CVF). |
void |
setCvf(ContentView cvf)
Shorthand for setContentView(ContentView). |
void |
setSatui(String satui)
Shorthand for setSourceAttributeIdentifier(String). |
void |
setSource(Source source)
Sets the source for this Attribute. |
void |
setSourceAttributeIdentifier(String satui)
Sets the source asserted attribute identifier (SATUI). |
void |
setSourceIdentifierType(SourceIdentifierType sit)
Sets the SourceIdentifierType to which this element is connected. |
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 |
| Field Detail |
|---|
protected boolean key_fields_flag
protected String key_fields
| Constructor Detail |
|---|
public AttributeImpl()
Attribute.
public AttributeImpl(Attribute att)
Attribute.
att - Attribute to be copied| Method Detail |
|---|
public SourceIdentifierType getSourceIdentifierType()
SourceIdentifierType to which this element is connected.
getSourceIdentifierType in interface SourceIdentifierElementSourceIdentifierType to which this element is connectedpublic void setSourceIdentifierType(SourceIdentifierType sit)
SourceIdentifierType to which this element is connected.
setSourceIdentifierType in interface SourceIdentifierElementsit - the SourceIdentifierType to which this element is connected.public 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 Attribute.
getConcept in interface ConceptElementConcept that holds this Attributepublic void setConcept(Concept concept)
Concept that holds this Attribute.
setConcept in interface ConceptElementconcept - the Concept that holds this Attributepublic Source getSource()
Attribute.
getSource in interface SourceElementSourcepublic void setSource(Source source)
Attribute.
setSource in interface SourceElementsource - Sourcepublic ContentView getContentView()
ContentView definition for this Attribute (CVF).
getContentView in interface ContentViewElementContentView definitionpublic void setContentView(ContentView cvf)
ContentView definition for this Attribute (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 AttributeName getAttributeName()
AttributeName (ATN).
getAttributeName in interface AttributeAttributeNamepublic AttributeName getAtn()
getAttributeName().
getAtn in interface AttributeAttributeNamepublic void setAttributeName(AttributeName atn)
AttributeName (ATN).
setAttributeName in interface Attributeatn - the AttributeNamepublic void setAtn(AttributeName atn)
setAttributeName(AttributeName).
setAtn in interface Attributeatn - the AttributeNamepublic String getAttributeValue()
getAttributeValue in interface Attributepublic String getAtv()
getAttributeValue().
getAtv in interface Attributepublic void setAttributeValue(String atv)
setAttributeValue in interface Attributeatv - the attribute valuepublic void setAtv(String atv)
setAttributeValue(String).
setAtv in interface Attributeatv - the attribute valuepublic Suppressible getSuppress()
getSuppress in interface SuppressibleElementSuppressible valuepublic boolean isSuppressible()
Attribute 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()
AttributeImpl is obsolete.
isObsolete in interface SuppressibleElementtrue if obsolete,
false if not obsoletepublic String getKeyFields()
String key which can be used
by equals, compareTo, and hashCode methods.
getKeyFields in interface AttributeString composed from the cui, atui,
versioned source, atn, atv, and satui.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
Attribute 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)
Attribute 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 | ||||||||