org.csapi.jr.se.mm
Class UserLocationCamel

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

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

Defines the Sequence of Data Elements that specify the location of a mobile telephony user. Note that if the StatusCode is indicating an error, then neither GeographicalPosition, Timestamp, VlrNumber, LocationNumber, CellIdOrLai nor their associated presence flags are defined. NOTE: The location number is the number to the MSC or in rare cases the roaming number.

See Also:
Serialized Form

Constructor Summary
UserLocationCamel()
          Creates a new UserLocationCamel instance.
UserLocationCamel(org.csapi.jr.se.Address _userID, org.csapi.jr.se.mm.MobilityError _statusCode, boolean _geographicalPositionPresent, org.csapi.jr.se.mm.GeographicalPosition _geographicalPosition, boolean _timestampPresent, java.lang.String _timestamp, boolean _vlrNumberPresent, org.csapi.jr.se.Address _vlrNumber, boolean _locationNumberPresent, org.csapi.jr.se.Address _locationNumber, boolean _cellIdOrLaiPresent, java.lang.String _cellIdOrLai)
          Creates a new UserLocationCamel instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String getCellIdOrLai()
          This method returns a cellIdOrLai.
 boolean getCellIdOrLaiPresent()
          This method returns a cellIdOrLaiPresent.
 org.csapi.jr.se.mm.GeographicalPosition getGeographicalPosition()
          This method returns a geographicalPosition.
 boolean getGeographicalPositionPresent()
          This method returns a geographicalPositionPresent.
 org.csapi.jr.se.Address getLocationNumber()
          This method returns a locationNumber.
 boolean getLocationNumberPresent()
          This method returns a locationNumberPresent.
 org.csapi.jr.se.mm.MobilityError getStatusCode()
          This method returns a statusCode.
 java.lang.String getTimestamp()
          This method returns a timestamp.
 boolean getTimestampPresent()
          This method returns a timestampPresent.
 org.csapi.jr.se.Address getUserID()
          This method returns a userID.
 org.csapi.jr.se.Address getVlrNumber()
          This method returns a vlrNumber.
 boolean getVlrNumberPresent()
          This method returns a vlrNumberPresent.
 int hashCode()
          Returns a hashcode value for the object.
 void setCellIdOrLai(java.lang.String cellIdOrLai)
          This method sets a cellIdOrLai.
 void setCellIdOrLaiPresent(boolean cellIdOrLaiPresent)
          This method sets a cellIdOrLaiPresent.
 void setGeographicalPosition(org.csapi.jr.se.mm.GeographicalPosition geographicalPosition)
          This method sets a geographicalPosition.
 void setGeographicalPositionPresent(boolean geographicalPositionPresent)
          This method sets a geographicalPositionPresent.
 void setLocationNumber(org.csapi.jr.se.Address locationNumber)
          This method sets a locationNumber.
 void setLocationNumberPresent(boolean locationNumberPresent)
          This method sets a locationNumberPresent.
 void setStatusCode(org.csapi.jr.se.mm.MobilityError statusCode)
          This method sets a statusCode.
 void setTimestamp(java.lang.String timestamp)
          This method sets a timestamp.
 void setTimestampPresent(boolean timestampPresent)
          This method sets a timestampPresent.
 void setUserID(org.csapi.jr.se.Address userID)
          This method sets a userID.
 void setVlrNumber(org.csapi.jr.se.Address vlrNumber)
          This method sets a vlrNumber.
 void setVlrNumberPresent(boolean vlrNumberPresent)
          This method sets a vlrNumberPresent.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserLocationCamel

public UserLocationCamel()
Creates a new UserLocationCamel instance.


UserLocationCamel

public UserLocationCamel(org.csapi.jr.se.Address _userID,
                         org.csapi.jr.se.mm.MobilityError _statusCode,
                         boolean _geographicalPositionPresent,
                         org.csapi.jr.se.mm.GeographicalPosition _geographicalPosition,
                         boolean _timestampPresent,
                         java.lang.String _timestamp,
                         boolean _vlrNumberPresent,
                         org.csapi.jr.se.Address _vlrNumber,
                         boolean _locationNumberPresent,
                         org.csapi.jr.se.Address _locationNumber,
                         boolean _cellIdOrLaiPresent,
                         java.lang.String _cellIdOrLai)
