public abstract class FieldValueTypeInformation
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
FieldValueTypeInformation.Builder  | 
| Constructor and Description | 
|---|
FieldValueTypeInformation()  | 
| Modifier and Type | Method and Description | 
|---|---|
static FieldValueTypeInformation | 
forField(java.lang.reflect.Field field)  | 
static FieldValueTypeInformation | 
forGetter(java.lang.reflect.Method method)  | 
static FieldValueTypeInformation | 
forOneOf(java.lang.String name,
        boolean nullable,
        java.util.Map<java.lang.String,FieldValueTypeInformation> oneOfTypes)  | 
static FieldValueTypeInformation | 
forSetter(java.lang.reflect.Method method)  | 
static FieldValueTypeInformation | 
forSetter(java.lang.reflect.Method method,
         java.lang.String setterPrefix)  | 
abstract @Nullable FieldValueTypeInformation | 
getElementType()
If the field is a container type, returns the element type. 
 | 
abstract @Nullable java.lang.reflect.Field | 
getField()  | 
abstract @Nullable FieldValueTypeInformation | 
getMapKeyType()
If the field is a map type, returns the key type. 
 | 
abstract @Nullable FieldValueTypeInformation | 
getMapValueType()
If the field is a map type, returns the key type. 
 | 
abstract @Nullable java.lang.reflect.Method | 
getMethod()  | 
abstract java.lang.String | 
getName()
Returns the field name. 
 | 
static <T extends java.lang.reflect.AnnotatedElement & java.lang.reflect.Member> | 
getNameOverride(java.lang.String original,
               T member)  | 
abstract java.util.Map<java.lang.String,FieldValueTypeInformation> | 
getOneOfTypes()  | 
abstract java.lang.Class | 
getRawType()
Returns the raw class type. 
 | 
abstract TypeDescriptor | 
getType()
Returns the field type. 
 | 
abstract boolean | 
isNullable()
Returns whether the field is nullable. 
 | 
FieldValueTypeInformation | 
withName(java.lang.String name)  | 
public abstract java.lang.String getName()
public abstract boolean isNullable()
public abstract TypeDescriptor getType()
public abstract java.lang.Class getRawType()
public abstract @Nullable java.lang.reflect.Field getField()
public abstract @Nullable java.lang.reflect.Method getMethod()
public abstract java.util.Map<java.lang.String,FieldValueTypeInformation> getOneOfTypes()
public abstract @Nullable FieldValueTypeInformation getElementType()
public abstract @Nullable FieldValueTypeInformation getMapKeyType()
public abstract @Nullable FieldValueTypeInformation getMapValueType()
public static FieldValueTypeInformation forOneOf(java.lang.String name, boolean nullable, java.util.Map<java.lang.String,FieldValueTypeInformation> oneOfTypes)
public static FieldValueTypeInformation forField(java.lang.reflect.Field field)
public static <T extends java.lang.reflect.AnnotatedElement & java.lang.reflect.Member> java.lang.String getNameOverride(java.lang.String original,
                                                                                                                         T member)
public static FieldValueTypeInformation forGetter(java.lang.reflect.Method method)
public static FieldValueTypeInformation forSetter(java.lang.reflect.Method method)
public static FieldValueTypeInformation forSetter(java.lang.reflect.Method method, java.lang.String setterPrefix)
public FieldValueTypeInformation withName(java.lang.String name)