public class MCdateTimeItem extends MCcontentItem
DATETIME type is used to describe the date and 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 |
|---|
MCdateTimeItem()
Default constructor.
|
MCdateTimeItem(MCdateTime dateTime,
MCbasicCodedEntry conceptName)
Creates a new instance of the DATETIME Content Item.
|
| Modifier and Type | Method and Description |
|---|---|
MCcontentItemType |
contentItemType()
Gets the value type of this content item.
|
MCdateTime |
getDateTime()
Gets the date and time of occurrence of event denoted by the Concept Name.
|
void |
read(MCattributeSet source)
Reads the DATETIME content item from the source attribute set.
|
void |
setDateTime(MCdateTime dateTime)
Sets the date and time of occurrence of event denoted by the Concept Name.
|
void |
write(MCattributeSet destination)
Writes the DATETIME 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 MCdateTimeItem()
public MCdateTimeItem(MCdateTime dateTime, MCbasicCodedEntry conceptName)
dateTime - Date and time of occurrence of event.conceptName - Concept Name for the event.public MCdateTime getDateTime()
public void setDateTime(MCdateTime dateTime)
dateTime - Date and time of occurrence of event.public MCcontentItemType contentItemType()
contentItemType in class MCcontentItemMCcontentItemType.DATETIMEpublic 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 a MCitem object.