/** * Returns Activation Date (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public DT getActivationDate() { return getTyped(3, DT.class); }
/** * Creates a new PIP type */ public PIP(Message message) { super(message); init(); }
private void init() { data = new Type[5]; data[0] = new CWE(getMessage()); data[1] = new CWE(getMessage()); data[2] = new DT(getMessage()); data[3] = new DT(getMessage()); data[4] = new EI(getMessage()); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CWE(getMessage()); case 1: return new CWE(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 CWE(getMessage()); case 9: return new DT(getMessage()); case 10: return new CWE(getMessage()); case 11: return new SI(getMessage()); default: return null; } }
private void init() { data = new Type[5]; data[0] = new CWE(getMessage()); data[1] = new CWE(getMessage()); data[2] = new DT(getMessage()); data[3] = new DT(getMessage()); data[4] = new EI(getMessage()); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CWE(getMessage()); case 1: return new CWE(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 CWE(getMessage()); case 9: return new DT(getMessage()); case 10: return new CWE(getMessage()); case 11: return new SI(getMessage()); default: return null; } }
/** * Returns Privilege (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public CWE getPrivilege() { return getTyped(0, CWE.class); }
/** * Creates a new PIP type */ public PIP(Message message) { super(message); init(); }
/** * Returns Facility (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public EI getPip5_Facility() { return getTyped(4, EI.class); }
/** * Returns Privilege (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public CWE getPrivilege() { return getTyped(0, CWE.class); }
/** * Returns Expiration Date (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public DT getPip3_ExpirationDate() { return getTyped(2, DT.class); }
/** * Returns Facility (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public EI getFacility() { return getTyped(4, EI.class); }
/** * Returns Facility (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public EI getPip5_Facility() { return getTyped(4, EI.class); }
/** * Returns Expiration Date (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public DT getExpirationDate() { return getTyped(2, DT.class); }
/** * Returns Privilege (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public CWE getPip1_Privilege() { return getTyped(0, CWE.class); }
/** * Returns Privilege Class (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public CWE getPrivilegeClass() { return getTyped(1, CWE.class); }
/** * Returns Expiration Date (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public DT getPip3_ExpirationDate() { return getTyped(2, DT.class); }
/** * Returns Activation Date (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public DT getPip4_ActivationDate() { return getTyped(3, DT.class); }
/** * Returns Facility (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public EI getFacility() { return getTyped(4, EI.class); }
/** * Returns Privilege Class (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public CWE getPrivilegeClass() { return getTyped(1, CWE.class); }