public class Annotation extends Type implements ICompositeType
| Modifier and Type | Field and Description |
|---|---|
protected Type |
author
The individual responsible for making the annotation.
|
protected StringType |
text
The text of the annotation.
|
protected DateTimeType |
time
Indicates when this particular annotation was made.
|
| Constructor and Description |
|---|
Annotation()
Constructor
|
Annotation(StringType text)
Constructor
|
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected DateTimeType time
protected StringType text
public Annotation()
public Annotation(StringType text)
public Type getAuthor()
author (The individual responsible for making the annotation.)public Reference getAuthorReference() throws FHIRException
author (The individual responsible for making the annotation.)FHIRExceptionpublic boolean hasAuthorReference()
public StringType getAuthorStringType() throws FHIRException
author (The individual responsible for making the annotation.)FHIRExceptionpublic boolean hasAuthorStringType()
public boolean hasAuthor()
public Annotation setAuthor(Type value)
value - author (The individual responsible for making the annotation.)public DateTimeType getTimeElement()
time (Indicates when this particular annotation was made.). This is the underlying object with id, value and extensions. The accessor "getTime" gives direct access to the valuepublic boolean hasTimeElement()
public boolean hasTime()
public Annotation setTimeElement(DateTimeType value)
value - time (Indicates when this particular annotation was made.). This is the underlying object with id, value and extensions. The accessor "getTime" gives direct access to the valuepublic Annotation setTime(Date value)
value - Indicates when this particular annotation was made.public StringType getTextElement()
text (The text of the annotation.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the valuepublic boolean hasTextElement()
public boolean hasText()
public Annotation setTextElement(StringType value)
value - text (The text of the annotation.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the valuepublic Annotation setText(String value)
value - The text of the annotation.protected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class ElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class ElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class ElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class ElementFHIRExceptionpublic Annotation copy()
protected Annotation typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2017 University Health Network. All rights reserved.