net.simplace.sim.io.resources.FWSimInputAdapter

Abstract implementation for the IO-Adapter for only reading input data


public abstract class FWSimInputAdapter extends
net.simplace.sim.io.FWSimIOAdapter {
// Protected Constructors
protected FWSimInputAdapter(Element aResourceElement, FWSimSession aSession,
int aOrderNumber);
protected FWSimInputAdapter(Element aResourceElement, String aName, int
aOrderNumber, FWSimInterface aInterface, FWSimIOAdapter.FREQUENCE
aFrequence, FWSimSession aFwSimSession);
protected FWSimInputAdapter(FWSimInputAdapter aAdapter, FWSimInterface
aInterface);

// Protected Instance Variables
protected Boolean iShouldCacheToDB;
protected JexlRuleScript iJexlScript;

// Public Instance Methods
public abstract FWSimResourceCache getData(FWSimVarMap aVarMap)
throws MissingSimResourceException;


returns SimResourceCache containing the data from the resource media
public Collection getOutputVariables();

returning the variables from the header information
public Collection getInputVariables();

always returning empty list because this adapters are not meant to receive input data
public FWSimVariable.CONTENT_TYPE getContentType();

public JexlRuleScript getJexlScript();


returns the jexlScript
public FWSimVarMap getVarMap();

public String toHTMLTablestring();

creates HTML Documentation form of the Input Adaptor
returns the generated HTMLString
public boolean isTransformer();


returns if the InputAdapter is a transformer
public boolean shouldCacheToDB();


returns


}



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



Extended by: FWSimResourceAdapter, FWSimResourceTransformer



Passed to: FWSimResourceManager.addResourceCreator(), FWSimInputAdapter(), FWSimResourceCache.FWSimResourceCache(), NetCDFResourceCache.NetCDFResourceCache(), net.simplace.sim.io.interfaces.XMLInterface.read(), net.simplace.sim.io.interfaces.NetCDFInterface.read(), net.simplace.sim.io.interfaces.MEMORYInterface.read(), net.simplace.sim.io.interfaces.JSONInterface.read(), net.simplace.sim.io.interfaces.FWSimInterface.read(), net.simplace.sim.io.interfaces.DatabaseInterface.read(), net.simplace.sim.io.interfaces.CSVInterface.read()



Returned by: FWSimResourceCache.getResourceAdapter(), FWSimResourceManager.getResourceCreator()