private void init() { data = new Type[6]; data[0] = new ID(getMessage(), 0); data[1] = new ST(getMessage()); data[2] = new ST(getMessage()); data[3] = new ID(getMessage(), 0); data[4] = new ST(getMessage()); data[5] = new ST(getMessage()); }
/** * Returns text (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ST getText() { return getTyped(1, ST.class); }
/** * Creates a new CE type */ public CE(Message message) { super(message); init(); }
/** * Creates a new CE type */ public CE(Message message) { super(message); init(); }
/** * Returns text (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCe2_Text() { return getTyped(1, ST.class); }
private void init() { data = new Type[6]; data[0] = new ID(getMessage(), 0); data[1] = new ST(getMessage()); data[2] = new ST(getMessage()); data[3] = new ID(getMessage(), 0); data[4] = new ST(getMessage()); data[5] = new ST(getMessage()); }
/** * Returns text (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCe2_Text() { return getTyped(1, ST.class); }
/** * Returns name of alternate coding system (component 6). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCe6_NameOfAlternateCodingSystem() { return getTyped(5, ST.class); }
/** * Returns text (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ST getText() { return getTyped(1, ST.class); }
/** * Returns name of coding system (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCe3_NameOfCodingSystem() { return getTyped(2, ST.class); }
/** * Returns name of alternate coding system (component 6). This is a convenience method that saves you from * casting and handling an exception. */ public ST getNameOfAlternateCodingSystem() { return getTyped(5, ST.class); }
/** * Returns name of alternate coding system (component 6). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCe6_NameOfAlternateCodingSystem() { return getTyped(5, ST.class); }