org.csapi.jr.se.svcbroker
Class ServiceKey

java.lang.Object
  extended byorg.csapi.jr.se.svcbroker.ServiceKey
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
ServiceKey()
          Creates a new ServiceKey.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 ServiceKeyType getDiscriminator()
          This method returns the discriminator.
 int getServiceKeyValue()
          This method returns a ServiceKeyValue
 int hashCode()
          Returns a hashcode value for the object.
 void setServiceKeyValue(int value)
          This method sets a ServiceKeyValue
 void setUndefined(ServiceKeyType discriminator)
          This method will receive the discriminator as a parameter and will set _object to null
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceKey

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

Method Detail

getDiscriminator

public ServiceKeyType getDiscriminator()
                                throws InvalidUnionAccessorException
This method returns the discriminator.

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

getServiceKeyValue

public int getServiceKeyValue()
                       throws InvalidUnionAccessorException
This method returns a ServiceKeyValue

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

setServiceKeyValue

public void setServiceKeyValue(int value)
This method sets a ServiceKeyValue

Parameters:
value - a int value

setUndefined

public void setUndefined(ServiceKeyType discriminator)
This method will receive the discriminator as a parameter and will set _object to null

Parameters:
discriminator - a ServiceKeyType value

equals

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


hashCode

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