public class DimensionComponent extends ExpandableComponentDelegate
Modifier and Type | Class and Description |
---|---|
static class |
DimensionComponent.TestPattern |
static class |
DimensionComponent.TestPattern2 |
ExpandableComponentDelegate.ExpandableComponentAttributeDelegate, ExpandableComponentDelegate.ExpandableComponentConnectorPointDelegate
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 |
static boolean |
mIsUnitTest |
static java.util.Map |
mRegisteredPatternClassMap |
static java.lang.String |
PROPKEY_DEFAULT_EFFECTIVE_TIME_INIT |
static java.lang.String |
PROPKEY_DEFAULT_EFFECTIVE_TIME_OPEN |
static java.lang.String |
PROPKEY_DEFAULT_EXPIRATION_TIME_OPEN |
static java.lang.String |
PROPKEY_ENABLE_SOURCE_DEDUPLICATE |
static java.lang.String |
PROPKEY_INVALID_PARENT_OPTION |
static java.lang.String |
PROPKEY_NULL_DATA_VALUE
The property name for an expression property that is interpreted as "null" by orphan management.
|
static java.lang.String |
PROPKEY_NULL_PARENT_OPTION |
static java.lang.String |
PROPKEY_TRUNCATE_ERROR_DATASTORES |
static java.lang.String |
PROPKEY_TYPE2_GAP |
static java.lang.String |
PROPKEY_TYPE2_GAP_UNIT |
static java.lang.String |
PROPVALUE_TYPE2_GAP_UNIT_DAYS |
static java.lang.String |
PROPVALUE_TYPE2_GAP_UNIT_HOURS |
static java.lang.String |
PROPVALUE_TYPE2_GAP_UNIT_MINUTES |
static java.lang.String |
PROPVALUE_TYPE2_GAP_UNIT_SECONDS |
static java.lang.String |
PROPVALUE_TYPE2_GAP_UNIT_WEEKS |
static java.lang.String |
TEMP_PROPKEY_ERROR_DATASTORE |
static java.lang.String |
TEMP_PROPKEY_STAGING_DATASTORE |
static java.lang.String |
TEMP_PROPKEY_TARGET_DATASTORE |
SELECTED_PATTERN_PROPNAME
PROPKEY_SUBSELECT_ENABLED
VARIABLE_COMPONENT_TYPE_NAME
Constructor and Description |
---|
DimensionComponent(IMapComponentOwner owner,
java.lang.String componentTypeName,
IDimension dimension,
java.lang.String name) |
DimensionComponent(IMapComponentOwner owner,
java.lang.String componentTypeName,
java.lang.String name) |
DimensionComponent(oracle.odi.domain.mapping.MapComponent component) |
DimensionComponent(MapComponentType componentType) |
Modifier and Type | Method and Description |
---|---|
static void |
associateBoundAttributes(ILevel level,
MapConnectorPoint levelTargetCP)
Set the business name of each target datastore component attribute to the GUID of the corresponding
level attribute that is bound to the same column.
|
static void |
associateBoundParentRefAttributes(ILevel level,
MapConnectorPoint cp)
Set the business name of each target datastore component attribute to the GUID of the corresponding
parent ref member that is bound to the same column.
|
void |
expand()
Expand the component by building the non-persistent subcomponents that are owned
by this component.
|
LevelComponent |
findLevelComponent(ILevel level)
Get the level component instance corresponding to the specified level.
|
java.util.Set |
getAllChildLevels(ILevel level) |
java.util.Set |
getAllParentLevels(ILevel level) |
java.lang.String |
getBoundDatastoreFullName()
Get the full name of bound datastore of bound dimension.
|
IDimension |
getBoundDimension() |
java.lang.String |
getBoundErrorDatastoreFullName()
Get the full name of bound error datastore of bound dimension.
|
java.lang.String |
getBoundSequenceFullName()
Get the full name of bound sequence of bound dimension.
|
java.lang.String |
getBoundStorageTypeString()
Get the storage type (implementation type) of bound dimension.
|
MapExpression |
getDefaultEffectiveTimeInit()
Get the default effective time for initial records.
|
MapExpression |
getDefaultEffectiveTimeOpen()
Get the default effective time for open records.
|
MapExpression |
getDefaultExpirationTimeOpen()
Get the default expiration time for open records.
|
java.lang.String |
getDefaultPatternName() |
java.lang.String |
getInvalidParentOptionString()
Get the invalid parent option of bound dimension.
|
MapExpression |
getNullDataValue(MapAttribute attr)
Get the null data value for the attribute.
|
java.lang.String |
getNullParentOptionString()
Get the null parent option of bound dimension.
|
java.lang.String |
getPatternClassName(java.lang.String patternName)
Get the pattern class name for the specified pattern name.
|
java.util.Map |
getPatternObjectHashMap()
Get the hash map for patterns.
|
java.util.List |
getRegisteredPatternNames()
Get the list of patterns that can be used to expand the component.
|
java.lang.String |
getSCDTypeString()
Get the Slowly Changing Type of bound dimension.
|
int |
getType2Gap()
Get the SCD2 gap.
|
java.lang.String |
getType2GapUnit()
Get the SCD2 gap unit.
|
boolean |
isEnableSourceDeduplicate()
Return whether to deduplicate source records.
|
boolean |
isTruncateErrorDatastores()
Return whether to truncate error datastores before each execution.
|
void |
setDefaultEffectiveTimeInitText(java.lang.String s)
Set the default effective time for initial records.
|
void |
setDefaultEffectiveTimeOpenText(java.lang.String s)
Set the default effective time for open records.
|
void |
setDefaultExpirationTimeOpenText(java.lang.String s)
Set the default expiration time for open records.
|
void |
setEnableSourceDeduplicate(boolean b)
Set whether to deduplicate source records.
|
void |
setNullDataValueText(MapAttribute attr,
java.lang.String nullDataValue)
Set the null data value for the attribute.
|
void |
setTruncateErrorDatastores(boolean b)
Set whether to truncate error datastores before each execution.
|
void |
setType2Gap(int i)
Set the SCD2 gap.
|
void |
setType2GapUnit(java.lang.String s)
Set the SCD2 gap unit.
|
afterPropertyChange, autoMapByBusinessName, autoMapByName, autoMapByNamePair, createComponent, createComponent, createComponent, createInputSignature, createOutputSignature, customInvalidateExpressions, findComponentAttributeForSignatureAttribute, findConnectorPointForSignature, findInputSignatureForBoundObject, findOutputSignatureForBoundObject, findSignatureAttributeForComponentAttribute, findSignatureComponent, getAttributeDelegateClass, getConnectorPointDelegateClass, getFirstDate, getFirstUser, getInputSignatures, getLastDate, getLastUser, getOutputSignatures, getRealObject, getSelectedPatternClass, getSelectedPatternInstance, getSelectedPatternName, getSignatureOwner, getTargetLoadOrder, getTargetLoadOrderText, isAddInputConnectorPointAllowed, isAddOutputConnectorPointAllowed, isExpansionComplete, isInstanceLevelSecurityNeeded, ownerIsExpandableComponent, setSelectedPatternName
findOutputSignature, findOutputSignature, findRMCAttributeForSignatureAttribute, findRMCCPForSignature, findSignatureAttributeForRMCAttribute, findSignatureComponent, getComponentCustomLocation, getReferencingComponents, getReusableMapping, inputSignatureAttributeHasExpression, isContainerFor, isValidForTechnology, ownerIsReusableMapping, setSubSelect
getBlockExpressionReferencedAttributes, getBlockExpressionReferencedAttributesWithPath, getExecuteOnHint, getExecuteOnHintString, getIntegrationType, getNextAvailableInput, getNextAvailableInput, getNextAvailableOutput, isPassive, setExecuteOnHint, setExecuteOnHintByString
afterAddComponent, afterConnect, afterRemoveComponent, beforePropertyChange, connectFrom, createInputConnectorPoint, createInputConnectorPoint, createOutputConnectorPoint, createOutputConnectorPoint, customValidateProposedChildConnection, customValidateProposedChildScoping, equals, getBoundObjectFullName, getBoundObjectName, getBoundShortcutFullName, getComponentContext, getComponentType, getInScopeAttributeXMap, getSQLAccessName, getSQLAliasName, getTechnicalDescription, getTypeName, handleChildMapChangeEvent, hashCode, initPhysicalNode, isAttributeExecuteOnLocationHidden, isBoundObjectDeleted, isCardinalitySource, isCompositeComponentType, isExpressionHidden, isTargetLoadingSupported, propertyValueGetterHook, setComponentType, supportComponentOfType, toString, validateReorderComponent
addComponent, addProperty, bindTo, bindTo, connectTo, connectTo, connectTo, connectTo, containsComponent, 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, 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, getTargets, getTopLevelComponentsOfType, getTopLevelSignatureOwnerHolders, getTopLevelSources, getTopLevelTargets, getTopmostComponent, getUpstreamAttributeXMap, getUpstreamConnectedLeafComponents, getUpstreamConnectedLeafPoints, getUpstreamConnectedPoints, getUpstreamInScopeLeafAttributes, getUpstreamInScopeLeafComponentsFor, getUpstreamInScopeLeafPoints, getUpstreamLeafAttributes, getUpstreamLeafAttributes, getUpstreamLeafConnectorPoints, getUpstreamLeafConnectorPoints, getUpstreamLeafSources, getUpstreamSources, 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, validateProperties
getName
findSignatureComponent, getGUID, inputSignatureAttributeHasExpression
findOutputSignature, findOutputSignature, findRMCAttributeForSignatureAttribute, findRMCCPForSignature, findSignatureAttributeForRMCAttribute, getReusableMapping
bindTo, 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, isBound, isCompositeComponent, isDecorator, isEndpoint, isHidden, isInScope, isInScope, isMultiInputSelector, isOfType, isPassive, isProjector, isProposedConnectionValid, isSelector, isSignatureOwnerHolder, isSource, isSubComponent, isTarget, isValidForTechnology, referencesObject, removeAllConnections, removeAllConnections, removeAllInputConnections, removeInputConnectorPoint, removeInputConnectorPoint, removeInputConnectorPoint, removeOutputConnectorPoint, removeOutputConnectorPoint, reorderInputConnectorPoint, reorderOutputConnectorPoint, setAlias, setAttributeExpressionText, setAttributeExpressionText, setExecuteOnHint, setIsHidden, syncComponent
addComponent, containsComponent, findAllComponents, findComponent, findComponentBoundTo, findComponentOfType, findComponentsBoundTo, findConnector, findSubComponentOwner, getAllComponents, getAllComponentsOfType, getAllSignatureOwnerHolders, getAllSubComponentOwners, getComponentCount, getComponents, getLeafLevelComponents, getLeafLevelEndpoints, getLeafLevelTargets, getMapRootContainer, getSources, getTargets, getTopLevelComponentsOfType, getTopLevelSources, getTopLevelTargets, getUpstreamLeafAttributes, getUpstreamLeafAttributes, getUpstreamLeafConnectorPoints, getUpstreamLeafSources, isComponent, isExpandableComponent, isSignatureOwner, removeComponent, removeComponent
addProperty, createProperty, getAllProperties, getBooleanPropertyValue, getDisplayableProperties, getDisplayableTypeName, getExpressionPropertyValue, getIntPropertyValue, getProperties, getProperty, getPropertyValue, getStringPropertyValue, isPropertyDefined, setBooleanPropertyValue, setIntPropertyValue, setPropertyValue
getBusinessName, getDescription, setBusinessName, setDescription, setName
dump, dump, getDisplayableObjectName, getOwner, getStrongTypeClassName, validate, validate, validate
getRootContainer
getPersistentClassName
getName
getGlobalId, getNumericId
public static final java.lang.String COMPONENT_TYPE_NAME
public static final java.lang.String PROPKEY_TRUNCATE_ERROR_DATASTORES
public static final java.lang.String PROPKEY_ENABLE_SOURCE_DEDUPLICATE
public static final java.lang.String PROPKEY_DEFAULT_EFFECTIVE_TIME_INIT
public static final java.lang.String PROPKEY_DEFAULT_EFFECTIVE_TIME_OPEN
public static final java.lang.String PROPKEY_DEFAULT_EXPIRATION_TIME_OPEN
public static final java.lang.String PROPKEY_TYPE2_GAP
public static final java.lang.String PROPKEY_TYPE2_GAP_UNIT
public static final java.lang.String PROPVALUE_TYPE2_GAP_UNIT_SECONDS
public static final java.lang.String PROPVALUE_TYPE2_GAP_UNIT_MINUTES
public static final java.lang.String PROPVALUE_TYPE2_GAP_UNIT_HOURS
public static final java.lang.String PROPVALUE_TYPE2_GAP_UNIT_DAYS
public static final java.lang.String PROPVALUE_TYPE2_GAP_UNIT_WEEKS
public static final java.lang.String PROPKEY_INVALID_PARENT_OPTION
public static final java.lang.String PROPKEY_NULL_PARENT_OPTION
public static final java.lang.String PROPKEY_NULL_DATA_VALUE
public static boolean mIsUnitTest
public static final java.lang.String TEMP_PROPKEY_STAGING_DATASTORE
public static final java.lang.String TEMP_PROPKEY_ERROR_DATASTORE
public static final java.lang.String TEMP_PROPKEY_TARGET_DATASTORE
public static java.util.Map mRegisteredPatternClassMap
public DimensionComponent(oracle.odi.domain.mapping.MapComponent component) throws MappingException
MappingException
public DimensionComponent(IMapComponentOwner owner, java.lang.String componentTypeName, IDimension dimension, java.lang.String name) throws MappingException, AdapterException
MappingException
AdapterException
public DimensionComponent(IMapComponentOwner owner, java.lang.String componentTypeName, java.lang.String name) throws MappingException, AdapterException
MappingException
AdapterException
public DimensionComponent(MapComponentType componentType) throws oracle.odi.domain.mapping.exception.MapComponentException
oracle.odi.domain.mapping.exception.MapComponentException
public LevelComponent findLevelComponent(ILevel level) throws MappingException, AdapterException
AdapterException
MappingException
public void expand() throws MappingException, AdapterException
ExpandableComponentDelegate
expand
in class ExpandableComponentDelegate
MappingException
AdapterException
public static void associateBoundAttributes(ILevel level, MapConnectorPoint levelTargetCP) throws AdapterException, MappingException
level
- levelTarget
- MappingException
AdapterException
public static void associateBoundParentRefAttributes(ILevel level, MapConnectorPoint cp) throws AdapterException, MappingException
level
- levelTarget
- MappingException
AdapterException
public java.util.List getRegisteredPatternNames()
ExpandableComponentDelegate
getRegisteredPatternNames
in class ExpandableComponentDelegate
public java.lang.String getDefaultPatternName()
getDefaultPatternName
in class ExpandableComponentDelegate
public java.lang.String getPatternClassName(java.lang.String patternName)
ExpandableComponentDelegate
getPatternClassName
in class ExpandableComponentDelegate
patternName
- The pattern name.public java.lang.String getBoundDatastoreFullName() throws oracle.odi.domain.mapping.exception.MapComponentException, AdapterException
oracle.odi.domain.mapping.exception.MapComponentException
AdapterException
public java.lang.String getBoundErrorDatastoreFullName() throws oracle.odi.domain.mapping.exception.MapComponentException, AdapterException
oracle.odi.domain.mapping.exception.MapComponentException
AdapterException
public java.lang.String getBoundSequenceFullName() throws oracle.odi.domain.mapping.exception.MapComponentException, AdapterException
oracle.odi.domain.mapping.exception.MapComponentException
AdapterException
public java.lang.String getBoundStorageTypeString() throws oracle.odi.domain.mapping.exception.MapComponentException, AdapterException
oracle.odi.domain.mapping.exception.MapComponentException
AdapterException
public java.lang.String getSCDTypeString() throws oracle.odi.domain.mapping.exception.MapComponentException, AdapterException
oracle.odi.domain.mapping.exception.MapComponentException
AdapterException
public java.lang.String getInvalidParentOptionString() throws oracle.odi.domain.mapping.exception.MapComponentException, AdapterException
oracle.odi.domain.mapping.exception.MapComponentException
AdapterException
public java.lang.String getNullParentOptionString() throws oracle.odi.domain.mapping.exception.MapComponentException, AdapterException
oracle.odi.domain.mapping.exception.MapComponentException
AdapterException
public void setTruncateErrorDatastores(boolean b) throws PropertyException
b
- PropertyException
public boolean isTruncateErrorDatastores() throws PropertyException
PropertyException
public void setEnableSourceDeduplicate(boolean b) throws PropertyException
b
- PropertyException
public boolean isEnableSourceDeduplicate() throws PropertyException
PropertyException
public void setDefaultEffectiveTimeInitText(java.lang.String s) throws MappingException
s
- MappingException
public MapExpression getDefaultEffectiveTimeInit() throws PropertyException
PropertyException
public void setDefaultEffectiveTimeOpenText(java.lang.String s) throws MappingException
s
- MappingException
public MapExpression getDefaultEffectiveTimeOpen() throws PropertyException
PropertyException
public void setDefaultExpirationTimeOpenText(java.lang.String s) throws MappingException
s
- MappingException
public MapExpression getDefaultExpirationTimeOpen() throws PropertyException
PropertyException
public void setType2Gap(int i) throws PropertyException
i
- PropertyException
public int getType2Gap() throws PropertyException
PropertyException
public void setType2GapUnit(java.lang.String s) throws PropertyException
s
- PropertyException
public java.lang.String getType2GapUnit() throws PropertyException
PropertyException
public void setNullDataValueText(MapAttribute attr, java.lang.String nullDataValue) throws MappingException
nullDataValue
- MappingException
public MapExpression getNullDataValue(MapAttribute attr) throws PropertyException
PropertyException
public java.util.Map getPatternObjectHashMap()
public java.util.Set getAllParentLevels(ILevel level)
public java.util.Set getAllChildLevels(ILevel level) throws oracle.odi.domain.mapping.exception.MapComponentException, AdapterException
oracle.odi.domain.mapping.exception.MapComponentException
AdapterException
public IDimension getBoundDimension() throws oracle.odi.domain.mapping.exception.MapComponentException, AdapterException
oracle.odi.domain.mapping.exception.MapComponentException
AdapterException