Uses of Class
ca.uhn.hl7v2.model.DataTypeException

Packages that use DataTypeException
  • Uses of DataTypeException in ca.uhn.hl7v2.model

    Modifier and Type
    Method
    Description
    Composite.getComponent(int number)
    Returns the single component of this composite at the specified position (starting at 0).
    void
    Variable.setData(Type data)
    Sets the data contained by this instance of Variable.
    void
    Varies.setData(Type data)
    Sets the data contained by this instance of Varies.
    void
    AbstractPrimitive.setValue(String theValue)
    Sets the value of this Primitive, first performing validation as specified by getMessage().getValidationContext().
    void
    Primitive.setValue(String value)
    Sets the value of this field if the given value is legal in the context of the implementing class.
  • Uses of DataTypeException in ca.uhn.hl7v2.model.primitive

    Modifier and Type
    Method
    Description
    int
    DT.getDay()
    Returns the day as an integer.
    int
    TSComponentOne.getDay()
    Returns the day as an integer.
    float
    Returns the fractional second value as a float.
    float
    TSComponentOne.getFractSecond()
    Returns the fractional second value as a float.
    int
    Returns the GMT offset value as an integer.
    int
    TSComponentOne.getGMTOffset()
    Returns the GMT offset value as an integer.
    int
    TM.getHour()
    Returns the hour as an integer.
    int
    TSComponentOne.getHour()
    Returns the hour as an integer.
    int
    Returns the minute as an integer.
    int
    TSComponentOne.getMinute()
    Returns the minute as an integer.
    int
    Returns the month as an integer.
    int
    TSComponentOne.getMonth()
    Returns the month as an integer.
    int
    Returns the second as an integer.
    int
    TSComponentOne.getSecond()
    Returns the second as an integer.
    TSComponentOne.getValueAsCalendar()
    Return the value as a calendar object
    TSComponentOne.getValueAsDate()
    Return the value as a date object Note: Sets fields using precision up to the second
    int
    DT.getYear()
    Returns the year as an integer.
    int
    TSComponentOne.getYear()
    Returns the year as an integer.
    static void
    CommonTS.main(String[] args)
     
    void
    CommonTS.setDateMinutePrecision(int yr, int mnth, int dy, int hr, int min)
    This method takes in integer values for the year, month, day, hour and minute and performs validations, it then sets the value in the object formatted as an HL7 Time Stamp value with year&month&day&hour&minute precision (YYYYMMDDHHMM).
    void
    TSComponentOne.setDateMinutePrecision(int yr, int mnth, int dy, int hr, int min)
     
    void
    CommonTS.setDatePrecision(int yr, int mnth, int dy)
    This method takes in integer values for the year and month and day and performs validations, it then sets the value in the object formatted as an HL7 Time Stamp value with year&month&day precision (YYYYMMDD).
    void
    TSComponentOne.setDatePrecision(int yr, int mnth, int dy)
     
    void
    CommonTS.setDateSecondPrecision(int yr, int mnth, int dy, int hr, int min, float sec)
    This method takes in integer values for the year, month, day, hour, minute, seconds, and fractional seconds (going to the tenthousandths precision).
    void
    TSComponentOne.setDateSecondPrecision(int yr, int mnth, int dy, int hr, int min, float sec)
     
    void
    CommonTM.setHourMinSecondPrecision(int hr, int min, float sec)
    This method takes in integer values for the hour, minute, seconds, and fractional seconds (going to the tenthousandths precision).
    void
    TM.setHourMinSecondPrecision(int hr, int min, float sec)
     
    void
    CommonTM.setHourMinutePrecision(int hr, int min)
    This method takes in integer values for the hour and minute and performs validations, it then sets the value field formatted as an HL7 time value with hour&minute precision (HHMM).
    void
    TM.setHourMinutePrecision(int hr, int min)
     
    void
    CommonTM.setHourPrecision(int hr)
    This method takes in an integer value for the hour and performs validations, it then sets the value field formatted as an HL7 time value with hour precision (HH).
    void
    TM.setHourPrecision(int hr)
     
    void
    CommonTM.setOffset(int signedOffset)
    This method takes in the four digit (signed) GMT offset and sets the offset field
    void
    CommonTS.setOffset(int signedOffset)
    This method takes in the four digit (signed) GMT offset and sets the offset field
    void
    TM.setOffset(int signedOffset)
     
    void
    TSComponentOne.setOffset(int signedOffset)
     
    void
    CommonDT.setValue(String val)
    This method takes in a string HL7 date value and performs validations then sets the value field.
    void
    CommonDT.setValue(Calendar theCalendar)
    Convenience setter which sets the value using a Calendar object.
    void
    CommonDT.setValue(Date theDate)
    Convenience setter which sets the value using a Date object.
    void
    CommonTM.setValue(String val)
    This method takes in a string HL7 Time value and performs validations then sets the value field.
    void
    CommonTM.setValue(Calendar theCalendar)
    Convenience setter which sets the value using a Calendar object.
    void
    CommonTM.setValue(Date theDate)
    Convenience setter which sets the value using a Calendar object.
    void
    CommonTS.setValue(String val)
    This method takes in a string HL7 Time Stamp value and performs validations.
    void
    CommonTS.setValue(Calendar theCalendar)
    Convenience setter which sets the value using a Calendar object.
    void
    CommonTS.setValue(Date theDate)
    Convenience setter which sets the value using a Calendar object.
    void
    DT.setValue(String theValue)
     
    void
    TM.setValue(String theValue)
     
    void
    TSComponentOne.setValue(String theValue)
     
    void
    TSComponentOne.setValue(Calendar theCalendar)
    Convenience setter which sets the value using a Calendar object.
    void
    TSComponentOne.setValue(Date theDate)
    Convenience setter which sets the value using a Calendar object.
    void
    CommonTM.setValueToMinute(Calendar theCalendar)
    Convenience setter which sets the value using a Calendar object.
    void
    CommonTM.setValueToMinute(Date theDate)
    Convenience setter which sets the value using a Date object.
    void
    CommonTS.setValueToMinute(Calendar theCalendar)
    Convenience setter which sets the value using a Calendar object.
    void
    CommonTS.setValueToMinute(Date theDate)
    Convenience setter which sets the value using a Date object.
    void
    TSComponentOne.setValueToMinute(Calendar theCalendar)
    Convenience setter which sets the value using a Calendar object.
    void
    TSComponentOne.setValueToMinute(Date theDate)
    Convenience setter which sets the value using a Date object.
    void
    CommonTM.setValueToSecond(Calendar theCalendar)
    Convenience setter which sets the value using a Calendar object.
    void
    CommonTM.setValueToSecond(Date theDate)
    Convenience setter which sets the value using a Date object.
    void
    CommonTS.setValueToSecond(Calendar theCalendar)
    Convenience setter which sets the value using a Calendar object.
    void
    CommonTS.setValueToSecond(Date theDate)
    Convenience setter which sets the value using a Date object.
    void
    TSComponentOne.setValueToSecond(Calendar theCalendar)
    Convenience setter which sets the value using a Calendar object.
    void
    TSComponentOne.setValueToSecond(Date theDate)
    Convenience setter which sets the value using a Date object.
    void
    CommonDT.setYearMonthDayPrecision(int yr, int mnth, int dy)
    This method takes in integer values for the year and month and day and performs validations, it then sets the value in the object formatted as an HL7 date value with year&month&day precision (YYYYMMDD).
    void
    DT.setYearMonthDayPrecision(int yr, int mnth, int dy)
     
    void
    CommonDT.setYearMonthPrecision(int yr, int mnth)
    This method takes in integer values for the year and month and performs validations, it then sets the value field formatted as an HL7 date value with year&month precision (YYYYMM).
    void
    DT.setYearMonthPrecision(int yr, int mnth)
     
    void
    CommonDT.setYearPrecision(int yr)
    This method takes in an integer value for the year and performs validations, it then sets the value field formatted as an HL7 date.
    void
    DT.setYearPrecision(int yr)
     
    static String
    Returns a string value representing the input Gregorian Calendar object in an Hl7 Date Format.
    static String
    Returns a string value representing the input Gregorian Calendar object in an Hl7 Time Format.
    static String
    Returns a string value representing the input Gregorian Calendar object in an Hl7 TimeStamp Format.
    Modifier
    Constructor
    Description
     
    Constructs a DT object with the given value.
     
    Constructs a TM object with the given value.
     
    Constructs a TS object with the given value.
  • Uses of DataTypeException in ca.uhn.hl7v2.util

    Methods in ca.uhn.hl7v2.util that throw DataTypeException
    Modifier and Type
    Method
    Description
    static void
    DeepCopy.copy(Type from, Type to)
    Copies data from the "from" Type into the "to" Type.