public class Period extends Type implements ICompositeType
| Constructor and Description |
|---|
Period() |
| Modifier and Type | Method and Description |
|---|---|
Period |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
Date |
getEnd() |
DateTimeType |
getEndElement() |
Date |
getStart() |
DateTimeType |
getStartElement() |
boolean |
hasEnd() |
boolean |
hasEndElement() |
boolean |
hasStart() |
boolean |
hasStartElement() |
boolean |
isEmpty() |
Period |
setEnd(Date value) |
Period |
setEndElement(DateTimeType value) |
Period |
setStart(Date value) |
Period |
setStartElement(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 DateTimeType getStartElement()
start (The start of the period. The boundary is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the valuepublic boolean hasStartElement()
public boolean hasStart()
public Period setStartElement(DateTimeType value)
value - start (The start of the period. The boundary is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the valuepublic Date getStart()
public Period setStart(Date value)
value - The start of the period. The boundary is inclusive.public DateTimeType getEndElement()
end (The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the valuepublic boolean hasEndElement()
public boolean hasEnd()
public Period setEndElement(DateTimeType value)
value - end (The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the valuepublic Date getEnd()
public Period setEnd(Date value)
value - The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.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.