Creates a new UserLocationCamel instance.

Parameters:
_userID - The address of the user.
_statusCode - Indicator of error.
_geographicalPositionPresent - Flag indicating if the geographical position is present.
_geographicalPosition - Specification of a position and an area of uncertainty.
_timestampPresent - Flag indicating if the timestamp is present.
_timestamp - Timestamp indicating when the request was processed.
_vlrNumberPresent - Flag indicating if the VLR number is present.
_vlrNumber - Current VLR number for the user.
_locationNumberPresent - Flag indicating if the location number is present.
_locationNumber - Current location number.
_cellIdOrLaiPresent - Flag indicating if cell-id or LAI of the user is present.
_cellIdOrLai - Cell-id or LAI of the user.
Method Detail

getUserID

public org.csapi.jr.se.Address getUserID()
This method returns a userID.

Returns:
a org.csapi.jr.se.Address value

getStatusCode

public org.csapi.jr.se.mm.MobilityError getStatusCode()
This method returns a statusCode.

Returns:
a org.csapi.jr.se.mm.MobilityError value

getGeographicalPositionPresent

public boolean getGeographicalPositionPresent()
This method returns a geographicalPositionPresent.

Returns:
a boolean value

getGeographicalPosition

public org.csapi.jr.se.mm.GeographicalPosition getGeographicalPosition()
This method returns a geographicalPosition.

Returns:
a org.csapi.jr.se.mm.GeographicalPosition value

getTimestampPresent

public boolean getTimestampPresent()
This method returns a timestampPresent.

Returns:
a boolean value

getTimestamp

public java.lang.String getTimestamp()
This method returns a timestamp.

Returns:
a String value

getVlrNumberPresent

public boolean getVlrNumberPresent()
This method returns a vlrNumberPresent.

Returns:
a boolean value

getVlrNumber

public org.csapi.jr.se.Address getVlrNumber()
This method returns a vlrNumber.

Returns:
a org.csapi.jr.se.Address value

getLocationNumberPresent

public boolean getLocationNumberPresent()
This method returns a locationNumberPresent.

Returns:
a boolean value

getLocationNumber

public org.csapi.jr.se.Address getLocationNumber()
This method returns a locationNumber.

Returns:
a org.csapi.jr.se.Address value

getCellIdOrLaiPresent

public boolean getCellIdOrLaiPresent()
This method returns a cellIdOrLaiPresent.

Returns:
a boolean value

getCellIdOrLai

public java.lang.String getCellIdOrLai()
This method returns a cellIdOrLai.

Returns:
a String value

setUserID

public void setUserID(org.csapi.jr.se.Address userID)
This method sets a userID.


setStatusCode

public void setStatusCode(org.csapi.jr.se.mm.MobilityError statusCode)
This method sets a statusCode.


setGeographicalPositionPresent

public void setGeographicalPositionPresent(boolean geographicalPositionPresent)
This method sets a geographicalPositionPresent.


setGeographicalPosition

public void setGeographicalPosition(org.csapi.jr.se.mm.GeographicalPosition geographicalPosition)
This method sets a geographicalPosition.


setTimestampPresent

public void setTimestampPresent(boolean timestampPresent)
This method sets a timestampPresent.


setTimestamp

public void setTimestamp(java.lang.String timestamp)
This method sets a timestamp.


setVlrNumberPresent

public void setVlrNumberPresent(boolean vlrNumberPresent)
This method sets a vlrNumberPresent.


setVlrNumber

public void setVlrNumber(org.csapi.jr.se.Address vlrNumber)
This method sets a vlrNumber.


setLocationNumberPresent

public void setLocationNumberPresent(boolean locationNumberPresent)
This method sets a locationNumberPresent.


setLocationNumber

public void setLocationNumber(org.csapi.jr.se.Address locationNumber)
This method sets a locationNumber.


setCellIdOrLaiPresent

public void setCellIdOrLaiPresent(boolean cellIdOrLaiPresent)
This method sets a cellIdOrLaiPresent.


setCellIdOrLai

public void setCellIdOrLai(java.lang.String cellIdOrLai)
This method sets a cellIdOrLai.


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