org.csapi.jr.se.svcbroker
Class EndpointAddress

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

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

This data type defines the Tagged Choice of Data Elements that specify the address of the end point to which network traffic should be sent as a result of service interactions.

See Also:
Serialized Form

Constructor Summary
EndpointAddress()
          Creates a new EndpointAddress.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 EndpointAddressCategory getDiscriminator()
          This method returns the discriminator.
 Address getNetworkAddress()
          This method returns a NetworkAddress
 byte[] getSS7Address()
          This method returns a SS7Address
 int hashCode()
          Returns a hashcode value for the object.
 void setNetworkAddress(Address value)
          This method sets a NetworkAddress
 void setSS7Address(byte[] value)
          This method sets a SS7Address
 void setUndefined(EndpointAddressCategory 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

EndpointAddress

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

Method Detail

getDiscriminator

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

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

getSS7Address

public byte[] getSS7Address()
                     throws InvalidUnionAccessorException
This method returns a SS7Address

Returns:
a byte[] value
Throws:
InvalidUnionAccessorException - if an error occurs

setSS7Address

public void setSS7Address(byte[] value)
This method sets a SS7Address

Parameters:
value - a byte[] value

getNetworkAddress

public Address getNetworkAddress()
                          throws InvalidUnionAccessorException
This method returns a NetworkAddress

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

setNetworkAddress

public void setNetworkAddress(Address value)
This method sets a NetworkAddress

Parameters:
value - a org.csapi.jr.se.Address value

setUndefined

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

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