Uses of Class
ca.uhn.hl7v2.model.DataTypeException
Packages that use DataTypeException
-
Uses of DataTypeException in ca.uhn.hl7v2.model
Methods in ca.uhn.hl7v2.model that throw DataTypeExceptionModifier and TypeMethodDescriptionComposite.getComponent(int number) Returns the single component of this composite at the specified position (starting at 0).voidSets the data contained by this instance of Variable.voidSets the data contained by this instance of Varies.voidSets the value of this Primitive, first performing validation as specified bygetMessage().getValidationContext().voidSets 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
Methods in ca.uhn.hl7v2.model.primitive that throw DataTypeExceptionModifier and TypeMethodDescriptionintDT.getDay()Returns the day as an integer.intTSComponentOne.getDay()Returns the day as an integer.floatTM.getFractSecond()Returns the fractional second value as a float.floatTSComponentOne.getFractSecond()Returns the fractional second value as a float.intTM.getGMTOffset()Returns the GMT offset value as an integer.intTSComponentOne.getGMTOffset()Returns the GMT offset value as an integer.intTM.getHour()Returns the hour as an integer.intTSComponentOne.getHour()Returns the hour as an integer.intTM.getMinute()Returns the minute as an integer.intTSComponentOne.getMinute()Returns the minute as an integer.intDT.getMonth()Returns the month as an integer.intTSComponentOne.getMonth()Returns the month as an integer.intTM.getSecond()Returns the second as an integer.intTSComponentOne.getSecond()Returns the second as an integer.TSComponentOne.getValueAsCalendar()Return the value as a calendar objectTSComponentOne.getValueAsDate()Return the value as a date object Note: Sets fields using precision up to the secondintDT.getYear()Returns the year as an integer.intTSComponentOne.getYear()Returns the year as an integer.static voidvoidCommonTS.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).voidTSComponentOne.setDateMinutePrecision(int yr, int mnth, int dy, int hr, int min) voidCommonTS.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).voidTSComponentOne.setDatePrecision(int yr, int mnth, int dy) voidCommonTS.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).voidTSComponentOne.setDateSecondPrecision(int yr, int mnth, int dy, int hr, int min, float sec) voidCommonTM.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).voidTM.setHourMinSecondPrecision(int hr, int min, float sec) voidCommonTM.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).voidTM.setHourMinutePrecision(int hr, int min) voidCommonTM.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).voidTM.setHourPrecision(int hr) voidCommonTM.setOffset(int signedOffset) This method takes in the four digit (signed) GMT offset and sets the offset fieldvoidCommonTS.setOffset(int signedOffset) This method takes in the four digit (signed) GMT offset and sets the offset fieldvoidTM.setOffset(int signedOffset) voidTSComponentOne.setOffset(int signedOffset) voidThis method takes in a string HL7 date value and performs validations then sets the value field.voidConvenience setter which sets the value using aCalendarobject.voidConvenience setter which sets the value using aDateobject.voidThis method takes in a string HL7 Time value and performs validations then sets the value field.voidConvenience setter which sets the value using aCalendarobject.voidConvenience setter which sets the value using aCalendarobject.voidThis method takes in a string HL7 Time Stamp value and performs validations.voidConvenience setter which sets the value using aCalendarobject.voidConvenience setter which sets the value using aCalendarobject.voidvoidvoidvoidConvenience setter which sets the value using aCalendarobject.voidConvenience setter which sets the value using aCalendarobject.voidCommonTM.setValueToMinute(Calendar theCalendar) Convenience setter which sets the value using aCalendarobject.voidCommonTM.setValueToMinute(Date theDate) Convenience setter which sets the value using aDateobject.voidCommonTS.setValueToMinute(Calendar theCalendar) Convenience setter which sets the value using aCalendarobject.voidCommonTS.setValueToMinute(Date theDate) Convenience setter which sets the value using aDateobject.voidTSComponentOne.setValueToMinute(Calendar theCalendar) Convenience setter which sets the value using aCalendarobject.voidTSComponentOne.setValueToMinute(Date theDate) Convenience setter which sets the value using aDateobject.voidCommonTM.setValueToSecond(Calendar theCalendar) Convenience setter which sets the value using aCalendarobject.voidCommonTM.setValueToSecond(Date theDate) Convenience setter which sets the value using aDateobject.voidCommonTS.setValueToSecond(Calendar theCalendar) Convenience setter which sets the value using aCalendarobject.voidCommonTS.setValueToSecond(Date theDate) Convenience setter which sets the value using aDateobject.voidTSComponentOne.setValueToSecond(Calendar theCalendar) Convenience setter which sets the value using aCalendarobject.voidTSComponentOne.setValueToSecond(Date theDate) Convenience setter which sets the value using aDateobject.voidCommonDT.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).voidDT.setYearMonthDayPrecision(int yr, int mnth, int dy) voidCommonDT.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).voidDT.setYearMonthPrecision(int yr, int mnth) voidCommonDT.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.voidDT.setYearPrecision(int yr) static StringCommonDT.toHl7DTFormat(GregorianCalendar cal) Returns a string value representing the input Gregorian Calendar object in an Hl7 Date Format.static StringCommonTM.toHl7TMFormat(GregorianCalendar cal) Returns a string value representing the input Gregorian Calendar object in an Hl7 Time Format.static StringCommonTS.toHl7TSFormat(GregorianCalendar cal) Returns a string value representing the input Gregorian Calendar object in an Hl7 TimeStamp Format.Constructors in ca.uhn.hl7v2.model.primitive that throw DataTypeException -
Uses of DataTypeException in ca.uhn.hl7v2.util
Methods in ca.uhn.hl7v2.util that throw DataTypeException