/** * Returns Numeric Threshold (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public NM getNumericThreshold() { return getTyped(1, NM.class); }
/** * Creates a new DLT type */ public DLT(Message message) { super(message); init(); }
private void init() { data = new Type[4]; data[0] = new NR(getMessage()); data[1] = new NM(getMessage()); data[2] = new ID(getMessage(), 523); data[3] = new NM(getMessage()); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new NM(getMessage()); case 1: return new CWE(getMessage()); case 2: return new NM(getMessage()); case 3: return new CWE(getMessage()); case 4: return new TX(getMessage()); case 5: return new RFR(getMessage()); case 6: return new RFR(getMessage()); case 7: return new RFR(getMessage()); case 8: return new DLT(getMessage()); case 9: return new NM(getMessage()); default: return null; } }
private void init() { data = new Type[4]; data[0] = new NR(getMessage()); data[1] = new NM(getMessage()); data[2] = new ID(getMessage(), 523); data[3] = new NM(getMessage()); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new NM(getMessage()); case 1: return new CWE(getMessage()); case 2: return new NM(getMessage()); case 3: return new CWE(getMessage()); case 4: return new TX(getMessage()); case 5: return new RFR(getMessage()); case 6: return new RFR(getMessage()); case 7: return new RFR(getMessage()); case 8: return new DLT(getMessage()); case 9: return new NM(getMessage()); default: return null; } }
/** * Returns Change Computation (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ID getChangeComputation() { return getTyped(2, ID.class); }
/** * Creates a new DLT type */ public DLT(Message message) { super(message); init(); }
/** * Returns Days Retained (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public NM getDlt4_DaysRetained() { return getTyped(3, NM.class); }
/** * Returns Normal Range (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public NR getDlt1_NormalRange() { return getTyped(0, NR.class); }
/** * Returns Days Retained (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public NM getDaysRetained() { return getTyped(3, NM.class); }
/** * Returns Normal Range (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public NR getNormalRange() { return getTyped(0, NR.class); }
/** * Returns Change Computation (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ID getDlt3_ChangeComputation() { return getTyped(2, ID.class); }
/** * Returns Numeric Threshold (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public NM getNumericThreshold() { return getTyped(1, NM.class); }
/** * Returns Normal Range (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public NR getDlt1_NormalRange() { return getTyped(0, NR.class); }
/** * Returns Numeric Threshold (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public NM getDlt2_NumericThreshold() { return getTyped(1, NM.class); }
/** * Returns Change Computation (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ID getChangeComputation() { return getTyped(2, ID.class); }
/** * Returns Days Retained (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public NM getDaysRetained() { return getTyped(3, NM.class); }
/** * Returns Normal Range (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public NR getNormalRange() { return getTyped(0, NR.class); }
/** * Returns Numeric Threshold (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public NM getDlt2_NumericThreshold() { return getTyped(1, NM.class); }