Package io.zerocopy.json.schema
Enum JsonSchemaV7.Type
- java.lang.Object
-
- java.lang.Enum<JsonSchemaV7.Type>
-
- io.zerocopy.json.schema.JsonSchemaV7.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JsonSchemaV7.Type>
- Enclosing class:
- JsonSchemaV7
public static enum JsonSchemaV7.Type extends java.lang.Enum<JsonSchemaV7.Type>
-
-
Field Summary
Fields Modifier and Type Field Description com.fasterxml.jackson.databind.node.JsonNodeTypenodeTypeJsonSchemaV7.TypesuperTypejava.lang.Stringvalue
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonSchemaV7.TypeforValue(java.lang.String value)static JsonSchemaV7.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JsonSchemaV7.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OBJECT
public static final JsonSchemaV7.Type OBJECT
-
ARRAY
public static final JsonSchemaV7.Type ARRAY
-
STRING
public static final JsonSchemaV7.Type STRING
-
NUMBER
public static final JsonSchemaV7.Type NUMBER
-
INTEGER
public static final JsonSchemaV7.Type INTEGER
-
BOOLEAN
public static final JsonSchemaV7.Type BOOLEAN
-
NULL
public static final JsonSchemaV7.Type NULL
-
-
Field Detail
-
value
public final java.lang.String value
-
nodeType
public final com.fasterxml.jackson.databind.node.JsonNodeType nodeType
-
superType
public final JsonSchemaV7.Type superType
-
-
Method Detail
-
values
public static JsonSchemaV7.Type[] 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 (JsonSchemaV7.Type c : JsonSchemaV7.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonSchemaV7.Type 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
-
forValue
public static JsonSchemaV7.Type forValue(java.lang.String value)
-
-