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_PROPKEYVARIABLE_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, setUpdateKeyByNamecustomInvalidateExpressions, customSyncComponent, getBlockExpressionReferencedAttributes, getBlockExpressionReferencedAttributesWithPath, getExecuteOnHint, getExecuteOnHintString, getNextAvailableInput, getNextAvailableInput, getNextAvailableOutput, isAddInputConnectorPointAllowed, isAddOutputConnectorPointAllowed, isPassive, setExecuteOnHint, setExecuteOnHintByStringpublic static final java.lang.String COMPONENT_TYPE_NAME
public FileComponent(MapComponent component)
throws MappingException
MappingExceptionpublic 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.MappingExceptionAdapterExceptionpublic 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.MappingExceptionAdapterExceptionpublic 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.MappingExceptionAdapterExceptionpublic 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.MappingExceptionAdapterExceptionMapComponentExceptionpublic java.lang.String getMetadataForSnpsJDBCDrivers()
throws MapComponentException,
AdapterException
MapComponentExceptionAdapterExceptionpublic java.lang.String getIntegrationType()
throws PropertyException
getIntegrationType in class DataStorageDelegatePropertyExceptionpublic boolean isValidForTechnology(ITechnology techno, java.util.List issues) throws MappingException
isValidForTechnology in class DefaultDelegateMappingException