org.gcube.common.xml.databases.existlibrary.collections
Enum CollectionImpl.CollectionType
java.lang.Object
java.lang.Enum<CollectionImpl.CollectionType>
org.gcube.common.xml.databases.existlibrary.collections.CollectionImpl.CollectionType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<CollectionImpl.CollectionType>
- Enclosing class:
- CollectionImpl
public static enum CollectionImpl.CollectionType
- extends java.lang.Enum<CollectionImpl.CollectionType>
Enumeration for collection type
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
PARTITIONED
public static final CollectionImpl.CollectionType PARTITIONED
SIMPLE
public static final CollectionImpl.CollectionType SIMPLE
values
public static CollectionImpl.CollectionType[] 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 (CollectionImpl.CollectionType c : CollectionImpl.CollectionType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CollectionImpl.CollectionType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null