Class LinearPopulator
java.lang.Object
dxt.moe.lib.mod2obj.LinearPopulator
- All Implemented Interfaces:
Populator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription/////////////////////////////////////////////////////////////////////////////////////////////populate(dxt.moe.model.AnyData data, String dataKey, TargetEntity entity, Object targetObj) Populates a target Java object using any data by invoking the provided method on the object.
-
Constructor Details
-
LinearPopulator
-
-
Method Details
-
create
-
populate
public Status populate(dxt.moe.model.AnyData data, String dataKey, TargetEntity entity, Object targetObj) throws dxt.moe.app.ConvertException Description copied from interface:PopulatorPopulates a target Java object using any data by invoking the provided method on the object. The anydata encapsulates any one of a simple, linear or mapped data.- Specified by:
populatein interfacePopulator- Parameters:
data- one of a simple, linear or mapped datadataKey- The key associated with the any data.entity- the target entity that encapsulates the target object and the method to invoketargetObj- the target Java object to populate- Returns:
- a
Statusindicating the result of the population operation - Throws:
dxt.moe.app.ConvertException- if the population operation fails
-