Package net.simplace.sim.io.resources
Klasse FWSimInputAdapter
java.lang.Object
net.simplace.sim.io.FWSimIOAdapter
net.simplace.sim.io.resources.FWSimInputAdapter
- Alle implementierten Schnittstellen:
FWSimFieldContainer
- Bekannte direkte Unterklassen:
FWSimResourceAdapter,FWSimResourceAlias,FWSimResourceTransformer
Abstract implementation for the IO-Adapter for only reading input data
- Autor:
- Andreas Enders
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen net.simplace.sim.io.FWSimIOAdapter
FWSimIOAdapter.FREQUENCE -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected JexlRuleScriptprotected Booleanif the content of the result cache should also be put to the databaseVon Klasse geerbte Felder net.simplace.sim.io.FWSimIOAdapter
iArrayMode, iFieldcount, iFrequence, iHeaderVariables, iInterface, iJexlRule, iKeyMap, iName, iOrderNumber, iProcessTime, iResourceElement, iSession, iSourceKey -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedFWSimInputAdapter(FWSimInputAdapter aAdapter, FWSimInterface<?> aInterface) update adapter calls this clone construtorprotectedFWSimInputAdapter(org.jdom2.Element aResourceElement, String aName, int aOrderNumber, FWSimInterface<?> aInterface, FWSimIOAdapter.FREQUENCE aFrequence, FWSimSession aFwSimSession) called from graph panel to instantiate the adapterprotectedFWSimInputAdapter(org.jdom2.Element aResourceElement, FWSimSession aSession, int aOrderNumber) Create Adapter from Resource Element -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract FWSimResourceCachegetData(FWSimVarMap aVarMap) always returning empty list because this adapters are not meant to receive input datareturning the variables from the header informationbooleanbooleancreates HTML Documentation form of the Input AdaptorVon Klasse geerbte Methoden net.simplace.sim.io.FWSimIOAdapter
addProcessTime, addVariable, checkCondition, createFormFields, createVariables, finalize, getCreateFormXML, getEditFormXML, getFieldMap, getFrequence, getHeaderVariables, getHeaderXML, getInterface, getJexlRule, getKeyMap, getName, getOrderNumber, getVariable, isArrayMode, isConditionCheck, removeVariable, setInterface, setOrderNumber, toString, writeHeaderListVon Klasse geerbte Methoden java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden net.simplace.sim.util.FWSimFieldContainer
toXML
-
Felddetails
-
iShouldCacheToDB
if the content of the result cache should also be put to the database -
iJexlScript
-
-
Konstruktordetails
-
FWSimInputAdapter
protected FWSimInputAdapter(org.jdom2.Element aResourceElement, FWSimSession aSession, int aOrderNumber) Create Adapter from Resource Element- Parameter:
aResourceElement-aSession-aOrderNumber-
-
FWSimInputAdapter
protected FWSimInputAdapter(org.jdom2.Element aResourceElement, String aName, int aOrderNumber, FWSimInterface<?> aInterface, FWSimIOAdapter.FREQUENCE aFrequence, FWSimSession aFwSimSession) called from graph panel to instantiate the adapter- Parameter:
aResourceElement-aName-aOrderNumber-aInterface-aFrequence-aFwSimSession-
-
FWSimInputAdapter
update adapter calls this clone construtor- Parameter:
aAdapter-aInterface-
-
-
Methodendetails
-
getData
- Parameter:
aVarMap-- Gibt zurück:
- SimResourceCache containing the data from the resource media
- Löst aus:
MissingSimResourceException
-
getOutputVariables
returning the variables from the header information- Gibt zurück:
- FWSimVarables filtered - only output Variables
- Siehe auch:
-
getInputVariables
always returning empty list because this adapters are not meant to receive input data- Gibt zurück:
- FWSimVarables filtered - only input Variables
- Siehe auch:
-
getContentType
- Gibt zurück:
- number in the order of Components
- Siehe auch:
-
getJexlScript
- Parameter:
aEngineToCreate-- Gibt zurück:
- the jexlScript
-
getVarMap
- Gibt zurück:
- number in the order of Components
-
toHTMLTablestring
creates HTML Documentation form of the Input Adaptor- Gibt zurück:
- the generated HTMLString
-
isTransformer
public boolean isTransformer()- Gibt zurück:
- if the InputAdapter is a transformer
-
shouldCacheToDB
public boolean shouldCacheToDB()- Gibt zurück:
-