public enum ErrorCode extends java.lang.Enum<ErrorCode>
Java class for OAI-PMHerrorcodeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="OAI-PMHerrorcodeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="cannotDisseminateFormat"/> <enumeration value="idDoesNotExist"/> <enumeration value="badArgument"/> <enumeration value="badVerb"/> <enumeration value="noMetadataFormats"/> <enumeration value="noRecordsMatch"/> <enumeration value="badResumptionToken"/> <enumeration value="noSetHierarchy"/> </restriction> </simpleType>
Enum Constant and Description |
---|
BAD_ARGUMENT |
BAD_RESUMPTION_TOKEN |
BAD_VERB |
CANNOT_DISSEMINATE_FORMAT |
ID_DOES_NOT_EXIST |
NO_METADATA_FORMATS |
NO_RECORDS_MATCH |
NO_SET_HIERARCHY |
Modifier and Type | Method and Description |
---|---|
static ErrorCode |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode CANNOT_DISSEMINATE_FORMAT
public static final ErrorCode ID_DOES_NOT_EXIST
public static final ErrorCode BAD_ARGUMENT
public static final ErrorCode BAD_VERB
public static final ErrorCode NO_METADATA_FORMATS
public static final ErrorCode NO_RECORDS_MATCH
public static final ErrorCode BAD_RESUMPTION_TOKEN
public static final ErrorCode NO_SET_HIERARCHY
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode 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 java.lang.String value()
public static ErrorCode fromValue(java.lang.String v)
Copyright © 2007-2020 EDIT. All Rights Reserved.