org.csapi.jr.se.cc
Class Carrier

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

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

Defines the Sequence of Data Elements that indicates carrier information. It consists of the carrier selection field followed by the Carrier ID information to be used for routing a call to a carrier.

See Also:
Serialized Form

Constructor Summary
Carrier()
          Creates a new Carrier instance.
Carrier(byte[] _carrierID, org.csapi.jr.se.cc.CarrierSelectionField _carrierSelectionField)
          Creates a new Carrier instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 byte[] getCarrierID()
          This method returns a carrierID.
 org.csapi.jr.se.cc.CarrierSelectionField getCarrierSelectionField()
          This method returns a carrierSelectionField.
 int hashCode()
          Returns a hashcode value for the object.
 void setCarrierID(byte[] carrierID)
          This method sets a carrierID.
 void setCarrierSelectionField(org.csapi.jr.se.cc.CarrierSelectionField carrierSelectionField)
          This method sets a carrierSelectionField.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Carrier

public Carrier()
Creates a new Carrier instance.


Carrier

public Carrier(byte[] _carrierID,
               org.csapi.jr.se.cc.CarrierSelectionField _carrierSelectionField)
Creates a new Carrier instance.

Parameters:
_carrierID -
_carrierSelectionField -
Method Detail

getCarrierID

public byte[] getCarrierID()
This method returns a carrierID.

Returns:
a byte[] value

getCarrierSelectionField

public org.csapi.jr.se.cc.CarrierSelectionField getCarrierSelectionField()
This method returns a carrierSelectionField.

Returns:
a org.csapi.jr.se.cc.CarrierSelectionField value

setCarrierID

public void setCarrierID(byte[] carrierID)
This method sets a carrierID.


setCarrierSelectionField

public void setCarrierSelectionField(org.csapi.jr.se.cc.CarrierSelectionField carrierSelectionField)
This method sets a carrierSelectionField.


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