net.sf.jsefa.rbf.mapping
Class FieldMapping
java.lang.Object
net.sf.jsefa.common.mapping.NodeMapping<String,T>
net.sf.jsefa.rbf.mapping.RbfNodeMapping<RbfFieldDescriptor>
net.sf.jsefa.rbf.mapping.FieldMapping
public final class FieldMapping
- extends RbfNodeMapping<RbfFieldDescriptor>
A mapping between an rbf field node and a java object. This mapping is used for serialization and
deserialization.
Instances of this class are immutable and thread-safe.
- Author:
- Norman Lahme-Huetig
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldMapping
public FieldMapping(String dataTypename,
RbfFieldDescriptor nodeDescriptor,
Class<?> objectType,
FieldDescriptor fieldDescriptor,
Validator validator)
- Constructs a new
FieldMapping
.
- Parameters:
dataTypename
- the data type namenodeDescriptor
- the node descriptorobjectType
- the object typefieldDescriptor
- the field descriptorvalidator
- the validator; may be null
Copyright © 2014. All rights reserved.