/** * Returns Segment ID (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ST getErl1_SegmentID() { return getTyped(0, ST.class); }
/** * Creates a new ERL type */ public ERL(Message message) { super(message); init(); }
private void init() { data = new Type[6]; data[0] = new ST(getMessage()); data[1] = new NM(getMessage()); data[2] = new NM(getMessage()); data[3] = new NM(getMessage()); data[4] = new NM(getMessage()); data[5] = new NM(getMessage()); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ELD(getMessage()); case 1: return new ERL(getMessage()); case 2: return new CWE(getMessage()); case 3: return new ID(getMessage(), new Integer( 516 )); case 4: return new CWE(getMessage()); case 5: return new ST(getMessage()); case 6: return new TX(getMessage()); case 7: return new TX(getMessage()); case 8: return new IS(getMessage(), new Integer( 517 )); case 9: return new CWE(getMessage()); case 10: return new CWE(getMessage()); case 11: return new XTN(getMessage()); default: return null; } }
private void init() { data = new Type[6]; data[0] = new ST(getMessage()); data[1] = new NM(getMessage()); data[2] = new NM(getMessage()); data[3] = new NM(getMessage()); data[4] = new NM(getMessage()); data[5] = new NM(getMessage()); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ELD(getMessage()); case 1: return new ERL(getMessage()); case 2: return new CWE(getMessage()); case 3: return new ID(getMessage(), new Integer( 516 )); case 4: return new CWE(getMessage()); case 5: return new ST(getMessage()); case 6: return new TX(getMessage()); case 7: return new TX(getMessage()); case 8: return new IS(getMessage(), new Integer( 517 )); case 9: return new CWE(getMessage()); case 10: return new CWE(getMessage()); case 11: return new XTN(getMessage()); default: return null; } }
/** * Returns Segment Sequence (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public NM getErl2_SegmentSequence() { return getTyped(1, NM.class); }
/** * Creates a new ERL type */ public ERL(Message message) { super(message); init(); }
/** * Returns Segment Sequence (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public NM getErl2_SegmentSequence() { return getTyped(1, NM.class); }
/** * Returns Field Repetition (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public NM getFieldRepetition() { return getTyped(3, NM.class); }
/** * Returns Field Repetition (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public NM getFieldRepetition() { return getTyped(3, NM.class); }
/** * Returns Component Number (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public NM getErl5_ComponentNumber() { return getTyped(4, NM.class); }
/** * Returns Sub-Component Number (component 6). This is a convenience method that saves you from * casting and handling an exception. */ public NM getSubComponentNumber() { return getTyped(5, NM.class); }
/** * Returns Segment Sequence (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public NM getSegmentSequence() { return getTyped(1, NM.class); }
/** * Returns Field Position (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public NM getErl3_FieldPosition() { return getTyped(2, NM.class); }
/** * Returns Component Number (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public NM getComponentNumber() { return getTyped(4, NM.class); }
/** * Returns Segment ID (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ST getSegmentID() { return getTyped(0, ST.class); }
/** * Returns Field Position (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public NM getErl3_FieldPosition() { return getTyped(2, NM.class); }
/** * Returns Field Position (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public NM getFieldPosition() { return getTyped(2, NM.class); }
/** * Returns Segment Sequence (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public NM getSegmentSequence() { return getTyped(1, NM.class); }