org.csapi.jr.se.pam
Class PAMContextData

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

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

This is a tagged choice of data elements that specifies the optional data that may be required to define a particular context.

See Also:
Serialized Form

Constructor Summary
PAMContextData()
          Creates a new PAMContextData.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.pam.PAMCommunicationContext getCommunicationContext()
          This method returns a CommunicationContext
 org.csapi.jr.se.pam.PAMContextName getDiscriminator()
          This method returns the discriminator.
 int hashCode()
          Returns a hashcode value for the object.
 void setCommunicationContext(org.csapi.jr.se.pam.PAMCommunicationContext value)
          This method sets a CommunicationContext
 void setUndefined(org.csapi.jr.se.pam.PAMContextName 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

PAMContextData

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

Method Detail

getDiscriminator

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

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

getCommunicationContext

public org.csapi.jr.se.pam.PAMCommunicationContext getCommunicationContext()
                                                                    throws InvalidUnionAccessorException
This method returns a CommunicationContext

Returns:
a org.csapi.jr.se.pam.PAMCommunicationContext value
Throws:
InvalidUnionAccessorException - if an error occurs

setCommunicationContext

public void setCommunicationContext(org.csapi.jr.se.pam.PAMCommunicationContext value)
This method sets a CommunicationContext

Parameters:
value - a org.csapi.jr.se.pam.PAMCommunicationContext value

setUndefined

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

Parameters:
discriminator - a PAMContextName 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