public class MCtimeItem extends MCcontentItem
TIME Content Item is used to keep the time of occurrence of the type of event denoted by the Concept Name which is a code sequence describing the concept represented by this content item.
| Constructor and Description |
|---|
MCtimeItem()
Default constructor.
|
MCtimeItem(MCtime time,
MCbasicCodedEntry conceptName)
Creates a new instance of the TIME Content Item.
|
| Modifier and Type | Method and Description |
|---|---|
MCcontentItemType |
contentItemType()
Gets the value type of this content item.
|
MCtime |
getTime()
Gets the time of occurrence of event.
|
void |
read(MCattributeSet source)
Reads the TIME content item from the source attribute set.
|
void |
setTime(MCtime time)
Gets the time of occurrence of event.
|
void |
write(MCattributeSet destination)
Writes the TIME content item to the destination attribute set.
|
addChild, addChildAt, addReference, getChildAt, getChildren, getConceptName, getDataContext, getItemId, getObservationDateTime, getObservationUID, getParent, getPosition, getReferences, getRelationshipType, getRootItem, removeChild, removeChildAt, removeReference, removeReference, setConceptName, setDataContext, setObservationDataTime, setObservationUID, setRelationshipTypepublic MCtimeItem()
public MCtimeItem(MCtime time, MCbasicCodedEntry conceptName)
time - Time of occurrence of event.conceptName - Concept Name for the event.public MCtime getTime()
public void setTime(MCtime time)
time - Time of occurrence of event.public MCcontentItemType contentItemType()
contentItemType in class MCcontentItemMCcontentItemType.TIMEpublic void read(MCattributeSet source)
read in interface MCdataSetSerializableread in class MCcontentItemsource - Source attribute set.MCexception - If the source parameter is null.public void write(MCattributeSet destination)
write in interface MCdataSetSerializablewrite in class MCcontentItemdestination - Destination attribute set.MCexception - If the destination parameter is null or
is NOT an MCitem object.