/** * Returns street address (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ST getAd1_StreetAddress() { return getTyped(0, ST.class); }
/** * Creates a new AD type */ public AD(Message message) { super(message); init(); }
case 8: return new CE(getMessage()); case 9: return new XTN(getMessage()); case 10: return new AD(getMessage()); case 11: return new CM_DIN(getMessage()); case 12: return new CM_DIN(getMessage());
private void init() { data = new Type[8]; data[0] = new ST(getMessage()); data[1] = new ST(getMessage()); data[2] = new ST(getMessage()); data[3] = new ST(getMessage()); data[4] = new ST(getMessage()); data[5] = new ID(getMessage(), 0); data[6] = new ID(getMessage(), 0); data[7] = new ST(getMessage()); }
case 8: return new CE(getMessage()); case 9: return new XTN(getMessage()); case 10: return new AD(getMessage()); case 11: return new CM_DIN(getMessage()); case 12: return new CM_DIN(getMessage());
private void init() { data = new Type[8]; data[0] = new ST(getMessage()); data[1] = new ST(getMessage()); data[2] = new ST(getMessage()); data[3] = new ST(getMessage()); data[4] = new ST(getMessage()); data[5] = new ID(getMessage(), 0); data[6] = new ID(getMessage(), 0); data[7] = new ST(getMessage()); }
/** * Returns other designation (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ST getAd2_OtherDesignation() { return getTyped(1, ST.class); }
case 25: return new ID(getMessage(), new Integer( 169 )); case 26: return new CE(getMessage()); case 27: return new AD(getMessage()); case 28: return new TN(getMessage()); case 29: return new ID(getMessage(), new Integer( 177 ));
/** * Creates a new AD type */ public AD(Message message) { super(message); init(); }
/** * Returns other geographic designation (component 8). This is a convenience method that saves you from * casting and handling an exception. */ public ST getOtherGeographicDesignation() { return getTyped(7, ST.class); }
case 25: return new ID(getMessage(), new Integer( 169 )); case 26: return new CE(getMessage()); case 27: return new AD(getMessage()); case 28: return new TN(getMessage()); case 29: return new ID(getMessage(), new Integer( 177 ));
/** * Returns street address (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ST getStreetAddress() { return getTyped(0, ST.class); }
/** * Returns country (component 6). This is a convenience method that saves you from * casting and handling an exception. */ public ID getCountry() { return getTyped(5, ID.class); }
/** * Returns other designation (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ST getAd2_OtherDesignation() { return getTyped(1, ST.class); }
/** * Returns zip or postal code (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public ST getAd5_ZipOrPostalCode() { return getTyped(4, ST.class); }
/** * Returns country (component 6). This is a convenience method that saves you from * casting and handling an exception. */ public ID getAd6_Country() { return getTyped(5, ID.class); }
/** * Returns country (component 6). This is a convenience method that saves you from * casting and handling an exception. */ public ID getAd6_Country() { return getTyped(5, ID.class); }
/** * Returns address type (component 7). This is a convenience method that saves you from * casting and handling an exception. */ public ID getAddressType() { return getTyped(6, ID.class); }
/** * Returns other geographic designation (component 8). This is a convenience method that saves you from * casting and handling an exception. */ public ST getAd8_OtherGeographicDesignation() { return getTyped(7, ST.class); }
/** * Returns city (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ST getAd3_City() { return getTyped(2, ST.class); }