public class DefaultDelegate
extends oracle.odi.domain.mapping.MapComponentDelegate
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultDelegate.DefaultAttributeDelegate
A default component attribute delegate class.
|
static class |
DefaultDelegate.DefaultConnectorPointDelegate |
oracle.odi.domain.mapping.MapComponentDelegate.AttributeDelegate, oracle.odi.domain.mapping.MapComponentDelegate.MapConnectorPointDelegateIMapComponent.ComponentCategory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VARIABLE_COMPONENT_TYPE_NAME |
| Constructor and Description |
|---|
DefaultDelegate(IMapComponentOwner owner,
java.lang.String componentTypeName,
java.lang.String name,
IModelObject boundObject)
Creates a default component delegate that is bound to a repository object.
|
DefaultDelegate(MapComponentOwner owner,
java.lang.String componentTypeName,
java.lang.String name)
Creates a default component delegate.
|
| Modifier and Type | Method and Description |
|---|---|
void |
customInvalidateExpressions(boolean forceParse) |
java.util.List |
customSyncComponent(boolean resetCachedSyncState,
boolean includeDeletes) |
java.util.List |
getBlockExpressionReferencedAttributes(MapExpression expr)
Gets all the attributes referenced by this specific map expression, and attributes will be blocked by their owning component.
|
java.util.List |
getBlockExpressionReferencedAttributesWithPath(MapExpression expr)
Gets all the attributes referenced by this specific map expression, and attributes will be blocked by their owning component.
|
MapExpression.ExecuteOnLocation |
getExecuteOnHint()
Return an execute location hint if the component supports it, otherwise "NO_HINT".
|
java.lang.String |
getExecuteOnHintString()
Gets the value of the execute on hint property as a string.
|
java.lang.String |
getIntegrationType()
If this is a target component, get it's integration type.
|
MapConnectorPoint |
getNextAvailableInput()
Retrieves the next available unconnected input for the component.
|
MapConnectorPoint |
getNextAvailableInput(java.lang.String name)
Retrieves the next available unconnected input for the component.
|
MapConnectorPoint |
getNextAvailableOutput(java.lang.String name)
Retrieves the next available unconnected output for the component.
|
boolean |
isAddInputConnectorPointAllowed()
Returns whether an input connector point can be added by checking the connector point count
of the default connector point role.
|
boolean |
isAddOutputConnectorPointAllowed()
Returns whether an output connector point can be added by checking the connector point count
of the default connector point role.
|
boolean |
isPassive()
Return true if this is a passive component type, meaning that it's output can be connected
to an input connector point along with other non-passive or passive outputs.
|
boolean |
isValidForTechnology(ITechnology techno,
java.util.List issues)
Check whether component is valid for a technology.
|
void |
setExecuteOnHint(MapExpression.ExecuteOnLocation loc)
Set the execute-on hint for this component, if applicable, otherwise throw exception.
|
void |
setExecuteOnHintByString(java.lang.String hint)
Sets the value of the execute on hint property with a string.
|
afterAddComponent, afterPropertyChange, afterRemoveComponent, allowInputAttribute, connectFrom, createInputConnectorPoint, createInputConnectorPoint, createOutputConnectorPoint, createOutputConnectorPoint, customValidateProposedChildConnection, customValidateProposedChildScoping, equals, getBoundObjectFullName, getBoundObjectName, getBoundShortcutFullName, getComponentContext, getComponentCustomLocation, getComponentType, getInScopeAttributeXMap, getSQLAccessName, getSQLAliasName, getTechnicalDescription, getTypeName, handleChildMapChangeEvent, handleMapChangeEvent, hashCode, initPhysicalNode, isAttributeExecuteOnLocationHidden, isBoundObjectDeleted, isCardinalitySource, isCompositeComponentType, isExpressionHidden, isTargetLoadingSupported, setComponentType, supportComponentOfType, toString, validateReorderComponentaddComponent, addProperty, afterConnect, bindTo, 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, getPersistentComponent, 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, 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, validatePropertiespublic static final java.lang.String VARIABLE_COMPONENT_TYPE_NAME
public DefaultDelegate(MapComponent component) throws MappingException
addComponent method to create components, or specific delegate
class constructors.component - oracle.odi.domain.mapping.exception.MapComponentExceptionMappingExceptionpublic DefaultDelegate(MapComponentOwner owner, java.lang.String componentTypeName, java.lang.String name) throws MappingException, AdapterException
owner - the component owner of the new component.componentTypeName - the type name of the component.name - the name of the new component.MappingExceptionAdapterExceptionpublic DefaultDelegate(IMapComponentOwner owner, java.lang.String componentTypeName, java.lang.String name, IModelObject boundObject) throws MappingException, AdapterException
owner - the component owner of the new component.componentTypeName - the type name of the component.name - the name of the new component.boundObject - the object that this component will be bound to.MappingExceptionAdapterExceptionpublic java.util.List customSyncComponent(boolean resetCachedSyncState,
boolean includeDeletes)
throws MappingException,
AdapterException
customSyncComponent in class oracle.odi.domain.mapping.MapComponentDelegateMappingExceptionAdapterExceptionpublic boolean isAddInputConnectorPointAllowed()
isAddInputConnectorPointAllowed in class oracle.odi.domain.mapping.MapComponentDelegatepublic boolean isAddOutputConnectorPointAllowed()
isAddOutputConnectorPointAllowed in class oracle.odi.domain.mapping.MapComponentDelegatepublic void customInvalidateExpressions(boolean forceParse)
customInvalidateExpressions in class oracle.odi.domain.mapping.MapComponentDelegatepublic boolean isPassive()
IMapComponentisPassive in class oracle.odi.domain.mapping.MapComponentDelegatepublic MapConnectorPoint getNextAvailableInput(java.lang.String name) throws MappingException
getNextAvailableInput in class oracle.odi.domain.mapping.MapComponentDelegatorname - the name for the input connector point.
null or empty: if the connector point exists, it is not renamed. If a new CP is created, a default name
will be provided based on the role
non-empty string: an existing or new CP is named using the name.MappingExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionPropertyExceptionpublic MapConnectorPoint getNextAvailableInput() throws MappingException
MappingExceptionpublic MapConnectorPoint getNextAvailableOutput(java.lang.String name) throws MappingException
getNextAvailableOutput in class oracle.odi.domain.mapping.MapComponentDelegatorname - the name for the output connector point. If an unconnected CP is found and name is not empty, it is
renamed. If a new CP is created and the name is empty, a role based default name is created.MappingExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionPropertyExceptionpublic MapExpression.ExecuteOnLocation getExecuteOnHint() throws PropertyException
IMapComponentgetExecuteOnHint in class oracle.odi.domain.mapping.MapComponentDelegatorPropertyExceptionpublic void setExecuteOnHint(MapExpression.ExecuteOnLocation loc) throws PropertyException
IMapComponentsetExecuteOnHint in class oracle.odi.domain.mapping.MapComponentDelegatorPropertyExceptionpublic java.lang.String getExecuteOnHintString()
throws PropertyException
PropertyExceptionpublic void setExecuteOnHintByString(java.lang.String hint)
throws PropertyException
hint - the execute on hint property value as a string.PropertyExceptionpublic java.lang.String getIntegrationType()
throws MappingException
IMapComponentgetIntegrationType in class oracle.odi.domain.mapping.MapComponentDelegatororacle.odi.domain.mapping.exception.MapComponentExceptionMappingExceptionpublic java.util.List getBlockExpressionReferencedAttributes(MapExpression expr) throws MappingException, AdapterException
expr - the specific map expressionMappingExceptionAdapterExceptionpublic java.util.List getBlockExpressionReferencedAttributesWithPath(MapExpression expr) throws MappingException, AdapterException
expr - the specific map expressionMappingExceptionAdapterExceptionpublic boolean isValidForTechnology(ITechnology techno, java.util.List issues) throws MappingException
IMapComponentisValidForTechnology in class oracle.odi.domain.mapping.MapComponentDelegatortechno - The technology to validate againstMappingException