net.sf.jsefa.rbf.mapping
Class FieldMapping

java.lang.Object
  extended by net.sf.jsefa.common.mapping.NodeMapping<String,T>
      extended by net.sf.jsefa.rbf.mapping.RbfNodeMapping<RbfFieldDescriptor>
          extended by 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

Constructor Summary
FieldMapping(String dataTypename, RbfFieldDescriptor nodeDescriptor, Class<?> objectType, FieldDescriptor fieldDescriptor, Validator validator)
          Constructs a new FieldMapping.
 
Method Summary
 
Methods inherited from class net.sf.jsefa.common.mapping.NodeMapping
getDataTypeName, getFieldDescriptor, getNodeDescriptor, getObjectType, getValidator, isIndirectMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldMapping

public FieldMapping(String dataTypename,
                    RbfFieldDescriptor nodeDescriptor,
                    Class<?> objectType,
                    FieldDescriptor fieldDescriptor,
                    Validator validator)
Constructs a new FieldMapping.

Parameters:
dataTypename - the data type name
nodeDescriptor - the node descriptor
objectType - the object type
fieldDescriptor - the field descriptor
validator - the validator; may be null


Copyright © 2014. All rights reserved.