public class FileComponent extends DataStorageDelegate
DefaultDelegate.DefaultAttributeDelegate, DefaultDelegate.DefaultConnectorPointDelegate
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPONENT_TYPE_NAME
The component type name.
|
COMPONENT_CONTEXT_PROPKEY, DATASTORE_ORDER_PROPKEY, INTEGRATION_TYPE_PROPKEY, JAVA_LOGGER, PARTITION_PROPKEY, UPDATE_KEY_PROPKEY
VARIABLE_COMPONENT_TYPE_NAME
Constructor and Description |
---|
FileComponent(MapComponent component) |
FileComponent(MapComponentOwner owner,
IModelObject boundObject)
Creates a new persistent file component.
|
FileComponent(MapComponentOwner owner,
IModelObject boundObject,
boolean autoJoinEnabled)
Creates a new persistent file component.
|
FileComponent(MapComponentOwner owner,
java.lang.String name)
Creates a new persistent file component.
|
Modifier and Type | Method and Description |
---|---|
void |
bindTo(IModelObject boundObject,
boolean enableAutoJoin)
Binds the component to a file datastore object.
|
java.lang.String |
getIntegrationType()
Returns the integration type text for the component.
|
java.lang.String |
getMetadataForSnpsJDBCDrivers()
Returns the metadata for JDBC driver property value for the bound file datastore object of this component.
|
boolean |
isValidForTechnology(ITechnology techno,
java.util.List issues) |
afterPropertyChange, findAttributeForColumn, findComponentsForDatastore, getBoundDataStore, getBoundDatastoreLocation, getBoundDatastoreTechnology, getBoundObjectName, getBoundObjectName, getComponentContext, getDatastoreLocation, getDatastoreOrder, getDatastoreTechnology, getExecutionContexts, getIntegrationTypeDomainValues, getIPartition, getPartitionInfo, getPartitions, getResourceName, getUpdateKey, getUpdateKeys, handleMapChangeEvent, hasUpdateKey, isDatastoreOrderHidden, isUpdateKeyAvailable, setBoundObjectByName, setComponentContext, setComponentContextByCode, setDatastoreOrder, setIntegrationType, setIPartition, setIPartitionId, setKeyIndicators, setUpdateKey, setUpdateKeyByName
customInvalidateExpressions, customSyncComponent, getBlockExpressionReferencedAttributes, getBlockExpressionReferencedAttributesWithPath, getExecuteOnHint, getExecuteOnHintString, getNextAvailableInput, getNextAvailableInput, getNextAvailableOutput, isAddInputConnectorPointAllowed, isAddOutputConnectorPointAllowed, isPassive, setExecuteOnHint, setExecuteOnHintByString
public static final java.lang.String COMPONENT_TYPE_NAME
public FileComponent(MapComponent component) throws MappingException
MappingException
public FileComponent(MapComponentOwner owner, java.lang.String name) throws MappingException, AdapterException
owner
- the component owner that will own the new component.name
- the name for the new component.MappingException
AdapterException
public FileComponent(MapComponentOwner owner, IModelObject boundObject, boolean autoJoinEnabled) throws MappingException, AdapterException
owner
- the component owner that will own the new component.boundObject
- the external object that will be bound to the new file component.autoJoinEnabled
- if true, then the framework will check for relationships between
this new file and other existing file components in the map, and if found,
automatically create join components to join them.MappingException
AdapterException
public FileComponent(MapComponentOwner owner, IModelObject boundObject) throws MappingException, AdapterException
owner
- the component owner that will own the new component.boundObject
- the ODI object that will be bound to the new file component.MappingException
AdapterException
public void bindTo(IModelObject boundObject, boolean enableAutoJoin) throws MappingException, AdapterException
boundObject
- the ODI object that will be bound to the file component.enableAutoJoin
- if true, then the framework will check for relationships between
this new file component and other existing file components in the map, and if found,
automatically create join components to join them.MappingException
AdapterException
MapComponentException
public java.lang.String getMetadataForSnpsJDBCDrivers() throws MapComponentException, AdapterException
MapComponentException
AdapterException
public java.lang.String getIntegrationType() throws PropertyException
getIntegrationType
in class DataStorageDelegate
PropertyException
public boolean isValidForTechnology(ITechnology techno, java.util.List issues) throws MappingException
isValidForTechnology
in class DefaultDelegate
MappingException