org.csapi.jr.se
Class AddressError

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

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

Defines the reasons why an address is invalid.

See Also:
Serialized Form

Field Summary
static int _ADDRESS_INVALID_CANNOT_DECODE
          Address cannot be decoded
static int _ADDRESS_INVALID_INCOMPLETE
          Address is incomplete
static int _ADDRESS_INVALID_MISSING
          Mandatory address not present
static int _ADDRESS_INVALID_MISSING_ELEMENT
          Mandatory address element not present
static int _ADDRESS_INVALID_OUT_OF_RANGE
          Address is outside of the valid range
static int _ADDRESS_INVALID_UNDEFINED
          Undefined error
static org.csapi.jr.se.AddressError ADDRESS_INVALID_CANNOT_DECODE
          Address cannot be decoded
static org.csapi.jr.se.AddressError ADDRESS_INVALID_INCOMPLETE
          Address is incomplete
static org.csapi.jr.se.AddressError ADDRESS_INVALID_MISSING
          Mandatory address not present
static org.csapi.jr.se.AddressError ADDRESS_INVALID_MISSING_ELEMENT
          Mandatory address element not present
static org.csapi.jr.se.AddressError ADDRESS_INVALID_OUT_OF_RANGE
          Address is outside of the valid range
static org.csapi.jr.se.AddressError ADDRESS_INVALID_UNDEFINED
          Undefined error
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.AddressError getObject(int value)
          Accepts values in the range of 0 to 5
 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_INVALID_UNDEFINED

public static final int _ADDRESS_INVALID_UNDEFINED
Undefined error

See Also:
Constant Field Values

ADDRESS_INVALID_UNDEFINED

public static final org.csapi.jr.se.AddressError ADDRESS_INVALID_UNDEFINED
Undefined error


_ADDRESS_INVALID_MISSING

public static final int _ADDRESS_INVALID_MISSING
Mandatory address not present

See Also:
Constant Field Values

ADDRESS_INVALID_MISSING

public static final org.csapi.jr.se.AddressError ADDRESS_INVALID_MISSING
Mandatory address not present


_ADDRESS_INVALID_MISSING_ELEMENT

public static final int _ADDRESS_INVALID_MISSING_ELEMENT
Mandatory address element not present

See Also:
Constant Field Values

ADDRESS_INVALID_MISSING_ELEMENT

public static final org.csapi.jr.se.AddressError ADDRESS_INVALID_MISSING_ELEMENT
Mandatory address element not present


_ADDRESS_INVALID_OUT_OF_RANGE

public static final int _ADDRESS_INVALID_OUT_OF_RANGE
Address is outside of the valid range

See Also:
Constant Field Values

ADDRESS_INVALID_OUT_OF_RANGE

public static final org.csapi.jr.se.AddressError ADDRESS_INVALID_OUT_OF_RANGE
Address is outside of the valid range


_ADDRESS_INVALID_INCOMPLETE

public static final int _ADDRESS_INVALID_INCOMPLETE
Address is incomplete

See Also:
Constant Field Values

ADDRESS_INVALID_INCOMPLETE

public static final org.csapi.jr.se.AddressError ADDRESS_INVALID_INCOMPLETE
Address is incomplete


_ADDRESS_INVALID_CANNOT_DECODE

public static final int _ADDRESS_INVALID_CANNOT_DECODE
Address cannot be decoded

See Also:
Constant Field Values

ADDRESS_INVALID_CANNOT_DECODE

public static final org.csapi.jr.se.AddressError ADDRESS_INVALID_CANNOT_DECODE
Address cannot be decoded

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 AddressError object

getObject

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

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