au.net.electronichealth.ns.pcehr.xsd.common.commoncoreelements._1
Enum PostalDeliveryType

java.lang.Object
  extended by java.lang.Enum<PostalDeliveryType>
      extended by au.net.electronichealth.ns.pcehr.xsd.common.commoncoreelements._1.PostalDeliveryType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PostalDeliveryType>

public enum PostalDeliveryType
extends java.lang.Enum<PostalDeliveryType>

Java class for postalDeliveryType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="postalDeliveryType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="Care PO"/>
     <enumeration value="CMA"/>
     <enumeration value="CMB"/>
     <enumeration value="GPO Box"/>
     <enumeration value="Locked Bag"/>
     <enumeration value="MS"/>
     <enumeration value="PO Box"/>
     <enumeration value="POR"/>
     <enumeration value="Private Bag"/>
     <enumeration value="RSD"/>
     <enumeration value="RMB"/>
     <enumeration value="RMS"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
CARE_PO
          Care-of Post Office (also known as Poste Restante)
CMA
          Community Mail Agent
CMB
          Community Mail Bag
GPO_BOX
          General Post Office Box
LOCKED_BAG
          Locked Mail Bag Service
MS
          Mail Service
PO_BOX
          Post Office Box
POR
          Post Restante (also known as Care-of Post Office)
PRIVATE_BAG
          Private Mail Bag Service
RMB
          Roadside Mail Box/Bag
RMS
          Roadside Mail Service
RSD
          Roadside Delivery
 
Method Summary
static PostalDeliveryType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static PostalDeliveryType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PostalDeliveryType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CARE_PO

public static final PostalDeliveryType CARE_PO
Care-of Post Office (also known as Poste Restante)


CMA

public static final PostalDeliveryType CMA
Community Mail Agent


CMB

public static final PostalDeliveryType CMB
Community Mail Bag


GPO_BOX

public static final PostalDeliveryType GPO_BOX
General Post Office Box


LOCKED_BAG

public static final PostalDeliveryType LOCKED_BAG
Locked Mail Bag Service


MS

public static final PostalDeliveryType MS
Mail Service


PO_BOX

public static final PostalDeliveryType PO_BOX
Post Office Box


POR

public static final PostalDeliveryType POR
Post Restante (also known as Care-of Post Office)


PRIVATE_BAG

public static final PostalDeliveryType PRIVATE_BAG
Private Mail Bag Service


RSD

public static final PostalDeliveryType RSD
Roadside Delivery


RMB

public static final PostalDeliveryType RMB
Roadside Mail Box/Bag


RMS

public static final PostalDeliveryType RMS
Roadside Mail Service

Method Detail

values

public static PostalDeliveryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PostalDeliveryType c : PostalDeliveryType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PostalDeliveryType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public java.lang.String value()

fromValue

public static PostalDeliveryType fromValue(java.lang.String v)