org.csapi.jr.se.mm
Class BindingEntry

java.lang.Object
  extended byorg.csapi.jr.se.mm.BindingEntry
All Implemented Interfaces:
java.io.Serializable

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

Defines the Tagged Choice of Data Elements that specifies binding information.

See Also:
Serialized Form

Constructor Summary
BindingEntry()
          Creates a new BindingEntry.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 BindingEntryType getDiscriminator()
          This method returns the discriminator.
 Address getUBContactAddress()
          This method returns a UBContactAddress
 int getUBExpires()
          This method returns a UBExpires
 float getUBPreference()
          This method returns a UBPreference
 int hashCode()
          Returns a hashcode value for the object.
 void setUBContactAddress(Address value)
          This method sets a UBContactAddress
 void setUBExpires(int value)
          This method sets a UBExpires
 void setUBPreference(float value)
          This method sets a UBPreference
 void setUndefined(BindingEntryType 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

BindingEntry

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

Method Detail

getDiscriminator

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

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

getUBExpires

public int getUBExpires()
                 throws InvalidUnionAccessorException
This method returns a UBExpires

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

setUBExpires

public void setUBExpires(int value)
This method sets a UBExpires

Parameters:
value - a int value

getUBContactAddress

public Address getUBContactAddress()
                            throws InvalidUnionAccessorException
This method returns a UBContactAddress

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

setUBContactAddress

public void setUBContactAddress(Address value)
This method sets a UBContactAddress

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

getUBPreference

public float getUBPreference()
                      throws InvalidUnionAccessorException
This method returns a UBPreference

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

setUBPreference

public void setUBPreference(float value)
This method sets a UBPreference

Parameters:
value - a float value

setUndefined

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

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