org.openmrs
Class ConceptNumeric
java.lang.Object
org.openmrs.BaseOpenmrsObject
org.openmrs.Concept
org.openmrs.ConceptNumeric
- All Implemented Interfaces:
- java.io.Serializable, Attributable<Concept>, Auditable, OpenmrsObject, Retireable
public class ConceptNumeric
- extends Concept
- implements java.io.Serializable
The ConceptNumeric extends upon the Concept object by adding some number range values
- See Also:
Concept
,
Serialized Form
Constructor Summary |
ConceptNumeric()
default constructor |
ConceptNumeric(Concept c)
Optional constructor for turning a Concept into a ConceptNumeric
Note: This cannot copy over numeric specific values |
ConceptNumeric(java.lang.Integer conceptId)
Generic constructor taking the primary key |
Methods inherited from class org.openmrs.Concept |
addAnswer, addConceptMapping, addDescription, addName, addSetMember, addSetMember, findNameTaggedWith, findPossibleValues, getAllConceptNameLocales, getAnswers, getAnswers, getBestName, getBestShortName, getChangedBy, getCompatibleNames, getConceptClass, getConceptId, getConceptMappings, getConceptSets, getCreator, getDatatype, getDateChanged, getDateCreated, getDateRetired, getDescription, getDescription, getDescription, getDescriptions, getDisplayString, getFullySpecifiedName, getId, getIndexTerms, getIndexTermsForLocale, getName, getName, getName, getNames, getNames, getNames, getPossibleValues, getPreferredName, getPreferredNameForCountry, getPreferredNameInLanguage, getRetired, getRetiredBy, getRetireReason, getSet, getSetMembers, getShortestName, getShortNameForCountry, getShortNameInLanguage, getShortNameInLocale, getShortNames, getShortNamesForLocale, getSortedAnswers, getSynonyms, getSynonyms, getVersion, hasName, hydrate, isComplex, isNamed, isRetired, isSet, removeAnswer, removeConceptMapping, removeDescription, removeName, serialize, setAnswers, setChangedBy, setConceptClass, setConceptId, setConceptMappings, setConceptSets, setCreator, setDatatype, setDateChanged, setDateCreated, setDateRetired, setDescriptions, setFullySpecifiedName, setId, setNames, setPreferredName, setPreferredName, setRetired, setRetiredBy, setRetireReason, setSet, setShortName, setShortName, setVersion, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
ConceptNumeric
public ConceptNumeric()
- default constructor
ConceptNumeric
public ConceptNumeric(java.lang.Integer conceptId)
- Generic constructor taking the primary key
- Parameters:
conceptId
- key for this numeric concept
ConceptNumeric
public ConceptNumeric(Concept c)
- Optional constructor for turning a Concept into a ConceptNumeric
Note: This cannot copy over numeric specific values
- Parameters:
c
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class Concept
- See Also:
Concept.equals(java.lang.Object)
- Expected behavior:
- not return true if obj is concept
hashCode
public int hashCode()
- Overrides:
hashCode
in class Concept
- See Also:
Concept.hashCode()
getHiAbsolute
public java.lang.Double getHiAbsolute()
setHiAbsolute
public void setHiAbsolute(java.lang.Double hiAbsolute)
getHiCritical
public java.lang.Double getHiCritical()
setHiCritical
public void setHiCritical(java.lang.Double hiCritical)
getHiNormal
public java.lang.Double getHiNormal()
setHiNormal
public void setHiNormal(java.lang.Double hiNormal)
getLowAbsolute
public java.lang.Double getLowAbsolute()
setLowAbsolute
public void setLowAbsolute(java.lang.Double lowAbsolute)
getLowCritical
public java.lang.Double getLowCritical()
setLowCritical
public void setLowCritical(java.lang.Double lowCritical)
getLowNormal
public java.lang.Double getLowNormal()
setLowNormal
public void setLowNormal(java.lang.Double lowNormal)
getUnits
public java.lang.String getUnits()
setUnits
public void setUnits(java.lang.String units)
isPrecise
public java.lang.Boolean isPrecise()
getPrecise
public java.lang.Boolean getPrecise()
setPrecise
public void setPrecise(java.lang.Boolean precise)
isNumeric
public boolean isNumeric()
- This method will always return true for ConceptNumeric objects that have a datatype of
Numeric
- Overrides:
isNumeric
in class Concept
- Returns:
- false
- See Also:
Concept.isNumeric()
Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change