/** * Returns family name (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public FN getCn2_FamilyName() { return getTyped(1, FN.class); }
/** * Creates a new CN type */ public CN(Message message) { super(message); init(); }
private void init() { data = new Type[9]; data[0] = new ST(getMessage()); data[1] = new FN(getMessage()); data[2] = new ST(getMessage()); data[3] = new ST(getMessage()); data[4] = new ST(getMessage()); data[5] = new ST(getMessage()); data[6] = new IS(getMessage(), 0); data[7] = new IS(getMessage(), 0); data[8] = new HD(getMessage()); }
private void init() { data = new Type[9]; data[0] = new ST(getMessage()); data[1] = new FN(getMessage()); data[2] = new ST(getMessage()); data[3] = new ST(getMessage()); data[4] = new ST(getMessage()); data[5] = new ST(getMessage()); data[6] = new IS(getMessage(), 0); data[7] = new IS(getMessage(), 0); data[8] = new HD(getMessage()); }
/** * Returns prefix (e.g., DR) (component 6). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCn6_PrefixEgDR() { return getTyped(5, ST.class); }
/** * Creates a new CN type */ public CN(Message message) { super(message); init(); }
/** * Returns degree (e.g., MD) (component 7). This is a convenience method that saves you from * casting and handling an exception. */ public IS getDegreeEgMD() { return getTyped(6, IS.class); }
/** * Returns source table (component 8). This is a convenience method that saves you from * casting and handling an exception. */ public IS getCn8_SourceTable() { return getTyped(7, IS.class); }
/** * Returns source table (component 8). This is a convenience method that saves you from * casting and handling an exception. */ public IS getSourceTable() { return getTyped(7, IS.class); }
/** * Returns family name (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public FN getFamilyName() { return getTyped(1, FN.class); }
/** * Returns suffix (e.g., JR or III) (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public ST getSuffixEgJRorIII() { return getTyped(4, ST.class); }
/** * Returns prefix (e.g., DR) (component 6). This is a convenience method that saves you from * casting and handling an exception. */ public ST getPrefixEgDR() { return getTyped(5, ST.class); }
/** * Returns degree (e.g., MD) (component 7). This is a convenience method that saves you from * casting and handling an exception. */ public IS getCn7_DegreeEgMD() { return getTyped(6, IS.class); }
/** * Returns source table (component 8). This is a convenience method that saves you from * casting and handling an exception. */ public IS getCn8_SourceTable() { return getTyped(7, IS.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 ID number (ST) (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCn1_IDNumber() { return getTyped(0, ST.class); }
/** * Returns second and further given names or initials thereof (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public ST getSecondAndFurtherGivenNamesOrInitialsThereof() { return getTyped(3, ST.class); }
/** * Returns assigning authority (component 9). This is a convenience method that saves you from * casting and handling an exception. */ public HD getAssigningAuthority() { return getTyped(8, HD.class); }
/** * Returns assigning authority (component 9). This is a convenience method that saves you from * casting and handling an exception. */ public HD getCn9_AssigningAuthority() { return getTyped(8, HD.class); }
/** * Returns family name (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public FN getFamilyName() { return getTyped(1, FN.class); }