/** * 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); }
/** * Creates a new CM_PLN type */ public CM_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 ST(getMessage()); case 1: return new CE(getMessage()); case 2: return new ID(getMessage(), new Integer( 0 )); case 3: return new ID(getMessage(), new Integer( 186 )); case 4: return new CM_SPD(getMessage()); case 5: return new CM_PLN(getMessage()); case 6: return new CM_PIP(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 ST(getMessage()); case 1: return new CE(getMessage()); case 2: return new ID(getMessage(), new Integer( 0 )); case 3: return new ID(getMessage(), new Integer( 186 )); case 4: return new CM_SPD(getMessage()); case 5: return new CM_PLN(getMessage()); case 6: return new CM_PIP(getMessage()); default: return null; } }
/** * Returns ID number (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 CM_PLN type */ public CM_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 getCm_pln2_TypeOfIDNumber() { 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 getCm_pln4_ExpirationDate() { return getTyped(3, DT.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 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 (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCm_pln1_IDNumber() { return getTyped(0, 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 getTypeOfIDNumber() { return getTyped(1, IS.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 getCm_pln2_TypeOfIDNumber() { 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 getCm_pln4_ExpirationDate() { return getTyped(3, DT.class); }
/** * Returns ID number (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 getCm_pln3_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 getExpirationDate() { return getTyped(3, DT.class); }
/** * Returns ID number (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCm_pln1_IDNumber() { return getTyped(0, ST.class); }