HiRISE

HiRISE.HiCat.Utilities
Enum DBFeatureTest.DBTestData

java.lang.Object
  extended by java.lang.Enum<DBFeatureTest.DBTestData>
      extended by HiRISE.HiCat.Utilities.DBFeatureTest.DBTestData
All Implemented Interfaces:
Serializable, Comparable<DBFeatureTest.DBTestData>
Enclosing class:
DBFeatureTest

public static enum DBFeatureTest.DBTestData
extends Enum<DBFeatureTest.DBTestData>

An enumerated set of test data to be used for testing MySQL database server behavior.


Enum Constant Summary
goodDate
           
goodDateTime
           
goodTime
           
invalidDate
           
invalidDateTime
           
invalidTime
           
longString
           
shortString
           
zeroDate
           
zeroDateTime
           
zeroTime
           
 
Method Summary
 String value()
           
static DBFeatureTest.DBTestData valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DBFeatureTest.DBTestData[] 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

shortString

public static final DBFeatureTest.DBTestData shortString

longString

public static final DBFeatureTest.DBTestData longString

goodDate

public static final DBFeatureTest.DBTestData goodDate

zeroDate

public static final DBFeatureTest.DBTestData zeroDate

invalidDate

public static final DBFeatureTest.DBTestData invalidDate

goodTime

public static final DBFeatureTest.DBTestData goodTime

zeroTime

public static final DBFeatureTest.DBTestData zeroTime

invalidTime

public static final DBFeatureTest.DBTestData invalidTime

goodDateTime

public static final DBFeatureTest.DBTestData goodDateTime

zeroDateTime

public static final DBFeatureTest.DBTestData zeroDateTime

invalidDateTime

public static final DBFeatureTest.DBTestData invalidDateTime
Method Detail

values

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

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

valueOf

public static DBFeatureTest.DBTestData 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

value

public String value()

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona