Enum FieldMappingCollectionType
- java.lang.Object
-
- java.lang.Enum<FieldMappingCollectionType>
-
- org.exolab.castor.mapping.xml.types.FieldMappingCollectionType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FieldMappingCollectionType>
public enum FieldMappingCollectionType extends java.lang.Enum<FieldMappingCollectionType>
Enumeration FieldMappingCollectionType.- Version:
- $Revision$ $Date$
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAYConstant ARRAYARRAYLISTConstant ARRAYLISTCOLLECTIONConstant COLLECTIONENUMERATEConstant ENUMERATEHASHTABLEConstant HASHTABLEITERATORConstant ITERATORMAPConstant MAPSETConstant SETSORTEDMAPConstant SORTEDMAPSORTEDSETConstant SORTEDSETVECTORConstant VECTOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FieldMappingCollectionTypefromValue(java.lang.String value)Method fromValue.voidsetValue(java.lang.String value)java.lang.StringtoString()Method toString.java.lang.Stringvalue()Method value.static FieldMappingCollectionTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FieldMappingCollectionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARRAY
public static final FieldMappingCollectionType ARRAY
Constant ARRAY
-
VECTOR
public static final FieldMappingCollectionType VECTOR
Constant VECTOR
-
ARRAYLIST
public static final FieldMappingCollectionType ARRAYLIST
Constant ARRAYLIST
-
HASHTABLE
public static final FieldMappingCollectionType HASHTABLE
Constant HASHTABLE
-
COLLECTION
public static final FieldMappingCollectionType COLLECTION
Constant COLLECTION
-
SET
public static final FieldMappingCollectionType SET
Constant SET
-
MAP
public static final FieldMappingCollectionType MAP
Constant MAP
-
ENUMERATE
public static final FieldMappingCollectionType ENUMERATE
Constant ENUMERATE
-
SORTEDSET
public static final FieldMappingCollectionType SORTEDSET
Constant SORTEDSET
-
ITERATOR
public static final FieldMappingCollectionType ITERATOR
Constant ITERATOR
-
SORTEDMAP
public static final FieldMappingCollectionType SORTEDMAP
Constant SORTEDMAP
-
-
Method Detail
-
values
public static FieldMappingCollectionType[] 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 (FieldMappingCollectionType c : FieldMappingCollectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FieldMappingCollectionType 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 namejava.lang.NullPointerException- if the argument is null
-
fromValue
public static FieldMappingCollectionType fromValue(java.lang.String value)
Method fromValue.- Parameters:
value-- Returns:
- the constant for this value
-
setValue
public void setValue(java.lang.String value)
- Parameters:
value-
-
toString
public java.lang.String toString()
Method toString.- Overrides:
toStringin classjava.lang.Enum<FieldMappingCollectionType>- Returns:
- the value of this constant
-
value
public java.lang.String value()
Method value.- Returns:
- the value of this constant
-
-