Package io.apicurio.datamodels.models
Enum ModelType
- java.lang.Object
-
- java.lang.Enum<ModelType>
-
- io.apicurio.datamodels.models.ModelType
-
- All Implemented Interfaces:
Serializable,Comparable<ModelType>
public enum ModelType extends Enum<ModelType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASYNCAPI20ASYNCAPI21ASYNCAPI22ASYNCAPI23ASYNCAPI24ASYNCAPI25ASYNCAPI26ASYNCAPI30OPENAPI20OPENAPI30OPENAPI31
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModelTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ModelType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASYNCAPI20
public static final ModelType ASYNCAPI20
-
ASYNCAPI21
public static final ModelType ASYNCAPI21
-
ASYNCAPI22
public static final ModelType ASYNCAPI22
-
ASYNCAPI23
public static final ModelType ASYNCAPI23
-
ASYNCAPI24
public static final ModelType ASYNCAPI24
-
ASYNCAPI25
public static final ModelType ASYNCAPI25
-
ASYNCAPI26
public static final ModelType ASYNCAPI26
-
ASYNCAPI30
public static final ModelType ASYNCAPI30
-
OPENAPI20
public static final ModelType OPENAPI20
-
OPENAPI30
public static final ModelType OPENAPI30
-
OPENAPI31
public static final ModelType OPENAPI31
-
-
Method Detail
-
values
public static ModelType[] 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 (ModelType c : ModelType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModelType 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
-
-