public class ReusableMappingComponent extends DefaultDelegate implements oracle.odi.domain.mapping.component.IReusableMappingHolder
DefaultDelegate.DefaultAttributeDelegate, DefaultDelegate.DefaultConnectorPointDelegate
oracle.odi.domain.mapping.MapComponentDelegate.AttributeDelegate, oracle.odi.domain.mapping.MapComponentDelegate.MapConnectorPointDelegate
IMapComponent.ComponentCategory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPONENT_TYPE_NAME
The component type name.
|
static java.lang.String |
PROPKEY_SUBSELECT_ENABLED |
VARIABLE_COMPONENT_TYPE_NAME
Constructor and Description |
---|
ReusableMappingComponent(IMapComponentOwner pOwner,
ReusableMapping pReusableMapping,
java.lang.String pName)
Constructs a reusable mapping component having the specified underlying reusable mapping.
|
Modifier and Type | Method and Description |
---|---|
void |
bindTo(IModelObject boundObject,
boolean enableAutoJoin)
Similar to default delegate binding, but provides support for auto detection of join
relationships between bound data store objects.
|
ILocation |
getComponentCustomLocation(IContext contextAdapter,
MapPhysicalNode node,
boolean logicalOnly) |
java.util.List |
getReferencingComponents(MapAttribute inputAttr)
Get all components that reference the specified reusable mapping component input attribute.
|
ReusableMapping |
getReusableMapping() |
boolean |
isContainerFor(IMapComponent component)
Return true if the specified map component is contained in this reusable mapping
or in any sub-reusable mapping that is nested inside this one.
|
boolean |
isSubSelect()
Returns true if sub-select is enabled, otherwise false.
|
boolean |
isValidForTechnology(ITechnology techno,
java.util.List issues)
Check whether component is valid for a technology.
|
static boolean |
ownerIsReusableMapping(IMapComponent component)
Checks whether the specified component is owned by a reusable mapping.
|
void |
setSubSelect(boolean value)
Sets the sub-select code generation option.
|
customInvalidateExpressions, getBlockExpressionReferencedAttributes, getBlockExpressionReferencedAttributesWithPath, getExecuteOnHint, getExecuteOnHintString, getIntegrationType, getNextAvailableInput, getNextAvailableInput, getNextAvailableOutput, isAddInputConnectorPointAllowed, isAddOutputConnectorPointAllowed, isPassive, setExecuteOnHint, setExecuteOnHintByString
afterAddComponent, afterPropertyChange, afterRemoveComponent, allowInputAttribute, connectFrom, createInputConnectorPoint, createInputConnectorPoint, createOutputConnectorPoint, createOutputConnectorPoint, customValidateProposedChildConnection, customValidateProposedChildScoping, equals, getBoundObjectFullName, getBoundObjectName, getBoundShortcutFullName, getComponentContext, getComponentType, getInScopeAttributeXMap, getSQLAccessName, getSQLAliasName, getTechnicalDescription, getTypeName, handleChildMapChangeEvent, handleMapChangeEvent, hashCode, initPhysicalNode, isAttributeExecuteOnLocationHidden, isBoundObjectDeleted, isCardinalitySource, isCompositeComponentType, isExpressionHidden, isTargetLoadingSupported, setComponentType, toString, validateReorderComponent
addComponent, addProperty, afterConnect, bindTo, connectTo, connectTo, connectTo, connectTo, containsComponent, createComponent, createComponent, createComponent, createExpressionAttribute, createExpressionAttribute, createOutputConnectorPoint, createProperty, disableMapChangeEventHandling, dump, dump, enableMapChangeEventHandling, findAllComponents, findAllSplitPaths, findComponent, findComponentBoundTo, findComponentOfType, findComponentsBoundTo, findConnector, findConnectorPoint, findInputAttribute, findOutputAttribute, findSubComponentOwner, generateUniqueComponentName, generateUniqueComponentName, generateUniqueConnectorName, generateUniqueName, generateUniqueName, getAdapter, getAlias, getAllComponents, getAllComponentsOfType, getAllExpressions, getAllPathsFrom, getAllPathsFrom, getAllPathsFrom, getAllPathsFrom, getAllProperties, getAllSubComponentOwners, getAttributeExpressions, getAttributes, getBooleanPropertyValue, getBoundObject, getBoundShortcut, getBoundTechnology, getBusinessName, getCachedIssues, getComponentAttributeMap, getComponentCategory, getComponentCount, getComponentLocation, getComponentLocation, getComponentOwner, getComponents, getComponentTypeName, getCompositeQualifier, getConnectorPointCount, getConnectorPointCount, getConnectorPoints, getConnectorPoints, getConnectorPointToLeaf, getConnectorTo, getDelegate, getDescription, getDisplayableObjectName, getDisplayableProperties, getDisplayableTypeName, getDomainInterfaceType, getDownstreamConnectedLeafComponents, getDownstreamConnectedPoints, getExpressionPropertyValue, getExpressionReferences, getExtraCreatedObjects, getFlowConstraints, getFullName, getGlobalId, getGUID, getInputConnectorPoint, getInputConnectorPoint, getInputConnectorPointCount, getInputConnectorPoints, getInputPoint, getInScopeAttributes, getInScopeAttributeXMap, getInternalId, getIntPropertyValue, getLeafLevelComponents, getLeafLevelTargets, getMapRootContainer, getName, getNumericId, getOutputAttributeExpressions, getOutputAttributes, getOutputConnectorPoint, getOutputConnectorPoint, getOutputConnectorPointCount, getOutputConnectorPoints, getOutputPoint, getOwner, getOwningComponent, getPersistentClassName, getPrefix, getProjectedAttributes, getProjectorOrMultiInputSource, getProperties, getProperty, getPropertyDefinitionOwner, getPropertyValue, getPropertyValueReference, getProposedConnectionIssues, getProposedConnectionIssues, getProposedScopingIssues, getQualifiedName, getRootComponentOwner, getRootContainer, getScopingInputPointForSource, getSecurityContainer, getSources, getStringPropertyValue, getStrongTypeClassName, getSyncState, getTargets, getTopLevelComponentsOfType, getTopLevelSources, getTopLevelTargets, getTopmostComponent, getUpstreamAttributeXMap, getUpstreamComponentOwner, getUpstreamConnectedLeafComponents, getUpstreamConnectedLeafPoints, getUpstreamConnectedPoints, getUpstreamInScopeLeafAttributes, getUpstreamInScopeLeafComponentsFor, getUpstreamInScopeLeafPoints, getUpstreamLeafAttributes, getUpstreamLeafAttributes, getUpstreamLeafConnectorPoints, getUpstreamLeafConnectorPoints, getUpstreamLeafSources, getUpstreamSources, getUpstreamSplitPaths, hasCustomizedPersistenceMethodFor, invalidateDownstreamExpressions, invalidateExpressions, invokeCustomizedPersistenceMethodFor, invokeMethod, isBound, isComponent, isComponentLevelConnectAllowed, isCompositeComponent, isDecorator, isEndpoint, isHidden, isInScope, isInScope, isMapChangeEventHandlingEnabled, isMultiInputSelector, isOfType, isPhysicalNodeStale, isProjector, isPropertyDefined, isProposedConnectionValid, isProposedConnectionValid, isProposedScopingValid, isSelector, isSource, isSubComponent, isTarget, isUniqueComponentName, isUniqueComponentName, referencesObject, removeAllConnections, removeAllConnections, removeAllConnectionsAndReroute, removeAllConnectionsAndReroute, removeAllInputConnections, removeComponent, removeComponent, removeInputConnectorPoint, removeInputConnectorPoint, removeInputConnectorPoint, removeOutputConnectorPoint, removeOutputConnectorPoint, removeProperty, reorderInputConnectorPoint, reorderOutputConnectorPoint, rerouteConnections, setAlias, setAttributeExpressionText, setAttributeExpressionText, setBooleanPropertyValue, setBusinessName, setDescription, setIntPropertyValue, setIsHidden, setName, setPhysicalNodeIsStale, setPropertyValue, syncComponent, validate, validate, validate, validateProperties
bindTo, connectTo, connectTo, connectTo, connectTo, createInputConnectorPoint, createOutputConnectorPoint, createOutputConnectorPoint, findConnectorPoint, findInputAttribute, findOutputAttribute, getAdapter, getAlias, getAllExpressions, getAttributeExpressions, getAttributes, getBoundObject, getBoundObjectName, getBoundShortcut, getBoundTechnology, getComponentCategory, getComponentLocation, getComponentLocation, getComponentOwner, getComponentType, getComponentTypeName, getConnectorPointCount, getConnectorPointCount, getConnectorPoints, getConnectorPoints, getConnectorPointToLeaf, getConnectorTo, getDelegate, getDownstreamConnectedLeafComponents, getDownstreamConnectedPoints, getExecuteOnHint, getExpressionReferences, getFlowConstraints, getFullName, getInputConnectorPoint, getInputConnectorPoint, getInputConnectorPointCount, getInputConnectorPoints, getInputPoint, getInScopeAttributes, getIntegrationType, getNextAvailableInput, getNextAvailableOutput, getOutputAttributeExpressions, getOutputAttributes, getOutputConnectorPoint, getOutputConnectorPoint, getOutputConnectorPointCount, getOutputConnectorPoints, getOutputPoint, getOwningComponent, getPrefix, getProjectedAttributes, getProposedConnectionIssues, getRootComponentOwner, getTechnicalDescription, getTopmostComponent, getTypeName, getUpstreamConnectedLeafComponents, getUpstreamConnectedLeafPoints, getUpstreamConnectedPoints, getUpstreamInScopeLeafAttributes, getUpstreamInScopeLeafPoints, getUpstreamSources, isAddInputConnectorPointAllowed, isAddOutputConnectorPointAllowed, isBound, isCompositeComponent, isDecorator, isEndpoint, isHidden, isInScope, isInScope, isMultiInputSelector, isOfType, isPassive, isPhysicalNodeStale, isProjector, isProposedConnectionValid, isSelector, isSource, isSubComponent, isTarget, referencesObject, removeAllConnections, removeAllConnections, removeAllInputConnections, removeInputConnectorPoint, removeInputConnectorPoint, removeInputConnectorPoint, removeOutputConnectorPoint, removeOutputConnectorPoint, reorderInputConnectorPoint, reorderOutputConnectorPoint, setAlias, setAttributeExpressionText, setAttributeExpressionText, setExecuteOnHint, setIsHidden, setPhysicalNodeIsStale, syncComponent
addComponent, afterConnect, containsComponent, createComponent, createComponent, createComponent, findAllComponents, findComponent, findComponentBoundTo, findComponentOfType, findComponentsBoundTo, findConnector, findSubComponentOwner, getAllComponents, getAllComponentsOfType, getAllSubComponentOwners, getComponentCount, getComponents, getLeafLevelComponents, getLeafLevelTargets, getMapRootContainer, getSources, getTargets, getTopLevelComponentsOfType, getTopLevelSources, getTopLevelTargets, getUpstreamLeafAttributes, getUpstreamLeafAttributes, getUpstreamLeafConnectorPoints, getUpstreamLeafSources, isComponent, removeComponent, removeComponent
addProperty, createProperty, getAllProperties, getBooleanPropertyValue, getDisplayableProperties, getDisplayableTypeName, getExpressionPropertyValue, getIntPropertyValue, getProperties, getProperty, getPropertyValue, getStringPropertyValue, isPropertyDefined, setBooleanPropertyValue, setIntPropertyValue, setPropertyValue
getBusinessName, getDescription, getName, setBusinessName, setDescription, setName
dump, dump, getDisplayableObjectName, getOwner, getStrongTypeClassName, validate, validate, validate
getRootContainer
getGlobalId, getInternalId, getSecurityContainer
getPersistentClassName
getGlobalId, getName, getNumericId
public static final java.lang.String COMPONENT_TYPE_NAME
public static final java.lang.String PROPKEY_SUBSELECT_ENABLED
public ReusableMappingComponent(MapComponent pComponent) throws MappingException
pComponent
- MappingException
oracle.odi.domain.mapping.exception.MapComponentException
public ReusableMappingComponent(IMapComponentOwner pOwner, ReusableMapping pReusableMapping, java.lang.String pName) throws MappingException, AdapterException
pOwner
- the Mapping in which the Reusable Mapping is usedpReusableMapping
- the Reusable Mapping which is being usedpName
- the name for the componentMappingException
oracle.odi.domain.mapping.exception.MapComponentException
PropertyException
oracle.odi.domain.mapping.expression.parser.ExpressionParseException
AdapterException
MapPhysicalException
public void bindTo(IModelObject boundObject, boolean enableAutoJoin) throws MappingException, AdapterException, MapPhysicalException
bindTo
in class oracle.odi.domain.mapping.MapComponentDelegator
boundObject
- The object to be bound to this object.enableAutoJoin
- If true, the framework may automatically create a join between
this component and other existing bound components, based on
relationships between the bound objects.oracle.odi.domain.mapping.exception.MapComponentException
PropertyException
oracle.odi.domain.mapping.expression.parser.ExpressionParseException
MapPhysicalException
MappingException
AdapterException
public ReusableMapping getReusableMapping() throws oracle.odi.domain.mapping.exception.MapComponentException, AdapterException
getReusableMapping
in interface oracle.odi.domain.mapping.component.IReusableMappingHolder
oracle.odi.domain.mapping.exception.MapComponentException
AdapterException
public boolean isContainerFor(IMapComponent component) throws oracle.odi.domain.mapping.exception.MapComponentException, AdapterException
component
- oracle.odi.domain.mapping.exception.MapComponentException
AdapterException
public java.util.List getReferencingComponents(MapAttribute inputAttr) throws AdapterException, MappingException
inputAttr
- MappingException
AdapterException
public void setSubSelect(boolean value) throws PropertyException, oracle.odi.domain.mapping.exception.MapComponentException
PropertyException,
- MapComponentExceptionPropertyException
oracle.odi.domain.mapping.exception.MapComponentException
public boolean isSubSelect()
public static boolean ownerIsReusableMapping(IMapComponent component) throws oracle.odi.domain.mapping.exception.MapComponentException
component
- map component to check for ownership by a reusable mapping.oracle.odi.domain.mapping.exception.MapComponentException
public boolean isValidForTechnology(ITechnology techno, java.util.List issues) throws MappingException
IMapComponent
isValidForTechnology
in class DefaultDelegate
techno
- The technology to validate againstMappingException
public ILocation getComponentCustomLocation(IContext contextAdapter, MapPhysicalNode node, boolean logicalOnly) throws AdapterException, oracle.odi.domain.mapping.exception.MapComponentException, MapPhysicalException
getComponentCustomLocation
in class oracle.odi.domain.mapping.MapComponentDelegate
AdapterException
oracle.odi.domain.mapping.exception.MapComponentException
MapPhysicalException