org.encog.persist.persistors.generic
Class FieldMapping

java.lang.Object
  extended by org.encog.persist.persistors.generic.FieldMapping

public class FieldMapping
extends Object

A simple mapping that holds the reference, field and target of an object. This is used internally by the object mapper to help resolve references.


Constructor Summary
FieldMapping(int ref, Field field, Object target)
          Construct a field mapping.
 
Method Summary
 Field getField()
           
 int getRef()
           
 Object getTarget()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldMapping

public FieldMapping(int ref,
                    Field field,
                    Object target)
Construct a field mapping.

Parameters:
ref - The field reference.
field - The field.
target - The target that holds the field.
Method Detail

getField

public Field getField()
Returns:
The field.

getRef

public int getRef()
Returns:
The field reference.

getTarget

public Object getTarget()
Returns:
The target object that holds the field.


Copyright © 2011. All Rights Reserved.