net.simplace.simulation.io.resources.FWSimInputAdapter

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


public abstract class FWSimInputAdapter extends
net.simplace.simulation.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


}



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



Extended by: FWSimResourceAdapter, FWSimResourceTransformer



Passed to: FWSimResourceManager.addResourceCreator(), FWSimResourceCache.fromResultSet(), FWSimInputAdapter(), FWSimResourceCache.FWSimResourceCache()



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