public static class JsonSchemaObject.Type.JsonType extends Object implements JsonSchemaObject.Type
JsonSchemaObject.Type.BsonType, JsonSchemaObject.Type.JsonTypeARRAY, 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| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
representation()
Get the
JsonSchemaObject.Type representation. |
String |
value()
Get the
JsonSchemaObject.Type value. |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitarrayType, bigDecimalType, binaryType, booleanType, bsonTypeOf, bsonTypes, dateType, doubleType, intType, javascriptType, jsonTypeOf, jsonTypes, longType, nullType, numberType, objectIdType, objectType, of, regexType, stringType, timestampType, toBsonTypepublic JsonType(String name)
public String representation()
JsonSchemaObject.Typerepresentation in interface JsonSchemaObject.Typepublic String value()
JsonSchemaObject.TypeJsonSchemaObject.Type value. Like string, number,...value in interface JsonSchemaObject.TypeCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.