org.csapi.jr.se
Class AddressPresentation

java.lang.Object
  extended byorg.csapi.jr.se.AddressPresentation
All Implemented Interfaces:
java.io.Serializable

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

Defines whether an address can be presented to an end user.

See Also:
Serialized Form

Field Summary
static int _ADDRESS_PRESENTATION_ADDRESS_NOT_AVAILABLE
          Address not available for presentation
static int _ADDRESS_PRESENTATION_ALLOWED
          Presentation Allowed
static int _ADDRESS_PRESENTATION_RESTRICTED
          Presentation Restricted
static int _ADDRESS_PRESENTATION_UNDEFINED
          Undefined
static AddressPresentation ADDRESS_PRESENTATION_ADDRESS_NOT_AVAILABLE
          Address not available for presentation
static AddressPresentation ADDRESS_PRESENTATION_ALLOWED
          Presentation Allowed
static AddressPresentation ADDRESS_PRESENTATION_RESTRICTED
          Presentation Restricted
static AddressPresentation ADDRESS_PRESENTATION_UNDEFINED
          Undefined
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static AddressPresentation getObject(int value)
          Accepts values in the range of 0 to 3
 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

_ADDRESS_PRESENTATION_UNDEFINED

public static final int _ADDRESS_PRESENTATION_UNDEFINED
Undefined

See Also:
Constant Field Values

ADDRESS_PRESENTATION_UNDEFINED

public static final AddressPresentation ADDRESS_PRESENTATION_UNDEFINED
Undefined


_ADDRESS_PRESENTATION_ALLOWED

public static final int _ADDRESS_PRESENTATION_ALLOWED
Presentation Allowed

See Also:
Constant Field Values

ADDRESS_PRESENTATION_ALLOWED

public static final AddressPresentation ADDRESS_PRESENTATION_ALLOWED
Presentation Allowed


_ADDRESS_PRESENTATION_RESTRICTED

public static final int _ADDRESS_PRESENTATION_RESTRICTED
Presentation Restricted

See Also:
Constant Field Values

ADDRESS_PRESENTATION_RESTRICTED

public static final AddressPresentation ADDRESS_PRESENTATION_RESTRICTED
Presentation Restricted


_ADDRESS_PRESENTATION_ADDRESS_NOT_AVAILABLE

public static final int _ADDRESS_PRESENTATION_ADDRESS_NOT_AVAILABLE
Address not available for presentation

See Also:
Constant Field Values

ADDRESS_PRESENTATION_ADDRESS_NOT_AVAILABLE

public static final AddressPresentation ADDRESS_PRESENTATION_ADDRESS_NOT_AVAILABLE
Address not available for presentation

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

getObject

public static AddressPresentation getObject(int value)
                                     throws InvalidEnumValueException
Accepts values in the range of 0 to 3

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.


hashCode

public int hashCode()
Returns a hashcode value for the object.