Package info.psidev.cvmapping
Enum CvMappingRule.RequirementLevel
- java.lang.Object
-
- java.lang.Enum<CvMappingRule.RequirementLevel>
-
- info.psidev.cvmapping.CvMappingRule.RequirementLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<CvMappingRule.RequirementLevel>
- Enclosing class:
- CvMappingRule
public static enum CvMappingRule.RequirementLevel extends Enum<CvMappingRule.RequirementLevel>
Java-Klasse für null.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="MUST"/> <enumeration value="SHOULD"/> <enumeration value="MAY"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CvMappingRule.RequirementLevel
fromValue(String v)
String
value()
static CvMappingRule.RequirementLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static CvMappingRule.RequirementLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MUST
public static final CvMappingRule.RequirementLevel MUST
-
SHOULD
public static final CvMappingRule.RequirementLevel SHOULD
-
MAY
public static final CvMappingRule.RequirementLevel MAY
-
-
Method Detail
-
values
public static CvMappingRule.RequirementLevel[] 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 (CvMappingRule.RequirementLevel c : CvMappingRule.RequirementLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CvMappingRule.RequirementLevel 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
-
fromValue
public static CvMappingRule.RequirementLevel fromValue(String v)
-
-