public enum PolymorphicSchemaFactories extends java.lang.Enum<PolymorphicSchemaFactories> implements PolymorphicSchema.Factory
| Enum Constant and Description |
|---|
ARRAY |
CLASS |
COLLECTION |
ENUM |
MAP |
NUMBER |
OBJECT |
THROWABLE |
| Modifier and Type | Method and Description |
|---|---|
static PolymorphicSchema.Factory |
getFactoryFromField(java.lang.Class<?> clazz) |
static PolymorphicSchema.Factory |
getFactoryFromRepeatedValueGenericType(java.lang.Class<?> clazz) |
static PolymorphicSchema |
getSchemaFromCollectionOrMapGenericType(java.lang.Class<?> clazz,
IdStrategy strategy) |
static PolymorphicSchemaFactories |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PolymorphicSchemaFactories[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnewSchemapublic static final PolymorphicSchemaFactories ARRAY
public static final PolymorphicSchemaFactories NUMBER
public static final PolymorphicSchemaFactories CLASS
public static final PolymorphicSchemaFactories ENUM
public static final PolymorphicSchemaFactories COLLECTION
public static final PolymorphicSchemaFactories MAP
public static final PolymorphicSchemaFactories THROWABLE
public static final PolymorphicSchemaFactories OBJECT
public static PolymorphicSchemaFactories[] values()
for (PolymorphicSchemaFactories c : PolymorphicSchemaFactories.values()) System.out.println(c);
public static PolymorphicSchemaFactories 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 static PolymorphicSchema.Factory getFactoryFromField(java.lang.Class<?> clazz)
public static PolymorphicSchema.Factory getFactoryFromRepeatedValueGenericType(java.lang.Class<?> clazz)
public static PolymorphicSchema getSchemaFromCollectionOrMapGenericType(java.lang.Class<?> clazz, IdStrategy strategy)
Copyright © 2009-2023. All Rights Reserved.