net.sf.jsefa.rbf.mapping
Class RbfNodeMapping<T extends RbfNodeDescriptor>

java.lang.Object
  extended by net.sf.jsefa.common.mapping.NodeMapping<String,T>
      extended by net.sf.jsefa.rbf.mapping.RbfNodeMapping<T>
Type Parameters:
T - the type of the node descriptor
Direct Known Subclasses:
FieldMapping, RecordMapping

public abstract class RbfNodeMapping<T extends RbfNodeDescriptor>
extends NodeMapping<String,T>

A mapping between an rbf node and a java object. This mapping is used for serialization and deserialization.

Author:
Norman Lahme-Huetig

Constructor Summary
RbfNodeMapping(String dataTypeName, T nodeDescriptor, Class<?> objectType, FieldDescriptor fieldDescriptor, Validator validator)
          Constructs a new NodeMapping.
 
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

RbfNodeMapping

public RbfNodeMapping(String dataTypeName,
                      T nodeDescriptor,
                      Class<?> objectType,
                      FieldDescriptor fieldDescriptor,
                      Validator validator)
Constructs a new NodeMapping.

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.