nz.ac.waikato.mcennis.rat.reusablecores.instancefactory
Interface InstanceFactory
- All Known Implementing Classes:
- DefaultInstanceFactory, DoubleArrayInstanceFactory, DoubleInstanceFactory, InstanceInstanceFactory, IntegerInstanceFactory, LongInstanceFactory, StringInstanceFactory
public interface InstanceFactory
Interface for transforming Properties into Instance Objects.
Method Summary |
InstanceFactory |
prototype()
|
Instance |
transform(java.lang.Object value,
java.lang.String name)
Transform an object into an Instance where the name of the dataset and the
names of the attributes are derived from the name provided. |
transform
Instance transform(java.lang.Object value,
java.lang.String name)
- Transform an object into an Instance where the name of the dataset and the
names of the attributes are derived from the name provided.
- Parameters:
value
- Property value to be transformedname
- string utilized to derive a dataset name and attribute names.
- Returns:
- Instance representing this object
prototype
InstanceFactory prototype()