org.nhindirect.xd.soap.type
Enum MetadataLevelEnum

java.lang.Object
  extended by java.lang.Enum<MetadataLevelEnum>
      extended by org.nhindirect.xd.soap.type.MetadataLevelEnum
All Implemented Interfaces:
Serializable, Comparable<MetadataLevelEnum>

public enum MetadataLevelEnum
extends Enum<MetadataLevelEnum>

Enumeration representing valid metadata levels for the direct:metadata-level SOAP header.

Author:
beau

Enum Constant Summary
MINIMAL
           
XDS
           
 
Method Summary
 String getLevel()
          Return the value of level.
 MetadataLevelEnum lookup(String level)
          Return the MetadataLevelEnum object matching the provided level.
static MetadataLevelEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MetadataLevelEnum[] 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

MINIMAL

public static final MetadataLevelEnum MINIMAL

XDS

public static final MetadataLevelEnum XDS
Method Detail

values

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

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

valueOf

public static MetadataLevelEnum valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getLevel

public String getLevel()
Return the value of level.

Returns:
the value of level.

lookup

public MetadataLevelEnum lookup(String level)
Return the MetadataLevelEnum object matching the provided level.

Parameters:
level - The level to use for the lookup.
Returns:
the MetadataLevelEnum object matching the provided level, or null if not found.


Copyright © 2010-2011. All Rights Reserved.