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, setRelationshipType
public 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 MCcontentItem
MCcontentItemType.TIME
public void read(MCattributeSet source)
read
in interface MCdataSetSerializable
read
in class MCcontentItem
source
- Source attribute set.MCexception
- If the source parameter is null.public void write(MCattributeSet destination)
write
in interface MCdataSetSerializable
write
in class MCcontentItem
destination
- Destination attribute set.MCexception
- If the destination parameter is null or
is NOT an MCitem
object.