ca.infoway.messagebuilder.marshalling.hl7.formatter
Class TsFullDatePropertyFormatter
java.lang.Object
ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractPropertyFormatter
ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractNullFlavorPropertyFormatter<V>
ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractAttributePropertyFormatter<V>
ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractValueNullFlavorPropertyFormatter<Date>
ca.infoway.messagebuilder.marshalling.hl7.formatter.TsFullDatePropertyFormatter
- All Implemented Interfaces:
- PropertyFormatter
public class TsFullDatePropertyFormatter
- extends AbstractValueNullFlavorPropertyFormatter<Date>
TS.FULLDATE - Timestamp (fully-specified date only)
Represents a TS.FULLDATE object as an element:
<element-name value="yyyyMMdd"></element-name>
If an object is null, value is replaced by a nullFlavor. So the element would look
like this:
<element-name nullFlavor="something" />
http://www.hl7.org/v3ballot/html/infrastructure/itsxml/datatypes-its-xml.htm#dtimpl-TS
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TsFullDatePropertyFormatter
public TsFullDatePropertyFormatter()
getValue
protected String getValue(Date date,
FormatContext context,
BareANY bareAny)
- Specified by:
getValue
in class AbstractValueNullFlavorPropertyFormatter<Date>
Copyright © 2013. All Rights Reserved.