thredds.catalog2
Enum ThreddsMetadata.DatePointType

java.lang.Object
  extended by java.lang.Enum<ThreddsMetadata.DatePointType>
      extended by thredds.catalog2.ThreddsMetadata.DatePointType
All Implemented Interfaces:
Serializable, Comparable<ThreddsMetadata.DatePointType>
Enclosing interface:
ThreddsMetadata

public static enum ThreddsMetadata.DatePointType
extends Enum<ThreddsMetadata.DatePointType>


Enum Constant Summary
Available
           
Created
           
Issued
           
MetadataCreated
           
MetadataModified
           
Modified
           
Other
           
Untyped
           
Valid
           
 
Method Summary
static ThreddsMetadata.DatePointType getTypeForLabel(String label)
           
 String toString()
           
static ThreddsMetadata.DatePointType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ThreddsMetadata.DatePointType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Created

public static final ThreddsMetadata.DatePointType Created

Modified

public static final ThreddsMetadata.DatePointType Modified

Valid

public static final ThreddsMetadata.DatePointType Valid

Issued

public static final ThreddsMetadata.DatePointType Issued

Available

public static final ThreddsMetadata.DatePointType Available

MetadataCreated

public static final ThreddsMetadata.DatePointType MetadataCreated

MetadataModified

public static final ThreddsMetadata.DatePointType MetadataModified

Other

public static final ThreddsMetadata.DatePointType Other

Untyped

public static final ThreddsMetadata.DatePointType Untyped
Method Detail

values

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

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

valueOf

public static ThreddsMetadata.DatePointType 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

getTypeForLabel

public static ThreddsMetadata.DatePointType getTypeForLabel(String label)

toString

public String toString()
Overrides:
toString in class Enum<ThreddsMetadata.DatePointType>


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.