public enum DatabaseMetaDataCacheFactoryClass extends java.lang.Enum<DatabaseMetaDataCacheFactoryClass> implements ClassEnum<DatabaseMetaDataCacheFactory>
| Modifier and Type | Method and Description |
|---|---|
static DatabaseMetaDataCacheFactory |
deserialize(java.lang.String id)
Creates a new instance of the
DatabaseMetaDataCacheFactory implementation identified by the specified identifier |
boolean |
isInstance(DatabaseMetaDataCacheFactory cache)
Indicates whether the specified object is an instance of this enumerated class.
|
DatabaseMetaDataCacheFactory |
newInstance()
Creates a new instance of the enumerated class.
|
static java.lang.String |
serialize(DatabaseMetaDataCacheFactory factory)
Return the identifier of the specified
DatabaseMetaDataCacheFactory. |
static DatabaseMetaDataCacheFactoryClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseMetaDataCacheFactoryClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseMetaDataCacheFactoryClass NONE
public static final DatabaseMetaDataCacheFactoryClass LAZY
public static final DatabaseMetaDataCacheFactoryClass EAGER
public static DatabaseMetaDataCacheFactoryClass[] values()
for (DatabaseMetaDataCacheFactoryClass c : DatabaseMetaDataCacheFactoryClass.values()) System.out.println(c);
public static DatabaseMetaDataCacheFactoryClass valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isInstance(DatabaseMetaDataCacheFactory cache)
ClassEnumisInstance in interface ClassEnum<DatabaseMetaDataCacheFactory>cache - an instanceClassEnum.isInstance(java.lang.Object)public DatabaseMetaDataCacheFactory newInstance() throws java.lang.Exception
ClassEnumnewInstance in interface ClassEnum<DatabaseMetaDataCacheFactory>java.lang.Exception - if a new instance could not be instantiated.ClassEnum.newInstance()public static DatabaseMetaDataCacheFactory deserialize(java.lang.String id) throws java.lang.Exception
DatabaseMetaDataCacheFactory implementation identified by the specified identifierid - an enumerated cache identifierjava.lang.Exception - if specified cache identifier is invalidpublic static java.lang.String serialize(DatabaseMetaDataCacheFactory factory)
DatabaseMetaDataCacheFactory.factory - a cache factory implementation