/** * Returns type of ID number (IS) (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public IS getTypeOfIDNumber() { return getTyped(1, IS.class); }
/** * Creates a new PLN type */ public PLN(Message message) { super(message); init(); }
private void init() { data = new Type[4]; data[0] = new ST(getMessage()); data[1] = new IS(getMessage(), 0); data[2] = new ST(getMessage()); data[3] = new DT(getMessage()); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CE(getMessage()); case 1: return new CE(getMessage()); case 2: return new IS(getMessage(), new Integer( 186 )); case 3: return new ID(getMessage(), new Integer( 187 )); case 4: return new SPD(getMessage()); case 5: return new PLN(getMessage()); case 6: return new PIP(getMessage()); case 7: return new DT(getMessage()); case 8: return new CE(getMessage()); case 9: return new DT(getMessage()); case 10: return new CE(getMessage()); case 11: return new SI(getMessage()); default: return null; } }
private void init() { data = new Type[4]; data[0] = new ST(getMessage()); data[1] = new IS(getMessage(), 0); data[2] = new ST(getMessage()); data[3] = new DT(getMessage()); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CE(getMessage()); case 1: return new CE(getMessage()); case 2: return new IS(getMessage(), new Integer( 186 )); case 3: return new ID(getMessage(), new Integer( 187 )); case 4: return new SPD(getMessage()); case 5: return new PLN(getMessage()); case 6: return new PIP(getMessage()); case 7: return new DT(getMessage()); case 8: return new CE(getMessage()); case 9: return new DT(getMessage()); case 10: return new CE(getMessage()); case 11: return new SI(getMessage()); default: return null; } }
/** * Returns ID number (ST) (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ST getIDNumber() { return getTyped(0, ST.class); }
/** * Creates a new PLN type */ public PLN(Message message) { super(message); init(); }
/** * Returns type of ID number (IS) (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public IS getTypeOfIDNumber() { return getTyped(1, IS.class); }
/** * Returns expiration date (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public DT getExpirationDate() { return getTyped(3, DT.class); }
/** * Returns ID number (ST) (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ST getIDNumber() { return getTyped(0, ST.class); }
/** * Returns state/other qualifying info (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ST getPln3_StateOtherQualifyingInfo() { return getTyped(2, ST.class); }
/** * Returns expiration date (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public DT getPln4_ExpirationDate() { return getTyped(3, DT.class); }
/** * Returns type of ID number (IS) (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public IS getPln2_TypeOfIDNumber() { return getTyped(1, IS.class); }
/** * Returns state/other qualifying info (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ST getStateOtherQualifyingInfo() { return getTyped(2, ST.class); }
/** * Returns state/other qualifying info (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ST getPln3_StateOtherQualifyingInfo() { return getTyped(2, ST.class); }
/** * Returns type of ID number (IS) (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public IS getPln2_TypeOfIDNumber() { return getTyped(1, IS.class); }
/** * Returns ID number (ST) (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ST getPln1_IDNumber() { return getTyped(0, ST.class); }
/** * Returns expiration date (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public DT getPln4_ExpirationDate() { return getTyped(3, DT.class); }
/** * Returns ID number (ST) (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ST getPln1_IDNumber() { return getTyped(0, ST.class); }