Class AnnotationDt
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.composite.AnnotationDt
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeDatatype,ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IDatatype,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseDatatype,org.hl7.fhir.instance.model.api.ICompositeType
public class AnnotationDt extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.ICompositeDatatype
HAPI/FHIR AnnotationDt Datatype ()Definition: A text note which also contains information about who made the statement and when
Requirements:
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AnnotationDt()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)ca.uhn.fhir.model.api.IDatatypegetAuthor()Gets the value(s) for author[x] ().StringgetText()Gets the value(s) for text ().ca.uhn.fhir.model.primitive.StringDtgetTextElement()Gets the value(s) for text ().DategetTime()Gets the value(s) for time ().ca.uhn.fhir.model.primitive.DateTimeDtgetTimeElement()Gets the value(s) for time ().booleanisEmpty()AnnotationDtsetAuthor(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for author[x] ()AnnotationDtsetText(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for text ()AnnotationDtsetText(String theString)Sets the value for text ()AnnotationDtsetTime(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for time ()AnnotationDtsetTime(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for time ()AnnotationDtsetTimeWithSecondsPrecision(Date theDate)Sets the value for time ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
-
-
-
Constructor Detail
-
AnnotationDt
public AnnotationDt()
Constructor
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getAuthor
public ca.uhn.fhir.model.api.IDatatype getAuthor()
Gets the value(s) for author[x] (). creating it if it does not exist. Will not returnnull.Definition: The individual responsible for making the annotation.
-
setAuthor
public AnnotationDt setAuthor(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for author[x] ()Definition: The individual responsible for making the annotation.
-
getTimeElement
public ca.uhn.fhir.model.primitive.DateTimeDt getTimeElement()
Gets the value(s) for time (). creating it if it does not exist. Will not returnnull.Definition: Indicates when this particular annotation was made
-
getTime
public Date getTime()
Gets the value(s) for time (). creating it if it does not exist. This method may returnnull.Definition: Indicates when this particular annotation was made
-
setTime
public AnnotationDt setTime(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for time ()Definition: Indicates when this particular annotation was made
-
setTime
public AnnotationDt setTime(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for time ()Definition: Indicates when this particular annotation was made
-
setTimeWithSecondsPrecision
public AnnotationDt setTimeWithSecondsPrecision(Date theDate)
Sets the value for time ()Definition: Indicates when this particular annotation was made
-
getTextElement
public ca.uhn.fhir.model.primitive.StringDt getTextElement()
Gets the value(s) for text (). creating it if it does not exist. Will not returnnull.Definition: The text of the annotation
-
getText
public String getText()
Gets the value(s) for text (). creating it if it does not exist. This method may returnnull.Definition: The text of the annotation
-
setText
public AnnotationDt setText(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for text ()Definition: The text of the annotation
-
setText
public AnnotationDt setText(String theString)
Sets the value for text ()Definition: The text of the annotation
-
-