net.simplace.simulation.io.interfaces.FWSimInterface
IO integrates resources and output
Interface can be used by input and output components
Interface is able to abstract data access format as
Database via SQL DatabaseInterface
Excel (csv) CSVInterface
XML XMLInterface
MEMORY MEMORYInterface
Uses File Access Pool and Connection Pool
public abstract class FWSimInterface {
// Protected Constructors
protected FWSimInterface(String aName, FWSimInterface.INTERFACE_TYPE
aInterfaceType, int aPoolSize);
// Class Methods public static
FWSimInterface createInterface(Element aInterfaceElement);
factory method creating an interface instance concerning the given data type
- aInterfaceElement jdom xml element
returns generic FWSimInterface
public static
FWSimInterface createInterface(String aName,
FWSimInterface.INTERFACE_TYPE aInterfaceType, int aPoolSize, Element
aInterfaceElement);
factory method creating an interface instance concerning the given data type
- aName
- aInterfaceType
- aPoolSize
- aInterfaceElement
returns generic FWSimInterface
// Public Instance Methods public
FWSimInterface createInterface(String aStatisticPrefix);
factory method creating an interface instance concerning the given data type
returns generic FWSimInterface
public abstract Object
getInterface(
FWSimVarMap aVarMap,
FWSimVariable.CONTENT_TYPE aContentType);
returns generic interface connection object. for example: database - connection; xml - fileinfo
public String getName();
returns the name
public int getPoolSize();
returns the poolSize
public abstract void finalize() throws Exception; // Overrides
java.lang.Object
public Element toXML();
returns Element containing configuration for this Interface
public String toString(); // Overrides java.lang.Object
// Inner Classes
public static final class FWSimInterface.INTERFACE_TYPE extends
java.lang.Enum
}
Extended by: DatabaseInterface, FILEInterface, MEMORYInterface
Passed to: net.simplace.simulation.io.FWSimIOAdapter.createFormFields(), net.simplace.simulation.io.resources.FWSimInputAdapter(), net.simplace.simulation.io.resources.FWSimInputAdapter(), net.simplace.simulation.io.FWSimIOAdapter(), net.simplace.simulation.io.FWSimIOAdapter(), net.simplace.simulation.io.output.FWSimOutputAdapter(), net.simplace.simulation.io.output.FWSimOutputAdapter(), net.simplace.simulation.io.resources.FWSimResourceAdapter(), net.simplace.simulation.io.resources.FWSimResourceAdapter(), net.simplace.simulation.FWSimSolution.setInterface(), net.simplace.simulation.io.FWSimIOAdapter.setInterface(), net.simplace.simulation.io.output.FWSimOutput.updateAdapter(), net.simplace.simulation.io.output.FWSimOutputAdapter.updateAdapter(), net.simplace.simulation.io.resources.FWSimResourceAdapter.updateAdapter(), net.simplace.simulation.io.output.FWSimOutputManager.updateInterface(), net.simplace.simulation.io.resources.FWSimResourceManager.updateInterface()
Returned by: createInterface(), createInterface(), createInterface(), net.simplace.simulation.io.FWSimIOAdapter.getInterface(), net.simplace.simulation.io.output.FWSimOutputAdapter.getInterface(), net.simplace.simulation.FWSimSolution.getInterface()
Type of: net.simplace.simulation.io.FWSimIOAdapter.iInterface