org.encog.persist.persistors.generic
Class FieldMapping
java.lang.Object
org.encog.persist.persistors.generic.FieldMapping
public class FieldMapping
- extends java.lang.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,
java.lang.reflect.Field field,
java.lang.Object target)
Construct a field mapping. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldMapping
public FieldMapping(int ref,
java.lang.reflect.Field field,
java.lang.Object target)
- Construct a field mapping.
- Parameters:
ref - The field reference.field - The field.target - The target that holds the field.
getField
public java.lang.reflect.Field getField()
- Returns:
- The field.
getRef
public int getRef()
- Returns:
- The field reference.
getTarget
public java.lang.Object getTarget()
- Returns:
- The target object that holds the field.