org.csapi.jr.se.ui
Class UITargetObject

java.lang.Object
  |
  +--org.csapi.jr.se.ui.UITargetObject
All Implemented Interfaces:
java.io.Serializable

public final class UITargetObject
extends java.lang.Object
implements java.io.Serializable

Defines the Tagged Choice of Data Elements that specify the object to perform User Interaction on.

See Also:
Serialized Form

Constructor Summary
UITargetObject()
          Creates a new UITargetObject.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.cc.gccs.Call getCall()
          This method returns a Call
 org.csapi.jr.se.cc.mpccs.CallLeg getCallLeg()
          This method returns a CallLeg
 org.csapi.jr.se.ui.UITargetObjectType getDiscriminator()
          This method returns the discriminator.
 org.csapi.jr.se.cc.mpccs.MultiPartyCall getMultiPartyCall()
          This method returns a MultiPartyCall
 int hashCode()
          Returns a hashcode value for the object.
 void setCall(org.csapi.jr.se.cc.gccs.Call value)
          This method sets a Call
 void setCallLeg(org.csapi.jr.se.cc.mpccs.CallLeg value)
          This method sets a CallLeg
 void setMultiPartyCall(org.csapi.jr.se.cc.mpccs.MultiPartyCall value)
          This method sets a MultiPartyCall
 void setUndefined(org.csapi.jr.se.ui.UITargetObjectType discriminator)
          This method will receive the discriminator as a parameter and will set _object to null
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UITargetObject

public UITargetObject()
Creates a new UITargetObject. Tagged choice of data elements always have empty constructors

Method Detail

getDiscriminator

public org.csapi.jr.se.ui.UITargetObjectType getDiscriminator()
                                                       throws InvalidUnionAccessorException
This method returns the discriminator.

Returns:
a UITargetObjectType value
Throws:
InvalidUnionAccessorException - if an error occurs

getCall

public org.csapi.jr.se.cc.gccs.Call getCall()
                                     throws InvalidUnionAccessorException
This method returns a Call

Returns:
a org.csapi.jr.se.cc.gccs.Call value
Throws:
InvalidUnionAccessorException - if an error occurs

setCall

public void setCall(org.csapi.jr.se.cc.gccs.Call value)
This method sets a Call

Parameters:
value - a org.csapi.jr.se.cc.gccs.Call value

getMultiPartyCall

public org.csapi.jr.se.cc.mpccs.MultiPartyCall getMultiPartyCall()
                                                          throws InvalidUnionAccessorException
This method returns a MultiPartyCall

Returns:
a org.csapi.jr.se.cc.mpccs.MultiPartyCall value
Throws:
InvalidUnionAccessorException - if an error occurs

setMultiPartyCall

public void setMultiPartyCall(org.csapi.jr.se.cc.mpccs.MultiPartyCall value)
This method sets a MultiPartyCall

Parameters:
value - a org.csapi.jr.se.cc.mpccs.MultiPartyCall value

getCallLeg

public org.csapi.jr.se.cc.mpccs.CallLeg getCallLeg()
                                            throws InvalidUnionAccessorException
This method returns a CallLeg

Returns:
a org.csapi.jr.se.cc.mpccs.CallLeg value
Throws:
InvalidUnionAccessorException - if an error occurs

setCallLeg

public void setCallLeg(org.csapi.jr.se.cc.mpccs.CallLeg value)
This method sets a CallLeg

Parameters:
value - a org.csapi.jr.se.cc.mpccs.CallLeg value

setUndefined

public void setUndefined(org.csapi.jr.se.ui.UITargetObjectType discriminator)
This method will receive the discriminator as a parameter and will set _object to null

Parameters:
discriminator - a UITargetObjectType value

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object