public class Annotation extends Type implements ICompositeType
| Constructor and Description |
|---|
Annotation() |
Annotation(StringType text) |
| Modifier and Type | Method and Description |
|---|---|
Annotation |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
Type |
getAuthor() |
Reference |
getAuthorReference() |
StringType |
getAuthorStringType() |
String |
getText() |
StringType |
getTextElement() |
Date |
getTime() |
DateTimeType |
getTimeElement() |
boolean |
hasAuthor() |
boolean |
hasAuthorReference() |
boolean |
hasAuthorStringType() |
boolean |
hasText() |
boolean |
hasTextElement() |
boolean |
hasTime() |
boolean |
hasTimeElement() |
boolean |
isEmpty() |
Annotation |
setAuthor(Type value) |
Annotation |
setText(String value) |
Annotation |
setTextElement(StringType value) |
Annotation |
setTime(Date value) |
Annotation |
setTimeElement(DateTimeType value) |
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getId, getIdElement, hasExtension, hasId, hasIdElement, setId, setIdElementchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNpublic Annotation()
public Annotation(StringType text)
public Type getAuthor()
author (The individual responsible for making the annotation.)public StringType getAuthorStringType() throws Exception
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 Date getTime()
public 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 String getText()
public Annotation setText(String value)
value - The text of the annotation.public Annotation copy()
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2015 University Health Network. All rights reserved.