Class JsonSchemaObject.Type.JsonType
java.lang.Object
org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type.JsonType
- All Implemented Interfaces:
JsonSchemaObject.Type
- Enclosing interface:
- JsonSchemaObject.Type
- Since:
- 2.1
- Author:
- Christpoh Strobl
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
JsonSchemaObject.Type.BsonType, JsonSchemaObject.Type.JsonType
-
Field Summary
Fields inherited from interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
ARRAY, BINARY_DATA, BOOLEAN, BSON_TYPES, DATE, DECIMAL_128, DOUBLE, INT_32, INT_64, JAVA_SCRIPT, JSON_TYPES, NULL, NUMBER, OBJECT, OBJECT_ID, REGULAR_EXPRESSION, STRING, TIMESTAMP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
Get theJsonSchemaObject.Type
representation.value()
Get theJsonSchemaObject.Type
value.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
toBsonType
-
Constructor Details
-
JsonType
-
-
Method Details
-
representation
Description copied from interface:JsonSchemaObject.Type
- Specified by:
representation
in interfaceJsonSchemaObject.Type
- Returns:
- never null.
-
value
Description copied from interface:JsonSchemaObject.Type
Get theJsonSchemaObject.Type
value. Like string, number,...- Specified by:
value
in interfaceJsonSchemaObject.Type
- Returns:
- never null.
-
equals
-
hashCode
public int hashCode()
-