|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.umls.meta.impl.ComponentHistoryImpl
public class ComponentHistoryImpl
Default implementation of ComponentHistory.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface gov.nih.nlm.umls.meta.SourceElement |
|---|
SourceElement.BySourceComparator, SourceElement.BySourceRestrictor |
| Constructor Summary | |
|---|---|
ComponentHistoryImpl()
Instantiates an empty ComponentHistory. |
|
ComponentHistoryImpl(ComponentHistory co)
Instantiates a ComponentHistory from the
specified ComponentHistory. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compares this ComponentHistory to another one. |
boolean |
equals(Object o)
Returns true if the specified object is
equal to this object. |
String |
getChangeKey()
Returns the change key which identifies what changed (CHANGEKEY). |
String |
getChangeType()
Returns the change type which identifies what changed (CHANGETYPE). |
String |
getChangeValue()
Returns the new value for what changed (CHANGEVALUE). |
Concept |
getConcept()
Returns the Concept that holds this ComponentHistory. |
ContentView |
getContentView()
Returns tbe ContentView definition for this Locator (CVF). |
ContentView |
getCvf()
Shorthand for getContentView(). |
String |
getIdentifier()
Returns the unique identifier (UI). |
String |
getKeyFields()
Returns a String key which can be used
by equals, compareTo, and hashCode methods. |
String |
getReason()
Returns the reason for the change (REASON). |
Source |
getSource()
Returns the source for this ComponentHistory. |
String |
getSver()
Shorthand for getVersion(). |
String |
getUi()
Shorthand for getIdentifier(). |
String |
getVersion()
Returns the release date or version number of a source (SVER). |
int |
hashCode()
Return a hash code based on key fields. |
void |
setChangeKey(String changekey)
Sets the change key to identify what changed (CHANGEKEY). |
void |
setChangeType(String changetype)
Sets the change type to identify what changed (CHANGETYPE). |
void |
setChangeValue(String changeval)
Sets the new value for what changed (CHANGEVALUE). |
void |
setConcept(Concept concept)
Sets the Concept that holds this ComponentHistory. |
void |
setContentView(ContentView cvf)
Sets tbe ContentView definition for this Locator (CVF). |
void |
setCvf(ContentView cvf)
Shorthand for setContentView(ContentView). |
void |
setIdentifier(String ui)
Sets the unique identifier (UI). |
void |
setReason(String reason)
Sets the reason for the change (REASON). |
void |
setSource(Source source)
Sets the source for this ComponentHistory. |
void |
setSver(String sver)
Shorthand for setVersion(String). |
void |
setUi(String ui)
Shorthand for setIdentifier(String). |
void |
setVersion(String sver)
Sets the release date or version number of a source (SVER). |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentHistoryImpl()
ComponentHistory.
public ComponentHistoryImpl(ComponentHistory co)
ComponentHistory from the
specified ComponentHistory.
co - the ComponentHistory to be copied| Method Detail |
|---|
public String getVersion()
getVersion in interface ComponentHistorypublic String getSver()
getVersion().
getSver in interface ComponentHistorygetVersion()public void setVersion(String sver)
setVersion in interface ComponentHistorysver - the release date or version number of a sourcepublic void setSver(String sver)
setVersion(String).
setSver in interface ComponentHistorysver - the release date or version number of a sourcepublic String getChangeKey()
getChangeKey in interface ComponentHistorypublic void setChangeKey(String changekey)
setChangeKey in interface ComponentHistorychangekey - the change keypublic String getChangeType()
getChangeType in interface ComponentHistorypublic void setChangeType(String changetype)
setChangeType in interface ComponentHistorychangetype - the change typepublic String getChangeValue()
getChangeValue in interface ComponentHistorypublic void setChangeValue(String changeval)
setChangeValue in interface ComponentHistorychangeval - the change valuepublic String getReason()
getReason in interface ComponentHistorypublic void setReason(String reason)
setReason in interface ComponentHistoryreason - reason for the changedpublic Concept getConcept()
Concept that holds this ComponentHistory.
getConcept in interface ConceptElementConcept that holds this ComponentHistorypublic void setConcept(Concept concept)
Concept that holds this ComponentHistory.
setConcept in interface ConceptElementconcept - the Concept that holds this ComponentHistorypublic Source getSource()
ComponentHistory.
getSource in interface SourceElementSourcepublic void setSource(Source source)
ComponentHistory.
setSource in interface SourceElementsource - Sourcepublic String getUi()
getIdentifier().
getUi in interface ComponentHistorygetIdentifier()public String getIdentifier()
getIdentifier in interface ComponentHistorypublic void setIdentifier(String ui)
setIdentifier in interface ComponentHistoryui - the new valuepublic void setUi(String ui)
setIdentifier(String).
setUi in interface ComponentHistoryui - the new valuepublic ContentView getContentView()
ContentView definition for this Locator (CVF).
getContentView in interface ContentViewElementContentView definitionpublic void setContentView(ContentView cvf)
ContentView definition for this Locator (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 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
ComponentHistory 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)
ComponentHistory 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 objectpublic String getKeyFields()
String key which can be used
by equals, compareTo, and hashCode methods.
getKeyFields in interface ComponentHistoryString composed from the ui, change,
newval, and description.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||