public class DataStorageDelegate extends DefaultDelegate
DefaultDelegate.DefaultAttributeDelegate, DefaultDelegate.DefaultConnectorPointDelegateoracle.odi.domain.mapping.MapComponentDelegate.AttributeDelegate, oracle.odi.domain.mapping.MapComponentDelegate.MapConnectorPointDelegateIMapComponent.ComponentCategory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_CONTEXT_PROPKEY
Property key name for the component context property.
|
static java.lang.String |
DATASTORE_ORDER_PROPKEY
Property key name for the datastore order property.
|
static java.lang.String |
INTEGRATION_TYPE_PROPKEY
Property key name for the integration type property.
|
static java.util.logging.Logger |
JAVA_LOGGER |
static java.lang.String |
PARTITION_PROPKEY
Property key name for the partition property.
|
static java.lang.String |
UPDATE_KEY_PROPKEY
Property key name for the update key property.
|
VARIABLE_COMPONENT_TYPE_NAME| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertyChange(Property prop,
java.lang.Object oldValue,
java.lang.Object newValue) |
static MapAttribute |
findAttributeForColumn(IMapComponent component,
IColumn col)
Finds an attribute in the associated datastore component, that is bound to the specified
column.
|
java.util.Set |
findComponentsForDatastore(IDataStore dataStore)
Finds the interface components that are bound to the specified ODI model datastore.
|
IDataStore |
getBoundDataStore()
Gets the datastore object that this component is bound to.
|
ILocation |
getBoundDatastoreLocation()
Gets the location of the datastore object that this component is bound to.
|
ITechnology |
getBoundDatastoreTechnology()
Gets the technology of the datastore object that this component is bound to.
|
java.lang.String |
getBoundObjectName()
Return the bound object name, if available, else null.
|
java.lang.String |
getBoundObjectName(java.lang.Object boundObject)
Returns the bound object name of the specified bound object.
|
IContext |
getComponentContext() |
ILocation |
getDatastoreLocation(IDataStore ds)
Gets the location of a datastore object
|
java.lang.Integer |
getDatastoreOrder()
Gets the value of the datastore order property of this component.
|
ITechnology |
getDatastoreTechnology(IDataStore ds)
Gets the technology of a datastore object
|
java.util.List |
getExecutionContexts()
Gets the execution contexts that are available.
|
java.lang.String |
getIntegrationType()
Gets the value of the integration type property of this component.
|
java.lang.String[] |
getIntegrationTypeDomainValues()
Gets the possible integration type values.
|
IPartition |
getIPartition()
Gets the value of the partition property of this component.
|
java.lang.String[] |
getPartitionInfo()
Gets the partition name and partition type information for this component.
|
java.util.List |
getPartitions()
Gets all the partitions defined for the bound object of this component.
|
java.lang.String |
getResourceName()
Gets the value of the resource name property of the bound object of this component.
|
IKey |
getUpdateKey()
Gets the value of the "key for update" property.
|
java.util.List |
getUpdateKeys()
Gets the list of keys which are defined for the bound object of this component.
|
void |
handleMapChangeEvent(oracle.odi.domain.mapping.MapChangeEvent event) |
boolean |
hasUpdateKey()
Checks whether this component's update matching key property is set.
|
boolean |
isDatastoreOrderHidden()
Checks whether the datastore order should be hidden.
|
boolean |
isUpdateKeyAvailable() |
void |
setBoundObjectByName(java.lang.String boundObjectQualifiedName)
Sets the name of the datastore object that this component is bound to.
|
void |
setComponentContext(IContext executionContext)
Sets the component context property value of this component.
|
void |
setComponentContextByCode(java.lang.String executionContextName)
Sets the component context property value of this component passing in the name of the context.
|
void |
setDatastoreOrder(int order)
Sets the value of the datastore order property of this component.
|
void |
setIntegrationType(java.lang.String intgType)
Sets the value of the integration type property of this component.
|
void |
setIPartition(IPartition partition)
Sets the value of the partition property of this component.
|
void |
setIPartitionId(java.lang.Number partitionId)
Sets the reference object Id of the value of the partition property of this component.
|
void |
setKeyIndicators(IKey updateKey)
Sets the key indicators for the update key attributes of this component.
|
void |
setUpdateKey(IKey updateKey)
Sets the value of the "key for update" property.
|
void |
setUpdateKeyByName(java.lang.String name)
Sets the value of the "key for update" property.
|
customInvalidateExpressions, customSyncComponent, getBlockExpressionReferencedAttributes, getBlockExpressionReferencedAttributesWithPath, getExecuteOnHint, getExecuteOnHintString, getNextAvailableInput, getNextAvailableInput, getNextAvailableOutput, isAddInputConnectorPointAllowed, isAddOutputConnectorPointAllowed, isPassive, isValidForTechnology, setExecuteOnHint, setExecuteOnHintByStringafterAddComponent, afterConnect, afterRemoveComponent, beforePropertyChange, connectFrom, createInputConnectorPoint, createInputConnectorPoint, createOutputConnectorPoint, createOutputConnectorPoint, customValidateProposedChildConnection, customValidateProposedChildScoping, equals, getBoundObjectFullName, getBoundShortcutFullName, getComponentCustomLocation, getComponentType, getInScopeAttributeXMap, getSQLAccessName, getSQLAliasName, getTechnicalDescription, getTypeName, handleChildMapChangeEvent, hashCode, initPhysicalNode, isAttributeExecuteOnLocationHidden, isBoundObjectDeleted, isCardinalitySource, isCompositeComponentType, isExpressionHidden, isTargetLoadingSupported, propertyValueGetterHook, setComponentType, supportComponentOfType, toString, validateReorderComponentaddComponent, addProperty, bindTo, bindTo, connectTo, connectTo, connectTo, connectTo, containsComponent, createComponent, createComponent, createComponent, createOutputConnectorPoint, createProperty, disableMapChangeEventHandling, dump, dump, enableMapChangeEventHandling, findAllComponents, findComponent, findComponentBoundTo, findComponentOfType, findComponentsBoundTo, findConnector, findConnectorPoint, findInputAttribute, findOutputAttribute, findSubComponentOwner, generateUniqueComponentName, generateUniqueComponentName, generateUniqueConnectorName, generateUniqueName, generateUniqueName, getAdapter, getAlias, getAllComponents, getAllComponentsOfType, getAllExpressions, getAllProperties, getAllSignatureOwnerHolders, getAllSubComponentOwners, getAttributeExpressions, getAttributes, getBigNumericId, getBooleanPropertyValue, getBoundObject, getBoundShortcut, getBoundTechnology, getBusinessName, getCachedIssues, getComponentAttributeMap, getComponentCategory, getComponentCount, getComponentLocation, getComponentLocation, getComponentOwner, getComponents, getComponentTypeName, getConcreteObject, getConnectorPointCount, getConnectorPointCount, getConnectorPoints, getConnectorPoints, getConnectorPointToLeaf, getConnectorTo, getDelegate, getDescription, getDisplayableObjectName, getDisplayableProperties, getDisplayableTypeName, getDomainInterfaceType, getDownstreamConnectedLeafComponents, getDownstreamConnectedPoints, getExpressionPropertyValue, getExpressionReferences, getFlowConstraints, getFullName, getGlobalId, getGUID, getInputConnectorPoint, getInputConnectorPoint, getInputConnectorPointCount, getInputConnectorPoints, getInputPoint, getInScopeAttributes, getInternalId, getIntPropertyValue, getLeafLevelComponents, getLeafLevelEndpoints, getLeafLevelTargets, getMapRootContainer, getName, getNumericId, getOutputAttributeExpressions, getOutputAttributes, getOutputConnectorPoint, getOutputConnectorPoint, getOutputConnectorPointCount, getOutputConnectorPoints, getOutputPoint, getOwner, getOwningComponent, getParent, getPersistentClassName, getPrefix, getProjectedAttributes, getProperties, getProperty, getPropertyDefinitionOwner, getPropertyValue, getPropertyValueReference, getProposedConnectionIssues, getQualifiedName, getRootComponentOwner, getRootContainer, getSecurityContainer, getSources, getStringPropertyValue, getStrongTypeClassName, getSyncState, getTargetLoadOrder, getTargetLoadOrderText, getTargets, getTopLevelComponentsOfType, getTopLevelSignatureOwnerHolders, getTopLevelSources, getTopLevelTargets, getTopmostComponent, getUpstreamAttributeXMap, getUpstreamConnectedLeafComponents, getUpstreamConnectedLeafPoints, getUpstreamConnectedPoints, getUpstreamInScopeLeafAttributes, getUpstreamInScopeLeafComponentsFor, getUpstreamInScopeLeafPoints, getUpstreamLeafAttributes, getUpstreamLeafAttributes, getUpstreamLeafConnectorPoints, getUpstreamLeafConnectorPoints, getUpstreamLeafSources, getUpstreamSources, hasCustomizedPersistenceMethodFor, invokeCustomizedPersistenceMethodFor, invokeMethod, is11gMapping, isBound, isComponent, isComponentLevelConnectAllowed, isCompositeComponent, isCreatePersistentComponents, isDecorator, isEndpoint, isExpandableComponent, isHidden, isInScope, isInScope, isMapChangeEventHandlingEnabled, isMultiInputSelector, isOfType, isProjector, isPropertyDefined, isProposedConnectionValid, isSelector, isSignatureOwner, isSignatureOwnerHolder, isSource, isSubComponent, isTarget, isUniqueComponentName, isUniqueComponentName, referencesObject, removeAllConnections, removeAllConnections, removeAllInputConnections, removeComponent, removeComponent, removeInputConnectorPoint, removeInputConnectorPoint, removeInputConnectorPoint, removeOutputConnectorPoint, removeOutputConnectorPoint, removeProperty, reorderInputConnectorPoint, reorderOutputConnectorPoint, setAlias, setAttributeExpressionText, setAttributeExpressionText, setBooleanPropertyValue, setBusinessName, setDescription, setIntPropertyValue, setIsHidden, setName, setPropertyValue, syncComponent, validate, validate, validate, validatePropertiespublic static final java.lang.String UPDATE_KEY_PROPKEY
public static final java.lang.String PARTITION_PROPKEY
public static final java.lang.String COMPONENT_CONTEXT_PROPKEY
public static final java.lang.String DATASTORE_ORDER_PROPKEY
public static final java.lang.String INTEGRATION_TYPE_PROPKEY
public static final java.util.logging.Logger JAVA_LOGGER
public IKey getUpdateKey() throws PropertyException
PropertyExceptionpublic void setUpdateKey(IKey updateKey) throws AdapterException, MappingException
updateKey - the key for which the matching for update will be performed on.PropertyExceptionAdapterExceptionMappingExceptionpublic void setUpdateKeyByName(java.lang.String name)
throws AdapterException,
MappingException
name - the name of the key for which the matching for update will be performed on.PropertyExceptionAdapterExceptionMappingExceptionpublic java.util.List getUpdateKeys()
throws MappingException,
AdapterException
MappingExceptionAdapterExceptionpublic boolean isUpdateKeyAvailable()
throws PropertyException
PropertyExceptionpublic void setKeyIndicators(IKey updateKey) throws MappingException, AdapterException
updateKey - the key for which the matching for update will be performed on.MappingExceptionAdapterExceptionpublic boolean hasUpdateKey()
throws MappingException,
AdapterException
MappingExceptionAdapterExceptionpublic void afterPropertyChange(Property prop, java.lang.Object oldValue, java.lang.Object newValue)
afterPropertyChange in class oracle.odi.domain.mapping.MapComponentDelegatepublic java.util.List getPartitions()
throws AdapterException,
oracle.odi.domain.mapping.exception.MapComponentException
AdapterExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionpublic IPartition getIPartition() throws PropertyException, AdapterException, oracle.odi.domain.mapping.exception.MapComponentException
PropertyExceptionAdapterExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionpublic void setIPartition(IPartition partition) throws PropertyException
partition - the partition defined for this component.PropertyExceptionpublic void setIPartitionId(java.lang.Number partitionId)
throws PropertyException
partitionId - the partition value's reference object Id.PropertyExceptionpublic java.lang.String[] getPartitionInfo()
throws PropertyException,
AdapterException,
oracle.odi.domain.mapping.exception.MapComponentException
PropertyExceptionAdapterExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionpublic java.util.List getExecutionContexts()
throws AdapterException
AdapterExceptionpublic IContext getComponentContext() throws PropertyException
getComponentContext in class oracle.odi.domain.mapping.MapComponentDelegatePropertyExceptionpublic void setComponentContext(IContext executionContext) throws PropertyException
executionContext - the context to be setPropertyExceptionpublic void setComponentContextByCode(java.lang.String executionContextName)
throws PropertyException,
AdapterException
executionContextName - the name of the context to be setPropertyExceptionAdapterExceptionpublic void setDatastoreOrder(int order)
throws PropertyException
order - the numeric order of the datastorePropertyExceptionpublic java.lang.Integer getDatastoreOrder()
throws PropertyException
PropertyExceptionpublic boolean isDatastoreOrderHidden()
throws oracle.odi.domain.mapping.exception.MapComponentException
oracle.odi.domain.mapping.exception.MapComponentExceptionpublic java.lang.String getIntegrationType()
throws PropertyException
getIntegrationType in class DefaultDelegatePropertyExceptionpublic void setIntegrationType(java.lang.String intgType)
throws PropertyException
intgType - the integration type to be setPropertyExceptionpublic java.lang.String[] getIntegrationTypeDomainValues()
public void handleMapChangeEvent(oracle.odi.domain.mapping.MapChangeEvent event)
handleMapChangeEvent in class oracle.odi.domain.mapping.MapComponentDelegatepublic java.lang.String getBoundObjectName()
throws oracle.odi.domain.mapping.exception.MapComponentException,
AdapterException
IMapComponentgetBoundObjectName in class oracle.odi.domain.mapping.MapComponentDelegateAdapterExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionpublic java.lang.String getBoundObjectName(java.lang.Object boundObject)
DefaultDelegateboundObject - the specific bound objectpublic java.lang.String getResourceName()
throws oracle.odi.domain.mapping.exception.MapComponentException,
AdapterException
oracle.odi.domain.mapping.exception.MapComponentExceptionAdapterExceptionpublic java.util.Set findComponentsForDatastore(IDataStore dataStore) throws MappingException, AdapterException
dataStore - the specific datastoreMappingComponentExceptionAdapterExceptionMappingExceptionpublic static MapAttribute findAttributeForColumn(IMapComponent component, IColumn col) throws MappingException, AdapterException
component - The component in which to search for the bound attribute.col - The column for which to search.oracle.odi.domain.mapping.exception.MapComponentExceptionPropertyExceptionAdapterExceptionMappingExceptionpublic IDataStore getBoundDataStore() throws oracle.odi.domain.mapping.exception.MapComponentException, AdapterException
oracle.odi.domain.mapping.exception.MapComponentExceptionAdapterExceptionpublic ILocation getBoundDatastoreLocation() throws MappingException, AdapterException
MappingExceptionAdapterExceptionpublic ILocation getDatastoreLocation(IDataStore ds) throws PropertyException
ds - the datastore objectPropertyExceptionpublic ITechnology getBoundDatastoreTechnology() throws MappingException, AdapterException
MappingExceptionAdapterExceptionpublic ITechnology getDatastoreTechnology(IDataStore ds) throws PropertyException, AdapterException
ds - the datastore objectPropertyExceptionAdapterExceptionpublic void setBoundObjectByName(java.lang.String boundObjectQualifiedName)
throws AdapterException,
MappingException
boundObjectQualifiedName - name of the bound datastoreAdapterExceptionMappingException