/** * Returns room (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public IS getRoom() { return getTyped(1, IS.class); }
/** * Creates a new PL type */ public PL(Message message) { super(message); init(); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new IS(getMessage(), new Integer( 116 )); default: return null; } }
private void init() { data = new Type[9]; data[0] = new ID(getMessage(), 0); data[1] = new IS(getMessage(), 0); data[2] = new IS(getMessage(), 0); data[3] = new HD(getMessage()); data[4] = new IS(getMessage(), 0); data[5] = new IS(getMessage(), 0); data[6] = new IS(getMessage(), 0); data[7] = new ST(getMessage()); data[8] = new ST(getMessage()); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new IS(getMessage(), new Integer( 116 )); default: return null; } }
private void init() { data = new Type[9]; data[0] = new ID(getMessage(), 0); data[1] = new IS(getMessage(), 0); data[2] = new IS(getMessage(), 0); data[3] = new HD(getMessage()); data[4] = new IS(getMessage(), 0); data[5] = new IS(getMessage(), 0); data[6] = new IS(getMessage(), 0); data[7] = new ST(getMessage()); data[8] = new ST(getMessage()); }
/** * Returns location status (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public IS getLocationStatus() { return getTyped(4, IS.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new ID(getMessage(), new Integer( 206 )); case 2: return new EI(getMessage()); case 3: return new CE(getMessage()); case 4: return new XON(getMessage()); case 5: return new PL(getMessage()); default: return null; } }
/** * Creates a new PL type */ public PL(Message message) { super(message); init(); }
/** * Returns building (component 7). This is a convenience method that saves you from * casting and handling an exception. */ public IS getPl7_Building() { return getTyped(6, IS.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new ID(getMessage(), new Integer( 206 )); case 2: return new EI(getMessage()); case 3: return new CE(getMessage()); case 4: return new XON(getMessage()); case 5: return new PL(getMessage()); default: return null; } }
/** * Returns Location type (component 9). This is a convenience method that saves you from * casting and handling an exception. */ public ST getPl9_LocationType() { return getTyped(8, ST.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new IS(getMessage(), new Integer( 264 )); case 2: return new CE(getMessage()); case 3: return new CE(getMessage()); default: return null; } }
/** * Returns bed (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public IS getBed() { return getTyped(2, IS.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new IS(getMessage(), new Integer( 264 )); case 2: return new CE(getMessage()); case 3: return new CE(getMessage()); default: return null; } }
/** * Returns facility (HD) (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public HD getPl4_Facility() { return getTyped(3, HD.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new ID(getMessage(), new Integer( 206 )); case 2: return new EI(getMessage()); case 3: return new CE(getMessage()); case 4: return new CE(getMessage()); default: return null; } }
/** * Returns location status (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public IS getLocationStatus() { return getTyped(4, IS.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new ID(getMessage(), new Integer( 206 )); case 2: return new EI(getMessage()); case 3: return new CE(getMessage()); case 4: return new CE(getMessage()); default: return null; } }
/** * Returns bed (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public IS getPl3_Bed() { return getTyped(2, IS.class); }