Package org.hl7.v3

Class TS

Direct Known Subclasses:
IVXBTS, PPDTS, SXCMTS, UVPTS

public class TS extends QTY
A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression.

Java class for TS complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="TS">
   <complexContent>
     <extension base="{urn:hl7-org:v3}QTY">
       <attribute name="value" type="{urn:hl7-org:v3}ts" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • value

      protected String value
  • Constructor Details

    • TS

      public TS()
  • Method Details

    • getValue

      public String getValue()
      Gets the value of the value property.
      Returns:
      possible object is String
    • setValue

      public void setValue(String value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is String
    • withValue

      public TS withValue(String value)
    • withNullFlavor

      public TS withNullFlavor(String... values)
      Overrides:
      withNullFlavor in class QTY
    • withNullFlavor

      public TS withNullFlavor(Collection<String> values)
      Overrides:
      withNullFlavor in class QTY
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class QTY
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class QTY
    • toString

      public String toString()
      Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
      Overrides:
      toString in class QTY