org.csapi.jr.se
Class AddressPlan

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

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

Defines the address plan (or numbering plan) used. It is also used to indicate whether an address is actually defined in a TpAddress data element. For the case where the P_ADDRESS_PLAN_NOT_PRESENT and P_ADDRESS_PLAN_ANY are indicated, the rest of the information in the TpAddress is not valid. NOTE: P_ADDRESS_PLAN_MSMAIL is not to be used.

See Also:
Serialized Form

Field Summary
static int _ADDRESS_PLAN_AESA
          AESA
static int _ADDRESS_PLAN_ANY
          Any address plan is deemed to match (This is only used for TpAddressRange)
static int _ADDRESS_PLAN_E164
          ITU-T Recommendation E.164
static int _ADDRESS_PLAN_IP
          IP
static int _ADDRESS_PLAN_MSMAIL
          Microsoft Mail
static int _ADDRESS_PLAN_MULTICAST
          Multicast
static int _ADDRESS_PLAN_NATIONAL
          Reserved for National Specific use
static int _ADDRESS_PLAN_NOT_PRESENT
          No Address Present
static int _ADDRESS_PLAN_NSAP
          NSAP
static int _ADDRESS_PLAN_SIP
          Any valid address string allowed in RFC 3261 'SIP: Session Initiation Protocol'
static int _ADDRESS_PLAN_SMTP
          SMTP
static int _ADDRESS_PLAN_UNDEFINED
          Undefined
static int _ADDRESS_PLAN_UNICAST
          Unicast
static int _ADDRESS_PLAN_URL
          URL
static int _ADDRESS_PLAN_X400
          ITU-T Recommendation X.400
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_AESA
          AESA
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_ANY
          Any address plan is deemed to match (This is only used for TpAddressRange)
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_E164
          ITU-T Recommendation E.164
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_IP
          IP
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_MSMAIL
          Microsoft Mail
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_MULTICAST
          Multicast
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_NATIONAL
          Reserved for National Specific use
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_NOT_PRESENT
          No Address Present
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_NSAP
          NSAP
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_SIP
          Any valid address string allowed in RFC 3261 'SIP: Session Initiation Protocol'
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_SMTP
          SMTP
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_UNDEFINED
          Undefined
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_UNICAST
          Unicast
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_URL
          URL
static org.csapi.jr.se.AddressPlan ADDRESS_PLAN_X400
          ITU-T Recommendation X.400
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.AddressPlan getObject(int value)
          Accepts values in the range of 0 to 14
 int getValue()
          Number representing enum type
 java.lang.String getValueText()
          getValueText method, overrides the getValueText() method in class java.lang.Object
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_ADDRESS_PLAN_NOT_PRESENT

public static final int _ADDRESS_PLAN_NOT_PRESENT
No Address Present

See Also:
Constant Field Values

ADDRESS_PLAN_NOT_PRESENT

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_NOT_PRESENT
No Address Present


_ADDRESS_PLAN_UNDEFINED

public static final int _ADDRESS_PLAN_UNDEFINED
Undefined

See Also:
Constant Field Values

ADDRESS_PLAN_UNDEFINED

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_UNDEFINED
Undefined


_ADDRESS_PLAN_IP

public static final int _ADDRESS_PLAN_IP
IP

See Also:
Constant Field Values

ADDRESS_PLAN_IP

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_IP
IP


_ADDRESS_PLAN_MULTICAST

public static final int _ADDRESS_PLAN_MULTICAST
Multicast

See Also:
Constant Field Values

ADDRESS_PLAN_MULTICAST

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_MULTICAST
Multicast


_ADDRESS_PLAN_UNICAST

public static final int _ADDRESS_PLAN_UNICAST
Unicast

See Also:
Constant Field Values

ADDRESS_PLAN_UNICAST

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_UNICAST
Unicast


_ADDRESS_PLAN_E164

public static final int _ADDRESS_PLAN_E164
ITU-T Recommendation E.164

See Also:
Constant Field Values

ADDRESS_PLAN_E164

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_E164
ITU-T Recommendation E.164


_ADDRESS_PLAN_AESA

public static final int _ADDRESS_PLAN_AESA
AESA

See Also:
Constant Field Values

ADDRESS_PLAN_AESA

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_AESA
AESA


_ADDRESS_PLAN_URL

public static final int _ADDRESS_PLAN_URL
URL

See Also:
Constant Field Values

ADDRESS_PLAN_URL

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_URL
URL


_ADDRESS_PLAN_NSAP

public static final int _ADDRESS_PLAN_NSAP
NSAP

See Also:
Constant Field Values

ADDRESS_PLAN_NSAP

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_NSAP
NSAP


_ADDRESS_PLAN_SMTP

public static final int _ADDRESS_PLAN_SMTP
SMTP

See Also:
Constant Field Values

ADDRESS_PLAN_SMTP

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_SMTP
SMTP


_ADDRESS_PLAN_MSMAIL

public static final int _ADDRESS_PLAN_MSMAIL
Microsoft Mail

See Also:
Constant Field Values

ADDRESS_PLAN_MSMAIL

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_MSMAIL
Microsoft Mail


_ADDRESS_PLAN_X400

public static final int _ADDRESS_PLAN_X400
ITU-T Recommendation X.400

See Also:
Constant Field Values

ADDRESS_PLAN_X400

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_X400
ITU-T Recommendation X.400


_ADDRESS_PLAN_ANY

public static final int _ADDRESS_PLAN_ANY
Any address plan is deemed to match (This is only used for TpAddressRange)

See Also:
Constant Field Values

ADDRESS_PLAN_ANY

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_ANY
Any address plan is deemed to match (This is only used for TpAddressRange)


_ADDRESS_PLAN_SIP

public static final int _ADDRESS_PLAN_SIP
Any valid address string allowed in RFC 3261 'SIP: Session Initiation Protocol'

See Also:
Constant Field Values

ADDRESS_PLAN_SIP

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_SIP
Any valid address string allowed in RFC 3261 'SIP: Session Initiation Protocol'


_ADDRESS_PLAN_NATIONAL

public static final int _ADDRESS_PLAN_NATIONAL
Reserved for National Specific use

See Also:
Constant Field Values

ADDRESS_PLAN_NATIONAL

public static final org.csapi.jr.se.AddressPlan ADDRESS_PLAN_NATIONAL
Reserved for National Specific use

Method Detail

getValue

public int getValue()
Number representing enum type

Returns:
int number representing type of object, this is defined within the class

getValueText

public java.lang.String getValueText()
getValueText method, overrides the getValueText() method in class java.lang.Object

Returns:
String The stringified version of the AddressPlan object

getObject

public static org.csapi.jr.se.AddressPlan getObject(int value)
                                             throws InvalidEnumValueException
Accepts values in the range of 0 to 14

Parameters:
value - number representing type of object, this is defined within the class
Throws:
InvalidEnumValueException - thrown if invalid value is passed into method

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