net.simplace.sim.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
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
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 FWSimInterface.INTERFACE_TYPE getInterfaceType();


returns the inputType
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.sim.io.FWSimIOAdapter.createFormFields(), net.simplace.sim.io.resources.FWSimInputAdapter(), net.simplace.sim.io.resources.FWSimInputAdapter(), net.simplace.sim.io.FWSimIOAdapter(), net.simplace.sim.io.FWSimIOAdapter(), net.simplace.sim.io.output.FWSimOutputAdapter(), net.simplace.sim.io.output.FWSimOutputAdapter(), net.simplace.sim.io.resources.FWSimResourceAdapter(), net.simplace.sim.io.resources.FWSimResourceAdapter(), net.simplace.sim.FWSimSolution.setInterface(), net.simplace.sim.io.FWSimIOAdapter.setInterface(), net.simplace.sim.io.output.FWSimOutput.updateAdapter(), net.simplace.sim.io.output.FWSimOutputAdapter.updateAdapter(), net.simplace.sim.io.resources.FWSimResourceAdapter.updateAdapter(), net.simplace.sim.io.output.FWSimOutputManager.updateInterface(), net.simplace.sim.io.resources.FWSimResourceManager.updateInterface()



Returned by: createInterface(), createInterface(), createInterface(), net.simplace.sim.io.FWSimIOAdapter.getInterface(), net.simplace.sim.io.output.FWSimOutputAdapter.getInterface(), net.simplace.sim.FWSimSolution.getInterface()



Type of: net.simplace.sim.io.FWSimIOAdapter.iInterface