Enum SaveModes
- java.lang.Object
-
- java.lang.Enum<SaveModes>
-
- com.iknowbase.api.contentservices.v1.model.SaveModes
-
- All Implemented Interfaces:
Serializable
,Comparable<SaveModes>
public enum SaveModes extends Enum<SaveModes>
Java class for saveModes.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="saveModes"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="COMPLETE"/> <enumeration value="METADATA"/> <enumeration value="ATTRIBUTE_SET"/> <enumeration value="ATTRIBUTES"/> <enumeration value="DOCCARD"/> <enumeration value="CONTENT"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTE_SET
ATTRIBUTES
COMPLETE
CONTENT
DOCCARD
METADATA
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SaveModes
fromValue(String v)
String
value()
static SaveModes
valueOf(String name)
Returns the enum constant of this type with the specified name.static SaveModes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPLETE
public static final SaveModes COMPLETE
-
METADATA
public static final SaveModes METADATA
-
ATTRIBUTE_SET
public static final SaveModes ATTRIBUTE_SET
-
ATTRIBUTES
public static final SaveModes ATTRIBUTES
-
DOCCARD
public static final SaveModes DOCCARD
-
CONTENT
public static final SaveModes CONTENT
-
-
Method Detail
-
values
public static SaveModes[] 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 (SaveModes c : SaveModes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SaveModes 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 nameNullPointerException
- if the argument is null
-
value
public String value()
-
-