|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.umls.meta.impl.AtomMappingImpl
public class AtomMappingImpl
Default implementation of the AtomMapping
interface.
| Constructor Summary | |
|---|---|
AtomMappingImpl()
Instantiates an empty AtomMapping. |
|
AtomMappingImpl(AtomMapping am)
Instantiates a AtomMapping from the specified AtomMapping. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compares this AtomMapping to another one. |
boolean |
equals(Object o)
Returns true if the specified object is
equal to this object. |
AdditionalRelationshipLabel |
getAdditionalRelationshipLabel()
Returns the AdditionalRelationshipLabel (RELA). |
String |
getAtomIdentifier()
Returns the atom identifier for the first atom (AUI1). |
String |
getAui1()
Shorthand for getAtomIdentifier(). |
String |
getAui2()
Shorthand for getRelatedAtomIdentifier(). |
String |
getConceptIdentifier()
Returns the concept identifier for the first atom (CUI1). |
String |
getCui1()
Returns the concept identifier for the first atom (CUI1). |
String |
getCui2()
Returns the concept identifier for the second atom (CUI2). |
String |
getKeyFields()
Returns a String key which can be used
by equals, compareTo, and hashCode methods. |
String |
getMapin()
Returns the "in current subset" value (MAPIN). |
String |
getMapReason()
Returns the reason for this AtomMapping (MAPREASON). |
RelationshipLabel |
getRel()
Shorthand for getRelationshipLabel(). |
AdditionalRelationshipLabel |
getRela()
Shorthand for getAdditionalRelationshipLabel()). |
String |
getRelatedAtomIdentifier()
Returns the atom identifier for the second atom (AUI2). |
String |
getRelatedConceptIdentifier()
Returns the concept identifier for the second atom (CUI2). |
RelationshipLabel |
getRelationshipLabel()
Returns the relationship between the two concepts (REL). |
String |
getReleaseVersion()
Returns the release version in which the indicated change took place (VER). |
String |
getVer()
Returns the release version in which the indicated change took place (VER). |
int |
hashCode()
Returns a hash code based on all fields. |
boolean |
inCurrentSubset()
Indicates whether or not this AtomMapping is in the current subset (MAPIN). |
void |
setAdditionalRelationshipLabel(AdditionalRelationshipLabel rela)
Sets the AdditionalRelationshipLabel (RELA). |
void |
setAtomIdentifier(String aui1)
Sets the atom identifier for the first atom (AUI1). |
void |
setAui1(String aui1)
Shorthand for setAtomIdentifier(String). |
void |
setAui2(String aui2)
Shorthand for setRelatedAtomIdentifier(String). |
void |
setConceptIdentifier(String cui1)
Sets the concept identifier for the first atom (CUI1). |
void |
setCui1(String cui1)
Sets the concept identifier for the first atom (CUI1). |
void |
setCui2(String cui2)
Shorthand for setRelatedConceptIdentifier(String). |
void |
setInCurrentSubset(boolean mapin)
Sets the flag indicating whether or not this AtomMapping
is in the current subset (MAPIN). |
void |
setMapin(String mapin)
Sets the "in current subset" value (MAPIN). |
void |
setMapReason(String reason)
Sets the reason for this AtomMapping (MAPREASON). |
void |
setRel(RelationshipLabel rel)
Shorthand for setRelationshipLabel(RelationshipLabel). |
void |
setRela(AdditionalRelationshipLabel rela)
Shorthand for setAdditionalRelationshipLabel(AdditionalRelationshipLabel). |
void |
setRelatedAtomIdentifier(String aui2)
Sets the atom identifier for the second atom (AUI2). |
void |
setRelatedConceptIdentifier(String cui2)
Sets the concept identifier for the second atom (CUI2). |
void |
setRelationshipLabel(RelationshipLabel rel)
Sets the relationship between the two concepts (REL). |
void |
setReleaseVersion(String ver)
Sets the release version in which the indicated change took place (VER). |
void |
setVer(String ver)
Sets the release version in which the indicated change took place (VER). |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AtomMappingImpl()
AtomMapping.
public AtomMappingImpl(AtomMapping am)
AtomMapping from the specified AtomMapping.
am - AtomMapping to be copied| Method Detail |
|---|
public String getConceptIdentifier()
getConceptIdentifier in interface AtomMappingpublic String getCui1()
getConceptIdentifier().
getCui1 in interface AtomMappinggetConceptIdentifier()public void setConceptIdentifier(String cui1)
setConceptIdentifier in interface AtomMappingcui1 - the concept identifier for the first atompublic void setCui1(String cui1)
setConceptIdentifier(String).
setCui1 in interface AtomMappingcui1 - the concept identifier for the first atompublic String getAtomIdentifier()
getAtomIdentifier in interface AtomMappingpublic String getAui1()
getAtomIdentifier().
getAui1 in interface AtomMappinggetAtomIdentifier()public void setAtomIdentifier(String aui1)
setAtomIdentifier in interface AtomMappingaui1 - the atom identifier for the first atompublic void setAui1(String aui1)
setAtomIdentifier(String).
setAui1 in interface AtomMappingaui1 - the atom identifier for the first atompublic String getReleaseVersion()
getReleaseVersion in interface AtomMappingpublic String getVer()
getReleaseVersion().
getVer in interface AtomMappingpublic void setReleaseVersion(String ver)
setReleaseVersion in interface AtomMappingver - the release version in which the indicated change took placepublic void setVer(String ver)
setVer in interface AtomMappingver - the release version in which the indicated change took placepublic RelationshipLabel getRelationshipLabel()
getRelationshipLabel in interface AtomMappingpublic RelationshipLabel getRel()
getRelationshipLabel().
getRel in interface AtomMappinggetRelationshipLabel()public void setRelationshipLabel(RelationshipLabel rel)
setRelationshipLabel in interface AtomMappingrel - the relationship between the two conceptspublic void setRel(RelationshipLabel rel)
setRelationshipLabel(RelationshipLabel).
setRel in interface AtomMappingrel - the relationship between the two conceptspublic AdditionalRelationshipLabel getAdditionalRelationshipLabel()
AdditionalRelationshipLabel (RELA).
getAdditionalRelationshipLabel in interface AtomMappingAdditionalRelationshipLabelpublic AdditionalRelationshipLabel getRela()
getAdditionalRelationshipLabel()).
getRela in interface AtomMappinggetAdditionalRelationshipLabel()public void setAdditionalRelationshipLabel(AdditionalRelationshipLabel rela)
AdditionalRelationshipLabel (RELA).
setAdditionalRelationshipLabel in interface AtomMappingrela - the AdditionalRelationshipLabelpublic void setRela(AdditionalRelationshipLabel rela)
setAdditionalRelationshipLabel(AdditionalRelationshipLabel).
setRela in interface AtomMappingrela - the AdditionalRelationshipLabelpublic String getRelatedConceptIdentifier()
getRelatedConceptIdentifier in interface AtomMappingpublic String getCui2()
getRelatedConceptIdentifier().
getCui2 in interface AtomMappinggetRelatedConceptIdentifier()public void setRelatedConceptIdentifier(String cui2)
setRelatedConceptIdentifier in interface AtomMappingcui2 - the concept identifier for the second atompublic void setCui2(String cui2)
setRelatedConceptIdentifier(String).
setCui2 in interface AtomMappingcui2 - the concept identifier for the second atompublic String getRelatedAtomIdentifier()
getRelatedAtomIdentifier in interface AtomMappingpublic String getAui2()
getRelatedAtomIdentifier().
getAui2 in interface AtomMappinggetRelatedAtomIdentifier()public void setRelatedAtomIdentifier(String aui2)
setRelatedAtomIdentifier in interface AtomMappingaui2 - the atom identifier for the second atompublic void setAui2(String aui2)
setRelatedAtomIdentifier(String).
setAui2 in interface AtomMappingaui2 - the atom identifier for the second atompublic String getMapReason()
AtomMapping (MAPREASON).
getMapReason in interface AtomMappingAtomMappingpublic void setMapReason(String reason)
AtomMapping (MAPREASON).
setMapReason in interface AtomMappingreason - the reason for this AtomMappingpublic String getMapin()
getMapin in interface AtomMappingpublic boolean inCurrentSubset()
AtomMapping is in the current subset (MAPIN).
inCurrentSubset in interface AtomMappingboolean true if in current subset,
boolean false if not in current subsetpublic void setMapin(String mapin)
setMapin in interface AtomMappingmapin - the "in current subset" valuepublic void setInCurrentSubset(boolean mapin)
AtomMapping
is in the current subset (MAPIN).
setInCurrentSubset in interface AtomMappingmapin - boolean true if in current subset,
boolean false if not in current subsetpublic 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
AtomMapping 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)
AtomMapping 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 Related ordering
of this and the compare-to objectpublic String getKeyFields()
String key which can be used
by equals, compareTo, and hashCode methods.
getKeyFields in interface AtomMappingString composed from the cui1, ver, rel,
rela, mapreason, cui2, and mapin.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||