|
||||||||||
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
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 copiedMethod Detail |
public String getConceptIdentifier()
getConceptIdentifier
in interface AtomMapping
public String getCui1()
getConceptIdentifier()
.
getCui1
in interface AtomMapping
getConceptIdentifier()
public void setConceptIdentifier(String cui1)
setConceptIdentifier
in interface AtomMapping
cui1
- the concept identifier for the first atompublic void setCui1(String cui1)
setConceptIdentifier(String)
.
setCui1
in interface AtomMapping
cui1
- the concept identifier for the first atompublic String getAtomIdentifier()
getAtomIdentifier
in interface AtomMapping
public String getAui1()
getAtomIdentifier()
.
getAui1
in interface AtomMapping
getAtomIdentifier()
public void setAtomIdentifier(String aui1)
setAtomIdentifier
in interface AtomMapping
aui1
- the atom identifier for the first atompublic void setAui1(String aui1)
setAtomIdentifier(String)
.
setAui1
in interface AtomMapping
aui1
- the atom identifier for the first atompublic String getReleaseVersion()
getReleaseVersion
in interface AtomMapping
public String getVer()
getReleaseVersion()
.
getVer
in interface AtomMapping
public void setReleaseVersion(String ver)
setReleaseVersion
in interface AtomMapping
ver
- the release version in which the indicated change took placepublic void setVer(String ver)
setVer
in interface AtomMapping
ver
- the release version in which the indicated change took placepublic RelationshipLabel getRelationshipLabel()
getRelationshipLabel
in interface AtomMapping
public RelationshipLabel getRel()
getRelationshipLabel()
.
getRel
in interface AtomMapping
getRelationshipLabel()
public void setRelationshipLabel(RelationshipLabel rel)
setRelationshipLabel
in interface AtomMapping
rel
- the relationship between the two conceptspublic void setRel(RelationshipLabel rel)
setRelationshipLabel(RelationshipLabel)
.
setRel
in interface AtomMapping
rel
- the relationship between the two conceptspublic AdditionalRelationshipLabel getAdditionalRelationshipLabel()
AdditionalRelationshipLabel
(RELA).
getAdditionalRelationshipLabel
in interface AtomMapping
AdditionalRelationshipLabel
public AdditionalRelationshipLabel getRela()
getAdditionalRelationshipLabel()
).
getRela
in interface AtomMapping
getAdditionalRelationshipLabel()
public void setAdditionalRelationshipLabel(AdditionalRelationshipLabel rela)
AdditionalRelationshipLabel
(RELA).
setAdditionalRelationshipLabel
in interface AtomMapping
rela
- the AdditionalRelationshipLabel
public void setRela(AdditionalRelationshipLabel rela)
setAdditionalRelationshipLabel(AdditionalRelationshipLabel)
.
setRela
in interface AtomMapping
rela
- the AdditionalRelationshipLabel
public String getRelatedConceptIdentifier()
getRelatedConceptIdentifier
in interface AtomMapping
public String getCui2()
getRelatedConceptIdentifier()
.
getCui2
in interface AtomMapping
getRelatedConceptIdentifier()
public void setRelatedConceptIdentifier(String cui2)
setRelatedConceptIdentifier
in interface AtomMapping
cui2
- the concept identifier for the second atompublic void setCui2(String cui2)
setRelatedConceptIdentifier(String)
.
setCui2
in interface AtomMapping
cui2
- the concept identifier for the second atompublic String getRelatedAtomIdentifier()
getRelatedAtomIdentifier
in interface AtomMapping
public String getAui2()
getRelatedAtomIdentifier()
.
getAui2
in interface AtomMapping
getRelatedAtomIdentifier()
public void setRelatedAtomIdentifier(String aui2)
setRelatedAtomIdentifier
in interface AtomMapping
aui2
- the atom identifier for the second atompublic void setAui2(String aui2)
setRelatedAtomIdentifier(String)
.
setAui2
in interface AtomMapping
aui2
- the atom identifier for the second atompublic String getMapReason()
AtomMapping
(MAPREASON).
getMapReason
in interface AtomMapping
AtomMapping
public void setMapReason(String reason)
AtomMapping
(MAPREASON).
setMapReason
in interface AtomMapping
reason
- the reason for this AtomMapping
public String getMapin()
getMapin
in interface AtomMapping
public boolean inCurrentSubset()
AtomMapping
is in the current subset (MAPIN).
inCurrentSubset
in interface AtomMapping
boolean
true if in current subset,
boolean
false if not in current subsetpublic void setMapin(String mapin)
setMapin
in interface AtomMapping
mapin
- the "in current subset" valuepublic void setInCurrentSubset(boolean mapin)
AtomMapping
is in the current subset (MAPIN).
setInCurrentSubset
in interface AtomMapping
mapin
- boolean
true if in current subset,
boolean
false if not in current subsetpublic int hashCode()
public 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.
o
- 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 Comparable
o
- 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 AtomMapping
String
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 |