private void init() { data = new Type[2]; data[0] = new TSComponentOne(getMessage()); data[1] = new ST(getMessage()); }
/** * Returns time of an event (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public TSComponentOne getTimeOfAnEvent() { return getTyped(0, TSComponentOne.class); }
/** * Creates a new TS type */ public TS(Message message) { super(message); init(); }
/** * Creates a new TS type */ public TS(Message message) { super(message); init(); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new TS(getMessage()); default: return null; } }
/** * Returns time of an event (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public TSComponentOne getTs1_TimeOfAnEvent() { return getTyped(0, TSComponentOne.class); }
private void init() { data = new Type[2]; data[0] = new TSComponentOne(getMessage()); data[1] = new ST(getMessage()); }
/** * Returns degree of precision (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ST getTs2_DegreeOfPrecision() { return getTyped(1, ST.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new TS(getMessage()); default: return null; } }
/** * Returns time of an event (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public TSComponentOne getTimeOfAnEvent() { return getTyped(0, TSComponentOne.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ID(getMessage(), new Integer( 3 )); case 1: return new TS(getMessage()); case 2: return new TS(getMessage()); case 3: return new ID(getMessage(), new Integer( 62 )); case 4: return new CN(getMessage()); case 5: return new TS(getMessage()); default: return null; } }
/** * Returns time of an event (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public TSComponentOne getTs1_TimeOfAnEvent() { return getTyped(0, TSComponentOne.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ID(getMessage(), new Integer( 3 )); case 1: return new TS(getMessage()); case 2: return new TS(getMessage()); case 3: return new ID(getMessage(), new Integer( 62 )); case 4: return new CN(getMessage()); case 5: return new TS(getMessage()); default: return null; } }
/** * Returns degree of precision (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ST getTs2_DegreeOfPrecision() { return getTyped(1, ST.class); }
private void init() { data = new Type[2]; data[0] = new ID(getMessage(), 0); data[1] = new TS(getMessage()); }
/** * Returns degree of precision (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ST getDegreeOfPrecision() { return getTyped(1, ST.class); }
private void init() { data = new Type[2]; data[0] = new TS(getMessage()); data[1] = new CE(getMessage()); }
/** * Returns degree of precision (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ST getDegreeOfPrecision() { return getTyped(1, ST.class); }