/** * Returns Invocation Event (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ID getInvocationEvent() { return getTyped(0, ID.class); }
/** * Creates a new CCD type */ public CCD(Message message) { super(message); init(); }
private void init() { data = new Type[2]; data[0] = new ID(getMessage(), 100); data[1] = new DTM(getMessage()); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CCD(getMessage()); case 1: return new ID(getMessage(), new Integer( 122 )); case 2: return new CX(getMessage()); case 3: return new CWE(getMessage()); default: return null; } }
private void init() { data = new Type[2]; data[0] = new ID(getMessage(), 100); data[1] = new DTM(getMessage()); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CCD(getMessage()); case 1: return new ID(getMessage(), new Integer( 122 )); case 2: return new CX(getMessage()); case 3: return new CWE(getMessage()); default: return null; } }
/** * Returns Date/time (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public DTM getDateTime() { return getTyped(1, DTM.class); }
/** * Creates a new CCD type */ public CCD(Message message) { super(message); init(); }
/** * Returns Date/time (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public DTM getCcd2_DateTime() { return getTyped(1, DTM.class); }
/** * Returns Date/time (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public DTM getDateTime() { return getTyped(1, DTM.class); }
/** * Returns Invocation Event (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ID getInvocationEvent() { return getTyped(0, ID.class); }
/** * Returns Invocation Event (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ID getCcd1_InvocationEvent() { return getTyped(0, ID.class); }
/** * Returns Invocation Event (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ID getCcd1_InvocationEvent() { return getTyped(0, ID.class); }
/** * Returns Date/time (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public DTM getCcd2_DateTime() { return getTyped(1, DTM.class); }