edu.indiana.extreme.lead.resource_catalog.xsd
Class DataCatalogType.Enum

java.lang.Object
  extended by org.apache.xmlbeans.StringEnumAbstractBase
      extended by edu.indiana.extreme.lead.resource_catalog.xsd.DataCatalogType.Enum
Enclosing interface:
DataCatalogType

public static final class DataCatalogType.Enum
extends org.apache.xmlbeans.StringEnumAbstractBase

Enumeration value class for edu.indiana.extreme.lead.resource_catalog.xsd.DataCatalogType. These enum values can be used as follows:

 enum.toString(); // returns the string value of the enum
 enum.intValue(); // returns an int value, useful for switches
 // e.g., case Enum.INT_THREDDS
 Enum.forString(s); // returns the enum value for a string
 Enum.forInt(i); // returns the enum value for an int
 
Enumeration objects are immutable singleton objects that can be compared using == object equality. They have no public constructor. See the constants defined within this class for all the valid values.


Field Summary
static org.apache.xmlbeans.StringEnumAbstractBase.Table table
           
 
Method Summary
static DataCatalogType.Enum forInt(int i)
          Returns the enum value corresponding to an int, or null if none.
static DataCatalogType.Enum forString(java.lang.String s)
          Returns the enum value for a string, or null if none.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
Method Detail

forString

public static DataCatalogType.Enum forString(java.lang.String s)
Returns the enum value for a string, or null if none.


forInt

public static DataCatalogType.Enum forInt(int i)
Returns the enum value corresponding to an int, or null if none.



Copyright (c) 2005 Extreme! Lab, Indiana University. All rights reserved.
This software is open source. See here for the licence.