/** * Returns Value4 (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public NM getValue4() { return getTyped(3, NM.class); }
/** * Creates a new NA type */ public NA(Message message) { super(message); init(); }
if (message instanceof CA) { int mode = ((CA) message).mode; this.originator = getContext().sender(); switch(mode){ case 1: //SMS break; case 2: //Email break; case 3: //Notification notificationActor.tell(new NA((CA)message), getSelf()); break; } } else if (message instanceof Response) { originator.tell(((Response) message).getResponse(), getSelf()); } else{ unhandled(message); }
private void init() { data = new Type[4]; data[0] = new NM(getMessage()); data[1] = new NM(getMessage()); data[2] = new NM(getMessage()); data[3] = new NM(getMessage()); }
case 8: return new CE(getMessage()); case 9: return new EI(getMessage()); case 10: return new NA(getMessage()); case 11: return new CE(getMessage()); case 12: return new EI(getMessage()); case 13: return new NA(getMessage()); case 14: return new CE(getMessage()); case 15: return new NM(getMessage());
private void init() { data = new Type[4]; data[0] = new NM(getMessage()); data[1] = new NM(getMessage()); data[2] = new NM(getMessage()); data[3] = new NM(getMessage()); }
/** * Returns Value4 (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public NM getNa4_Value4() { return getTyped(3, NM.class); }
case 8: return new CE(getMessage()); case 9: return new EI(getMessage()); case 10: return new NA(getMessage()); case 11: return new CE(getMessage()); case 12: return new EI(getMessage()); case 13: return new NA(getMessage()); case 14: return new CE(getMessage()); case 15: return new NM(getMessage());
/** * Creates a new NA type */ public NA(Message message) { super(message); init(); }
/** * Returns Value2 (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public NM getNa2_Value2() { return getTyped(1, NM.class); }
/** * Returns Value2 (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public NM getNa2_Value2() { return getTyped(1, NM.class); }
/** * Returns Value3 (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public NM getNa3_Value3() { return getTyped(2, NM.class); }
/** * Returns Value3 (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public NM getNa3_Value3() { return getTyped(2, NM.class); }
/** * Returns Value1 (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public NM getValue1() { return getTyped(0, NM.class); }
/** * Returns Value1 (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public NM getNa1_Value1() { return getTyped(0, NM.class); }
/** * Returns Value2 (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public NM getValue2() { return getTyped(1, NM.class); }
/** * Returns Value4 (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public NM getValue4() { return getTyped(3, NM.class); }
/** * Returns Value3 (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public NM getValue3() { return getTyped(2, NM.class); }
/** * Returns Value1 (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public NM getValue1() { return getTyped(0, NM.class); }
/** * Returns Value1 (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public NM getNa1_Value1() { return getTyped(0, NM.class); }