org.tolven.trim
Enum AddressUse

java.lang.Object
  extended by java.lang.Enum<AddressUse>
      extended by org.tolven.trim.AddressUse
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AddressUse>

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

Java class for AddressUse.

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

 <simpleType name="AddressUse">
   <restriction base="{urn:tolven-org:trim:4.0}cs">
     <enumeration value="BAD"/>
     <enumeration value="TMP"/>
     <enumeration value="H"/>
     <enumeration value="HP"/>
     <enumeration value="HV"/>
     <enumeration value="WP"/>
     <enumeration value="DIR"/>
     <enumeration value="PUB"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
BAD
           
DIR
           
H
           
HP
           
HV
           
PUB
           
TMP
           
WP
           
 
Method Summary
static AddressUse fromValue(java.lang.String v)
           
 java.lang.String value()
           
static AddressUse valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AddressUse[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BAD

public static final AddressUse BAD

TMP

public static final AddressUse TMP

H

public static final AddressUse H

HP

public static final AddressUse HP

HV

public static final AddressUse HV

WP

public static final AddressUse WP

DIR

public static final AddressUse DIR

PUB

public static final AddressUse PUB
Method Detail

values

public static AddressUse[] 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 (AddressUse c : AddressUse.values())
    System.out.println(c);

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

valueOf

public static AddressUse 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 AddressUse fromValue(java.lang.String v)