Class FieldData<I,O> 
java.lang.Object
org.spongepowered.configurate.objectmapping.FieldData<I,O> 
- Type Parameters:
- I- intermediate type
- O- container type
Holder for field-specific information.
- Since:
- 4.0.0
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceA deserialization handler to appropriately place object data into fields.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanTest if an object would be valid for this field.abstract Stringname()The name of the field.abstract AnnotatedTypeThe calculated type of this field within the object type.@Nullable ConfigurationNoderesolveNode(ConfigurationNode source) Use this field's node resolvers to determine a target node.voidTry to ensure the provided value is acceptable.
- 
Method Details- 
nameThe name of the field.- Returns:
- field name
- Since:
- 4.0.0
 
- 
resolvedTypeThe calculated type of this field within the object type.This value has had any possible type parameters resolved using information available in the context. - Returns:
- the resolved type
- Since:
- 4.0.0
 
- 
isValidTest if an object would be valid for this field.- Parameters:
- instance- instance to validate
- Returns:
- true if valid
- Since:
- 4.0.0
 
- 
validateTry to ensure the provided value is acceptable.- Parameters:
- instance- field value instance to validate
- Throws:
- SerializationException- if validation fails
- Since:
- 4.0.0
 
- 
resolveNodeUse this field's node resolvers to determine a target node.- Parameters:
- source- parent node
- Returns:
- resolved node
- Since:
- 4.0.0
 
 
-