public abstract class FieldValueTypeInformation
extends java.lang.Object
implements java.io.Serializable
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 |
forSetter(java.lang.reflect.Method method) |
abstract FieldValueTypeInformation |
getElementType()
If the field is a container type, returns the element type.
|
abstract java.lang.reflect.Field |
getField() |
abstract FieldValueTypeInformation |
getMapKeyType()
If the field is a map type, returns the key type.
|
abstract FieldValueTypeInformation |
getMapValueType()
If the field is a map type, returns the key type.
|
abstract java.lang.reflect.Method |
getMethod() |
abstract java.lang.String |
getName()
Returns the field name.
|
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()
@Nullable public abstract java.lang.reflect.Field getField()
@Nullable public abstract java.lang.reflect.Method getMethod()
@Nullable public abstract FieldValueTypeInformation getElementType()
@Nullable public abstract FieldValueTypeInformation getMapKeyType()
@Nullable public abstract FieldValueTypeInformation getMapValueType()
public static FieldValueTypeInformation forField(java.lang.reflect.Field field)
public static FieldValueTypeInformation forGetter(java.lang.reflect.Method method)
public static FieldValueTypeInformation forSetter(java.lang.reflect.Method method)
public FieldValueTypeInformation withName(java.lang.String name)