com.sapportals.connector.execution.structures

Interface IStructureFactory


public interface IStructureFactory

The interface IStructureFactory is used for creating the execution.structures structures objects. For example structures that implement the IRecordSet or IRecord can be retrieved using the IStructureFactory. This simplifies for the connector user the creation of complex structures.


Method Summary
 Object getStructure(int structureType)
          returns a structure of the type requested
 Object getStructure(IStructure structureMetaData)
          returns an execution structure of the metadata structure requested
 IStructureWrapper getWrappedStructure(int structureType)
          Returns a wrapped structure for a given structure type The wrapper enables to set metadata on the sturcture
 

Method Detail

getStructure

Object getStructure(int structureType)
                    throws ConnectorException
returns a structure of the type requested

Parameters:
structureType - the code of the type requested
Returns:
Object of the type requested
Throws:
ConnectorException

getStructure

Object getStructure(IStructure structureMetaData)
                    throws ConnectorException
returns an execution structure of the metadata structure requested

Parameters:
structureMetaData - the metadata of the structure to create
Returns:
Object of the structure requested
Throws:
ConnectorException

getWrappedStructure

IStructureWrapper getWrappedStructure(int structureType)
                                      throws ConnectorException
Returns a wrapped structure for a given structure type The wrapper enables to set metadata on the sturcture

Parameters:
structureType - the code of the type requested
Returns:
a wrapped structure
Throws:
ConnectorException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] FRAMEWORK-EXT [sap.com] tc/conn/connectorframeworkdeprecated - EP-CON-CF
[sap.com] EP-BASIS-API [sap.com] tc/epbc/connectivityfw/api api EP-PIN
[sap.com] FRAMEWORK-EXT [sap.com] tc/conn/connectorframeworkdeprecated default EP-CON-CF


Copyright 2011 SAP AG Complete Copyright Notice