org.encog.persist.persistors.generic
Class FieldMapping
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.