@Indexed public class ConceptNumeric extends Concept
Concept
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ConceptNumeric()
default constructor
|
ConceptNumeric(Concept c)
Optional constructor for turning a Concept into a ConceptNumeric
Note: This cannot copy over numeric specific values |
ConceptNumeric(Integer conceptId)
Generic constructor taking the primary key
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getAllowDecimal() |
Integer |
getDisplayPrecision() |
Double |
getHiAbsolute() |
Double |
getHiCritical() |
Double |
getHiNormal() |
Double |
getLowAbsolute() |
Double |
getLowCritical() |
Double |
getLowNormal() |
String |
getUnits() |
Boolean |
isAllowDecimal()
Deprecated.
as of 2.0, use
getAllowDecimal() |
boolean |
isNumeric()
This method will always return true for ConceptNumeric objects that have a datatype of
Numeric
|
void |
setAllowDecimal(Boolean allowDecimal) |
void |
setDisplayPrecision(Integer displayPrecision) |
void |
setHiAbsolute(Double hiAbsolute) |
void |
setHiCritical(Double hiCritical) |
void |
setHiNormal(Double hiNormal) |
void |
setLowAbsolute(Double lowAbsolute) |
void |
setLowCritical(Double lowCritical) |
void |
setLowNormal(Double lowNormal) |
void |
setUnits(String units) |
addAnswer, addAttribute, addConceptMapping, addDescription, addName, addSetMember, addSetMember, findNameTaggedWith, findPossibleValues, getActiveAttributes, getActiveAttributes, getAllConceptNameLocales, getAnswers, getAnswers, getAttributes, getChangedBy, getCompatibleNames, getConceptClass, getConceptId, getConceptMappings, getConceptSets, getCreator, getDatatype, getDateChanged, getDateCreated, getDateRetired, getDescription, getDescription, getDescription, getDescriptions, getDisplayString, getFullySpecifiedName, getId, getIndexTerms, getIndexTermsForLocale, getName, getName, getName, getName, getNames, getNames, getNames, getPossibleValues, getPreferredName, getRetired, getRetiredBy, getRetireReason, getSet, getSetMembers, getSetMembers, getShortestName, getShortNameInLocale, getShortNames, getSynonyms, getSynonyms, getVersion, hasName, hydrate, isComplex, isNamed, isRetired, isSet, removeAnswer, removeConceptMapping, removeDescription, removeName, serialize, setAnswers, setAttributes, setChangedBy, setConceptClass, setConceptId, setConceptMappings, setConceptSets, setCreator, setDatatype, setDateChanged, setDateCreated, setDateRetired, setDescriptions, setFullySpecifiedName, setId, setNames, setPreferredName, setRetired, setRetiredBy, setRetireReason, setSet, setShortName, setVersion, toString
equals, getUuid, hashCode, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final long serialVersionUID
public ConceptNumeric()
public ConceptNumeric(Integer conceptId)
conceptId
- key for this numeric conceptpublic ConceptNumeric(Concept c)
c
- Should make deep copy of collections
Should change reference to the parent object for objects in answers collection
Should change reference to the parent object for objects in conceptSets collection
Should change reference to the parent object for objects in names collection
Should change reference to the parent object for objects in descriptions collection
Should change reference to the parent object for objects in conceptMappings collectionpublic Double getHiAbsolute()
public void setHiAbsolute(Double hiAbsolute)
public Double getHiCritical()
public void setHiCritical(Double hiCritical)
public Double getHiNormal()
public void setHiNormal(Double hiNormal)
public Double getLowAbsolute()
public void setLowAbsolute(Double lowAbsolute)
public Double getLowCritical()
public void setLowCritical(Double lowCritical)
public Double getLowNormal()
public void setLowNormal(Double lowNormal)
public String getUnits()
public void setUnits(String units)
public boolean isNumeric()
isNumeric
in class Concept
Concept.isNumeric()
public Integer getDisplayPrecision()
public void setDisplayPrecision(Integer displayPrecision)
displayPrecision
- sets displayPrecision to be used for the display of a numeric valuepublic Boolean getAllowDecimal()
public void setAllowDecimal(Boolean allowDecimal)
@Deprecated public Boolean isAllowDecimal()
getAllowDecimal()
Copyright © 2024 OpenMRS Inc.. All rights reserved.