|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnz.ac.waikato.mcennis.rat.reusablecores.instancefactory.DefaultInstanceFactory
public class DefaultInstanceFactory
This class is used when an approprite Object specific factory does not exist. It always returns an Instance wihout attributes.
Constructor Summary | |
---|---|
DefaultInstanceFactory()
|
Method Summary | |
---|---|
DefaultInstanceFactory |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultInstanceFactory()
Method Detail |
---|
public Instance transform(java.lang.Object value, java.lang.String name)
InstanceFactory
transform
in interface InstanceFactory
value
- Property value to be transformedname
- string utilized to derive a dataset name and attribute names.
public DefaultInstanceFactory prototype()
prototype
in interface InstanceFactory
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |