|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.csapi.jr.se.AddressError
Defines the reasons why an address is invalid.
| 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 AddressError |
ADDRESS_INVALID_CANNOT_DECODE
Address cannot be decoded |
static AddressError |
ADDRESS_INVALID_INCOMPLETE
Address is incomplete |
static AddressError |
ADDRESS_INVALID_MISSING
Mandatory address not present |
static AddressError |
ADDRESS_INVALID_MISSING_ELEMENT
Mandatory address element not present |
static AddressError |
ADDRESS_INVALID_OUT_OF_RANGE
Address is outside of the valid range |
static 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 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 |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int _ADDRESS_INVALID_UNDEFINED
public static final AddressError ADDRESS_INVALID_UNDEFINED
public static final int _ADDRESS_INVALID_MISSING
public static final AddressError ADDRESS_INVALID_MISSING
public static final int _ADDRESS_INVALID_MISSING_ELEMENT
public static final AddressError ADDRESS_INVALID_MISSING_ELEMENT
public static final int _ADDRESS_INVALID_OUT_OF_RANGE
public static final AddressError ADDRESS_INVALID_OUT_OF_RANGE
public static final int _ADDRESS_INVALID_INCOMPLETE
public static final AddressError ADDRESS_INVALID_INCOMPLETE
public static final int _ADDRESS_INVALID_CANNOT_DECODE
public static final AddressError ADDRESS_INVALID_CANNOT_DECODE
| Method Detail |
public int getValue()
public java.lang.String getValueText()
public static AddressError getObject(int value)
throws InvalidEnumValueException
value - number representing type of object, this is defined within the class
InvalidEnumValueException - thrown if invalid value is passed into methodpublic boolean equals(java.lang.Object o)
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||