Class Description
- java.lang.Object
-
- in.cdac.medinfo.csnotk.csnolib.model.VersionedComponent
-
- in.cdac.medinfo.csnotk.csnolib.model.Component
-
- in.cdac.medinfo.csnotk.csnolib.model.Description
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CompositeDescription
public class Description extends Component implements java.io.Serializable
Description is a human readable text of a concept.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFSN_TYPE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.BytegetActiveStatus()Returns the status of the Description(active or inactive).java.lang.StringgetCaseSId()Returns the Id that represents the case significance of the Description text.java.lang.StringgetConceptId()Returns the Concept Id.java.lang.StringgetId()Returns the Description Id.java.lang.StringgetLangCode()Returns the languageCode.languageCode that specifies the language for the description text.java.lang.StringgetModuleId()Returns the module Id for the Description.java.lang.StringgetTerm()Returns the term corresponding to the Description.java.util.DategetTime()Returns the effective time for the Description.java.lang.StringgetType()Returns Description type.inthashCode()voidsetActiveStatus(java.lang.Byte status)Sets the status of the Description(active or inactive).voidsetCaseSId(EnumCaseSignificance caseSId)Sets the caseSignificanceId of the description.voidsetConceptId(java.lang.String conceptId)Sets the Concept Id attribute of the description.voidsetId(java.lang.String id)sets SNOMED CT identifier of the description.voidsetLangCode(java.lang.String langCode)Sets the language Code for the Description.voidsetModuleId(java.lang.String modId)Sets the module Id for the Description.voidsetTerm(java.lang.String term)Sets the term for the Description.voidsetTime(java.util.Date date)Sets the effective time for the Description.voidsetType(EnumDescType type)Sets the typeId associated with the Description.java.lang.StringtoString()
-
-
-
Field Detail
-
FSN_TYPE
public static final java.lang.String FSN_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
Returns the Description Id.
-
setId
public void setId(java.lang.String id)
sets SNOMED CT identifier of the description.
-
getActiveStatus
public java.lang.Byte getActiveStatus()
Returns the status of the Description(active or inactive).- Overrides:
getActiveStatusin classVersionedComponent- Returns:
- activeStatus of a component
-
setActiveStatus
public void setActiveStatus(java.lang.Byte status)
Sets the status of the Description(active or inactive).- Overrides:
setActiveStatusin classVersionedComponent- Parameters:
status- represents active Status of the component
-
getModuleId
public java.lang.String getModuleId()
Returns the module Id for the Description.- Overrides:
getModuleIdin classVersionedComponent- Returns:
- module Id of a component
-
setModuleId
public void setModuleId(java.lang.String modId)
Sets the module Id for the Description.- Overrides:
setModuleIdin classVersionedComponent- Parameters:
modId- represents module Id of a component
-
getTime
public java.util.Date getTime()
Returns the effective time for the Description.- Overrides:
getTimein classVersionedComponent- Returns:
- effective time of that component
-
setTime
public void setTime(java.util.Date date)
Sets the effective time for the Description.- Overrides:
setTimein classVersionedComponent- Parameters:
date- - represents effective time
-
getLangCode
public java.lang.String getLangCode()
Returns the languageCode.languageCode that specifies the language for the description text.
-
setLangCode
public void setLangCode(java.lang.String langCode)
Sets the language Code for the Description.
-
getCaseSId
public java.lang.String getCaseSId()
Returns the Id that represents the case significance of the Description text.- Returns:
- caseSignificanceId
-
setCaseSId
public void setCaseSId(EnumCaseSignificance caseSId)
Sets the caseSignificanceId of the description.- Parameters:
caseSId- caseSignificance Id that defines the case sensitiveness of the Description text.
-
getConceptId
public java.lang.String getConceptId()
Returns the Concept Id.- Returns:
- the identifier of the associated
Conceptdescribed.
-
setConceptId
public void setConceptId(java.lang.String conceptId)
Sets the Concept Id attribute of the description.
-
getTerm
public java.lang.String getTerm()
Returns the term corresponding to the Description.- Returns:
- the textual description of the associated
Concept.
-
setTerm
public void setTerm(java.lang.String term)
Sets the term for the Description.- Parameters:
term- The description text for a particular Description.
-
getType
public java.lang.String getType()
Returns Description type.- Returns:
- the type of the description i.e. if the description is either an FSN or a synonym.
-
setType
public void setType(EnumDescType type)
Sets the typeId associated with the Description.- Parameters:
type- the type of the Description. It can be FSN or Synonym.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-