net.simplace.simulation.io.resources.FWSimResourceTransformer

ResourceTransformer is able to transform the data read within the resources to other format in table structure. known Implementations:

See also: net.simplace.simulation.io.resources.transformer.DefaultSQLStatementTransformer




public abstract class FWSimResourceTransformer extends FWSimInputAdapter {
// Protected Constructors
protected FWSimResourceTransformer(FWSimSession aSession, Element
aResourceElement, Integer aOrderNumber);
protected FWSimResourceTransformer(FWSimSession aSession, Integer
aOrderNumber);

// Constants
protected final String iPoolName;
// Protected Instance Variables
protected LinkedHashMap iIntColumnMap;
protected String iSourceName;
protected HashMap iFieldMap;

// Class Methods
public static FWSimResourceTransformer createResourceTransformer(
FWSimSession aSession, String aClassName, Integer aOrderNumber);

factory method for Creation of the resource transformer
returns the resource transformer
public static FWSimResourceTransformer createResourceTransformer(String
aClassName);

factory method for Creation of the resource transformer for documentation purpose only
returns the resource transformer
public static FWSimResourceTransformer createResourceTransformer(
FWSimSession aSession, Element aTransformElement, Integer aOrderNumber);

factory method for Creation of the resource transformer
returns the resource transformer

// Public Instance Methods
public abstract void fillVarMap(FWSimVarMap aSimVarMap);

Fills VarMap from Data in ResourceCache
public Element toXML();

public final Element getCreateFormXML(); // Defines
net.simplace.simulation.io.FWSimIOAdapter


public Element getEditFormXML(boolean aEnabled); // Defines
net.simplace.simulation.io.FWSimIOAdapter


public Element createFormFields(FWSimResourceTransformer aTransformer);


returns the created Element
public void addVariable(FWSimVariable aVariable); // Defines
net.simplace.simulation.io.FWSimIOAdapter


public FWSimVariable getVariable(String aKey); // Defines
net.simplace.simulation.io.FWSimIOAdapter


public abstract void updateFields(FWObservable aObservable);


// Protected Instance Methods
protected FWSimResourceCache getSourceResourceCache(FWSimVarMap aVarMap)
throws MissingSimResourceException;


returns the ResourceCache of the Source Component


}



Hierarchy: java.lang.Object - net.simplace.simulation.io.FWSimIOAdapter (net.simplace.simulation.util.FWSimFieldContainer) - FWSimInputAdapter - FWSimResourceTransformer



Extended by: net.simplace.simulation.io.resources.transformer.DefaultRuleTransformer, net.simplace.simulation.io.resources.transformer.DefaultSQLStatementTransformer



Passed to: createFormFields()



Returned by: createResourceTransformer(), createResourceTransformer(), createResourceTransformer()