@Entity public class MapAttribute extends oracle.odi.domain.root.PropertyOwner implements IExpressionReferencedObject, IMapAttributeOwner, IMapExpressionOwner, IMapAttribute, oracle.odi.domain.mapping.IMapReferenceOwner
| Modifier and Type | Class and Description |
|---|---|
static class |
MapAttribute.AttributeType
Represents the basic type of the attribute.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTIVE_INDICATOR_PROPKEY
The property name for a boolean property that indicates that this attribute will
participate in code generation.
|
static java.lang.String |
CHECK_NOTNULL_PROPKEY
The property name for a boolean property that indicates that this attribute will be checked
for not null during loading, if the owning component is a target data storage component.
|
static MapAttribute.ConnectionTypeSelector |
DEFAULT_CONNECTION_TYPE_SELECTOR |
static java.lang.String |
EXPRESSION_PROPERTY_KEY
The first expression metadata field can be accessed as a property of the attribute,
using this property key name.
|
static java.lang.String |
INSERT_INDICATOR_PROPKEY
The property name for a boolean property that indicates that this attribute will
participate in an insert loading operation, if the owning component is a data storage target in the map.
|
static java.lang.String |
KEY_INDICATOR_PROPKEY
The property name for a boolean property that indicates that this attribute is bound to a
column that participates in a key constraint.
|
static java.lang.String |
PROPKEY_TECHNICAL_DESCRIPTION
Property key name for the technical description
|
static java.lang.String |
UD1_PROPKEY
The property name for a boolean property that indicates that this attribute functions as
user-defined attribute role #1.
|
static java.lang.String |
UD10_PROPKEY
The property name for a boolean property that indicates that this attribute functions as
user-defined attribute role #20.
|
static java.lang.String |
UD2_PROPKEY
The property name for a boolean property that indicates that this attribute functions as
user-defined attribute role #2.
|
static java.lang.String |
UD3_PROPKEY
The property name for a boolean property that indicates that this attribute functions as
user-defined attribute role #3.
|
static java.lang.String |
UD4_PROPKEY
The property name for a boolean property that indicates that this attribute functions as
user-defined attribute role #4.
|
static java.lang.String |
UD5_PROPKEY
The property name for a boolean property that indicates that this attribute functions as
user-defined attribute role #5.
|
static java.lang.String |
UD6_PROPKEY
The property name for a boolean property that indicates that this attribute functions as
user-defined attribute role #6.
|
static java.lang.String |
UD7_PROPKEY
The property name for a boolean property that indicates that this attribute functions as
user-defined attribute role #7.
|
static java.lang.String |
UD8_PROPKEY
The property name for a boolean property that indicates that this attribute functions as
user-defined attribute role #8.
|
static java.lang.String |
UD9_PROPKEY
The property name for a boolean property that indicates that this attribute functions as
user-defined attribute role #9.
|
static int |
UNDEFINED
A constant value used to represent an undefined data size value.
|
static java.lang.String |
UPDATE_INDICATOR_PROPKEY
The property name for a boolean property that indicates that this attribute will
participate in an update loading operation, if the owning component is a data storage target in the map.
|
| Modifier and Type | Method and Description |
|---|---|
void |
connectTo(IMapComponent targetComponent)
Add this source attribute to the scope for the specified target component.
|
void |
connectTo(IMapComponent targetComponent,
MapPathSpecifier path)
Add this source attribute to the scope for the specified target component.
|
void |
connectTo(MapAttribute tgtAttribute)
Set this source attribute as the source expression for the specified target attribute.
|
void |
connectTo(MapAttribute tgtAttribute,
MapPathSpecifier path)
Set this source attribute as the source expression for the specified target attribute.
|
void |
connectTo(MapConnectorPoint point)
Connect this source attribute to the specified target connector point.
|
MapAttribute |
createAttribute(MapAttribute sourceAttr)
Create an attribute that is a copy of the specified source attribute.
|
MapAttribute |
createAttribute(java.lang.String name) |
MapAttribute |
createAttribute(java.lang.String name,
boolean isPersistent) |
static void |
dumpAttributeList(java.util.List attrList)
A utility method to dump a specified list of attributes for a specified component
to the console.
|
MapAttribute |
findAttribute(java.lang.String name)
Find an attribute owned by this connector point, with the specified name.
|
int |
getAttributeCount()
Get the total number of attributes owned by this connector point.
|
java.util.List |
getAttributes()
Retrieve a list of all the attributes owned by this connector point.
|
IColumn |
getBoundColumn()
Get the column object to which this attribute is bound, if any, else return null.
|
IModelObject |
getBoundObject()
Return the bound object for this attribute, or null if no bound object is defined.
|
java.lang.String |
getBoundObjectFullName()
Get the full qualified name of the bound object.
|
java.lang.String |
getBoundObjectName()
Get the attribute bound object name, if it is available from an attribute delegate, else null.
|
java.util.List |
getChildAttributes()
Returns the list of child attributes, if any.
|
MapAttribute |
getCompositeChildAttribute()
If this attribute is an output attribute of a composite component,
get the corresponding attribute in the child connector point of
this attribute's owning connector point, if any.
|
MapAttribute |
getCompositeParentAttribute()
If this attribute is an output attribute of a child component inside
a composite component, get the corresponding parent attribute
via the composite parent/child connector point relationship, if any.
|
java.lang.String |
getContextualName(IMapComponent contextComp)
Get the full qualified name of the attribute, relative to a contextual component.
|
IDataType |
getDataType() |
java.lang.String |
getDataTypeString()
Get the datatype name string.
|
java.lang.String |
getDdlDataType()
Get the generated DDL data type or code generation data type for the attribute,
if a column is being created to match the attribute.
|
oracle.odi.domain.mapping.MapComponentDelegate.AttributeDelegate |
getDelegate()
Get the connector point delegate for this attribute, or null if no connector point delegate
class is defined.
|
java.lang.String |
getDisplayableTypeName()
Get a user-displayable type name for the object.
|
MapExpression.ExecuteOnLocation |
getExecuteOnHint()
Get the execute-on hint for the expression of this attribute, for the simple case
where this attribute only has one expression.
|
ILogicalSchema |
getExecuteOnLocation()
Get the execute-on location logical schema name for the expression of this attribute.
|
MapExpression |
getExpression()
Return the expression for this attribute.
|
MapExpression |
getExpression(int pIndex)
Retrieves the expression associated with this attribute at the given index.
|
java.util.List |
getExpressions()
Return the list of expressions for this attribute.
|
java.lang.String |
getFullName()
Get the full qualified name of the attribute.
|
MapAttribute |
getLeafAttribute()
Get the leaf attribute associated with this attribute.
|
IMapRootContainer |
getMapRootContainer()
Get the top-level mapping that contains this attribute.
|
java.lang.String |
getMinimizedRefText()
Gets the minimized reference text for this object.
|
IRoot |
getOwner()
Gets the mapping owner (or parent) of this object.
|
IMapComponent |
getOwningComponent()
Get the component owner for this attribute.
|
MapConnectorPoint |
getOwningConnectorPoint()
Get the connector point that owns this attribute.
|
java.lang.Integer |
getPosition()
Return the position of this attribute within its parent connector point.
|
java.util.Set |
getProjectorSourceComponents()
Return the components that act as the projector source for this attribute, based on
the attribute input expression reference, or null if none found.
|
java.util.List |
getReferencingComponents()
Get a list of target components that reference this attribute.
|
java.lang.String |
getRefName()
Get the expression reference name for the attribute.
|
java.lang.String |
getRefName(boolean minimize)
Get the expression reference name for the attribute.
|
java.lang.String |
getRefName(MapPathSpecifier path)
Get the expression reference name for the attribute.
|
java.lang.String |
getRefName(MapPathSpecifier path,
boolean minimize)
Get the expression reference name for the attribute.
|
java.lang.String |
getRefText()
Gets the reference text for this object.
|
java.lang.Integer |
getScale()
Get the data scale for this attribute.
|
java.lang.Integer |
getSize()
Get the data size (precision or length) of this attribute.
|
java.lang.String |
getSQLAccessName()
Get the SQL or code generation access name for this source attribute.
|
java.lang.String |
getSQLAccessName(boolean includeTableAlias)
Get the SQL or code generation access name for this source attribute.
|
java.lang.String |
getSQLAccessName(boolean includeTableAlias,
java.lang.String tableAlias)
Get the SQL or code generation access name for this source attribute.
|
java.lang.String |
getSQLAccessName(java.lang.String tableAlias)
Get the SQL or code generation access name for this source attribute.
|
IMappingObject.SyncState |
getSyncState() |
java.lang.String |
getTechnicalDescription()
Get the technical description of this attribute.
|
java.lang.Object |
invokeMethod(java.lang.String methodName,
java.lang.Object[] args) |
boolean |
isActive()
Get the active state of this attribute.
|
boolean |
isBoundAttribute()
Return true if this attribute is bound to a model object (e.g.
|
boolean |
isCheckNotNull()
Return true if the bound column will be checked for non-null value when loading the target data storage object.
|
boolean |
isCheckNotNullIndicator()
Return true if the attribute will be checked for non-null value when loading the target data storage object.
|
boolean |
isInsertIndicator()
Return true if the attribute participates in an insert operation when loading the target data storage object.
|
boolean |
isKeyIndicator()
Return true if this attribute acts as a key indicator in the component.
|
boolean |
isProjectorAttribute()
Return true if this attribute is a source projector attribute (not a decorator attribute).
|
boolean |
isReferenced()
Return true if this attribute is referenced by a downstream expression in the
mapping graph.
|
boolean |
isRequired()
Returns true if this attribute is required to be connected when used in a mapping, else false.
|
boolean |
isScaleSet()
Return true if the scale for this attribute has ever been explicitly set, else false.
|
boolean |
isSizeSet()
Return true if the precision for this attribute has ever been explicitly set, else false.
|
boolean |
isSourceAttribute() |
boolean |
isTargetAttribute()
Return true if this attribute is a target attribute.
|
boolean |
isUpdateIndicator()
Return true if the attribute participates in an update operation when loading the target data storage object.
|
void |
removeAttribute(MapAttribute attr)
Remove the specified attribute from this connector point.
|
void |
removeAttribute(MapAttribute attr,
boolean removeReferencedExpressions)
Remove the specified attribute from this connector point.
|
void |
removeAttribute(java.lang.String name)
Remove the attribute with the specified name from this connector point.
|
void |
removeAttribute(java.lang.String name,
boolean removeReferencedExpressions)
Remove the attribute with the specified name from this connector point.
|
void |
removeExpression(MapExpression expr)
Remove the specified expression from this attribute.
|
void |
removeExpressions()
Remove all expressions associated with this attribute.
|
void |
reorderAttribute(MapAttribute attr,
java.lang.Integer newPos)
Change the order of the specified attribute in the ordered list.
|
void |
setActive(boolean isActive)
Set the active state of this attribute.
|
void |
setCheckNotNullIndicator(boolean notNullIndicator)
Set the check not null indicator state for the attribute.
|
void |
setDataType(IDataType dataType)
Set the data type of this attribute.
|
void |
setDataType(IDataType dataType,
java.lang.Integer size)
Set the data type of this attribute.
|
boolean |
setDataType(IDataType dataType,
java.lang.Integer size,
java.lang.Integer scale)
Set the data type of this attribute.
|
void |
setDataTypeCode(java.lang.String technoCode,
java.lang.String dataTypeCode)
odiInternal
|
void |
setDataTypeString(java.lang.String dataTypeName)
Set the data type for the attribute by name.
|
void |
setExecuteOnHint(MapExpression.ExecuteOnLocation loc)
Set the execute location hint for the attribute expression.
|
void |
setExecuteOnHint(MapExpression.ExecuteOnLocation loc,
MapConnectorPoint scopingInputPoint)
Set the execute location hint for the attribute expression.
|
void |
setExecuteOnLocation(ILogicalSchema loc)
Set the fixed execute location for the attribute expression.
|
void |
setExecuteOnLocation(ILogicalSchema loc,
MapConnectorPoint scopingInputPoint)
Set the fixed execute location for the attribute expression.
|
void |
setExecuteOnLocationByName(java.lang.String locName)
Set the execute-on location logical schema name for the expression of this attribute.
|
void |
setExpression(MapAttribute attribute)
Sets the expression for a target attribute, using the specified attribute as a source.
|
void |
setExpression(MapAttribute attribute,
MapPathSpecifier path)
Sets the expression for a target attribute, using the specified attribute as a source.
|
void |
setExpression(MapConnectorPoint scopingInputPoint,
MapAttribute sourceAttribute,
MapPathSpecifier path)
Sets an input expression with an associated scoping input connector point, for the
case where there are multiple input expressions (e.g.
|
void |
setExpression(MapConnectorPoint scopingInputPoint,
MapExpression expr)
Sets an expression with an associated scoping input connector point for the attribute,
for the case where there are multiple expressions for an attribute (e.g.
|
void |
setExpression(MapExpression expr)
Sets the expression for the attribute, for the standard case where there
is only one target input expression.
|
void |
setExpressionText(MapConnectorPoint scopingInputPoint,
java.lang.String expressionText)
Sets an input expression text with an associated scoping input connector point, for the
case where there are multiple input expressions (e.g.
|
void |
setExpressionText(java.lang.String exprText)
Sets the expression text for the attribute, for the standard case where there
is only one target input expression.
|
void |
setInsertIndicator(boolean insertIndicator)
Set the insert indicator state for the attribute.
|
void |
setIsRequired(boolean value)
Sets a flag that indicates that this attribute is required to be connected when used
in a mapping.
|
void |
setKeyIndicator(boolean keyIndicator)
Set the boolean key indicator property value to the specified value.
|
void |
setName(java.lang.String name)
Set the name of the object.
|
void |
setPropertyValue(java.lang.String key,
java.lang.Object value)
An attribute which owns any property that has had a non-default value set should be persisted.
|
void |
setScale(java.lang.Integer value)
Set the data scale for this attribute.
|
void |
setSize(java.lang.Integer value)
Set the data size (precision or length) for this attribute.
|
void |
setUpdateIndicator(boolean updateIndicator)
Set the update indicator state for the attribute.
|
java.lang.String |
toString() |
boolean |
validate(java.util.List result,
boolean debug)
Validates the object.
|
addProperty, adjustPropertyPersistency, createProperty, createProperty, delete, getAllProperties, getAllProperties, getAllPropertyMapReferenceOwners, getBooleanPropertyValue, getChildNamespaceId, getDisplayableProperties, getExpressionPropertyValue, getIntPropertyValue, getProperties, getProperties, getProperty, getPropertyMetadataOwner, getPropertyValue, getPropertyValueReference, getStringPropertyValue, initiateDynamicProperties, internalGetAllProperties, internalIsPropertyDefined, internalSetPropertyValue, isPropertyDefined, notifyPropertyChange, onSave, removeAllProperties, removeProperty, removeProperty, setBooleanPropertyValue, setIntPropertyValue, validatePropertiesgetBusinessName, getDescription, getGlobalNamespaceId, getName, getNamespaceId, setBusinessName, setDescriptionaddCachedIssue, addCachedIssues, clearIssueCache, displayIssues, displayIssues, displayIssues, dump, dump, dump, dump, dumpToString, equals, getAdapter, getCachedErrors, getCachedIssues, getCachedSyncState, getCachedValidationErrorMessage, getDisplayableObjectName, getFCOContainer, getGUID, getInternalId, getPropertyDefinitionOwner, getRootContainer, getSecurityContainer, getStrongTypeClassName, handleMapChangeEvent, hasAdapter, hashCode, isNew, setCachedSyncState, validategetGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, invokeCustomizedPersistenceMethodForgetName, getNumericIdgetNamedump, dump, getDisplayableObjectName, getGUID, getStrongTypeClassName, validategetRootContainergetGlobalId, getInternalId, getSecurityContainergetGlobalId, getName, getNumericIdgetBusinessName, getDescription, getName, setBusinessName, setDescriptionpublic static final java.lang.String EXPRESSION_PROPERTY_KEY
public static final java.lang.String PROPKEY_TECHNICAL_DESCRIPTION
public static final int UNDEFINED
public static final MapAttribute.ConnectionTypeSelector DEFAULT_CONNECTION_TYPE_SELECTOR
public static final java.lang.String KEY_INDICATOR_PROPKEY
public static final java.lang.String INSERT_INDICATOR_PROPKEY
public static final java.lang.String UPDATE_INDICATOR_PROPKEY
public static final java.lang.String ACTIVE_INDICATOR_PROPKEY
public static final java.lang.String UD1_PROPKEY
public static final java.lang.String UD2_PROPKEY
public static final java.lang.String UD3_PROPKEY
public static final java.lang.String UD4_PROPKEY
public static final java.lang.String UD5_PROPKEY
public static final java.lang.String UD6_PROPKEY
public static final java.lang.String UD7_PROPKEY
public static final java.lang.String UD8_PROPKEY
public static final java.lang.String UD9_PROPKEY
public static final java.lang.String UD10_PROPKEY
public static final java.lang.String CHECK_NOTNULL_PROPKEY
public oracle.odi.domain.mapping.MapComponentDelegate.AttributeDelegate getDelegate()
throws MappingException
oracle.odi.domain.mapping.exception.MapComponentExceptionMappingExceptionpublic void setName(java.lang.String name)
throws MappingException
INamedObjectsetName in interface INamedObjectsetName in class oracle.odi.domain.root.NamedObjectMappingException - TODOpublic java.lang.String getFullName()
getFullName in class oracle.odi.domain.root.Rootpublic java.lang.String getContextualName(IMapComponent contextComp)
public java.lang.String getRefName()
public java.lang.String getRefName(boolean minimize)
minimize - If true, any owning composite component (dataset) qualifier will not
be included.public java.lang.String getRefName(MapPathSpecifier path)
path - If non-null, specifies a context path for the ref name.public java.lang.String getRefName(MapPathSpecifier path, boolean minimize)
path - If non-null, specifies a context path for the ref name.minimize - If true, any owning composite component (dataset) qualifier will not
be included.public java.lang.String getSQLAccessName(boolean includeTableAlias,
java.lang.String tableAlias)
throws MappingException,
AdapterException
includeTableAlias - If true, a table alias will be included in the name.tableAlias - If not null, this is a table alias that will be used as a prefix for the name.MappingExceptionAdapterExceptionpublic java.lang.String getSQLAccessName(boolean includeTableAlias)
throws MappingException,
AdapterException
includeTableAlias - If true, a table alias will be included in the name.MappingExceptionAdapterExceptionpublic java.lang.String getSQLAccessName()
throws MappingException,
AdapterException
MappingExceptionAdapterExceptionpublic java.lang.String getSQLAccessName(java.lang.String tableAlias)
throws MappingException,
AdapterException
tableAlias - If not null, this is a table alias that will be used as a prefix for the name.MappingExceptionAdapterExceptionpublic MapConnectorPoint getOwningConnectorPoint()
public IMapComponent getOwningComponent()
public IRoot getOwner()
IRootpublic java.lang.Integer getPosition()
throws oracle.odi.domain.mapping.exception.MapComponentException
oracle.odi.domain.mapping.exception.MapComponentExceptionpublic java.util.List getChildAttributes()
public MapAttribute getCompositeChildAttribute() throws MappingException, AdapterException
AdapterExceptionMappingExceptionpublic MapAttribute getCompositeParentAttribute() throws MappingException, AdapterException
AdapterExceptionMappingExceptionpublic MapAttribute getLeafAttribute() throws MappingException, AdapterException
AdapterExceptionMappingExceptionpublic void setExpression(MapExpression expr) throws oracle.odi.domain.mapping.exception.MapComponentException
expr - The expression to set.oracle.odi.domain.mapping.exception.MapComponentExceptionpublic void setExpressionText(java.lang.String exprText)
throws MappingException
exprText - The expression text to set.PropertyExceptionMappingExceptionpublic void setExpression(MapAttribute attribute) throws MappingException, AdapterException
attribute - The source attribute.PropertyExceptionAdapterExceptionMappingExceptionpublic void setExpression(MapAttribute attribute, MapPathSpecifier path) throws MappingException, AdapterException
attribute - The source attribute.path - The path specifier to specify the path for the source attribute, which will be converted into a path qualifier in the expression text.PropertyExceptionAdapterExceptionMappingExceptionpublic void removeExpressions()
throws oracle.odi.domain.mapping.exception.MapComponentException
oracle.odi.domain.mapping.exception.MapComponentExceptionpublic void removeExpression(MapExpression expr) throws oracle.odi.domain.mapping.exception.MapComponentException
expr - The expression to remove.oracle.odi.domain.mapping.exception.MapComponentExceptionpublic void setExpression(MapConnectorPoint scopingInputPoint, MapExpression expr) throws oracle.odi.domain.mapping.exception.MapComponentException
scopingInputPoint - An input point of the owning component, that will be associated with the expression.expr - The expression to set.oracle.odi.domain.mapping.exception.MapComponentExceptionpublic void setExpression(MapConnectorPoint scopingInputPoint, MapAttribute sourceAttribute, MapPathSpecifier path) throws MappingException, AdapterException
scopingInputPoint - The scoping input point associated with the expression value.sourceAttribute - The source attribute to be connected.path - The path specifier that specifies the path to connect, if necessary, else null.PropertyExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionAdapterExceptionMappingExceptionpublic void setExpressionText(MapConnectorPoint scopingInputPoint, java.lang.String expressionText) throws MappingException
scopingInputPoint - The scoping input point associated with the expression.expressionText - The new expression text.PropertyExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionMappingExceptionpublic java.util.List getExpressions()
public MapExpression getExpression()
public MapExpression getExpression(int pIndex)
pIndex - The expression index.public IMapRootContainer getMapRootContainer()
getMapRootContainer in interface IMapExpressionOwneroracle.odi.domain.mapping.exception.MapComponentExceptionpublic java.util.Set getProjectorSourceComponents()
throws MappingException,
AdapterException
oracle.odi.domain.mapping.exception.MapComponentExceptionoracle.odi.domain.mapping.expression.parser.ExpressionParseExceptionPropertyExceptionAdapterExceptionMappingExceptionpublic boolean isProjectorAttribute()
public IModelObject getBoundObject() throws AdapterException
AdapterExceptionpublic boolean isBoundAttribute()
public java.lang.String getBoundObjectName()
throws MappingException,
AdapterException
oracle.odi.domain.mapping.exception.MapComponentExceptionAdapterExceptionMappingExceptionpublic java.lang.String getBoundObjectFullName()
throws oracle.odi.domain.mapping.exception.MapComponentException,
AdapterException
oracle.odi.domain.mapping.exception.MapComponentExceptionAdapterExceptionpublic void setIsRequired(boolean value)
value - public boolean isRequired()
public IColumn getBoundColumn() throws AdapterException
AdapterExceptionpublic IDataType getDataType() throws AdapterException, MappingException
AdapterExceptionMappingExceptionpublic void setDataType(IDataType dataType) throws MappingException, AdapterException
dataType - The data type to set for this attribute.MappingExceptionAdapterExceptionpublic void setDataType(IDataType dataType, java.lang.Integer size) throws MappingException, AdapterException
dataType - The data type to set for this attribute.size - The data size (precision or length) for this attribute. Should be called only when data size is relevant.
Setting data size to null has meaning, it means that the value is not set and a default value will be used during code generation.MappingExceptionAdapterExceptionpublic boolean setDataType(IDataType dataType, java.lang.Integer size, java.lang.Integer scale) throws MappingException, AdapterException
dataType - The data type to set for this attribute.size - The data size (precision or length) for this attribute. Should be called only when data size is relevant.
Setting data size to null has meaning, it means that the value is not set and a default value will be used during code generation.scale - The scale value for this attribute. A null
Setting data scale to null has meaning, it means that the value is not set and a default value will be used during code generation.MappingExceptionAdapterExceptionpublic java.lang.String getDataTypeString()
public void setDataTypeString(java.lang.String dataTypeName)
throws MappingException,
AdapterException
dataTypeName - MappingExceptionAdapterExceptionpublic void setDataTypeCode(java.lang.String technoCode,
java.lang.String dataTypeCode)
throws MappingException,
AdapterException
technoCode - dataTypeCode - MappingExceptionAdapterExceptionpublic java.lang.String getDdlDataType()
throws AdapterException,
MappingException
AdapterExceptionMappingExceptionpublic java.lang.Integer getSize()
throws AdapterException,
MappingException
AdapterExceptionMappingExceptionpublic void setSize(java.lang.Integer value)
throws AdapterException
value - The data size value to be set.AdapterExceptionpublic java.lang.Integer getScale()
throws AdapterException,
MappingException
AdapterExceptionMappingExceptionpublic void setScale(java.lang.Integer value)
throws AdapterException
AdapterExceptionMappingExceptionpublic boolean isScaleSet()
AdapterExceptionpublic boolean isSizeSet()
public boolean isReferenced()
public void connectTo(MapAttribute tgtAttribute, MapPathSpecifier path) throws MappingException, AdapterException
tgtAttribute - The target attribute.path - The path that should be used to connect components, if connection must be made. If
null, then it is assumed that only one path is possible.AdapterExceptionPropertyExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionoracle.odi.domain.mapping.expression.parser.ExpressionParseExceptionMappingExceptionpublic void connectTo(MapAttribute tgtAttribute) throws MappingException, AdapterException
tgtAttribute - The target attribute.AdapterExceptionPropertyExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionoracle.odi.domain.mapping.expression.parser.ExpressionParseExceptionMappingExceptionpublic void connectTo(IMapComponent targetComponent, MapPathSpecifier path) throws MappingException, AdapterException
targetComponent - The target component.path - The path specifier which specifies the connection path if necessary, or null.AdapterExceptionPropertyExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionoracle.odi.domain.mapping.expression.parser.ExpressionParseExceptionMappingExceptionpublic void connectTo(IMapComponent targetComponent) throws MappingException, AdapterException
targetComponent - The target component.AdapterExceptionPropertyExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionoracle.odi.domain.mapping.expression.parser.ExpressionParseExceptionMappingExceptionpublic void connectTo(MapConnectorPoint point) throws MappingException, AdapterException
point - The target connector point.AdapterExceptionPropertyExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionMappingExceptionpublic boolean validate(java.util.List result,
boolean debug)
validate in interface IRootvalidate in class oracle.odi.domain.root.PropertyOwnerresult - A list of issues that were found by validation.debug - If true, then informational issues are added that provide information
about the structure of the metadata and the state of this object.oracle.odi.domain.mapping.exception.MapComponentExceptionpublic void reorderAttribute(MapAttribute attr, java.lang.Integer newPos) throws oracle.odi.domain.mapping.exception.MapComponentException, PropertyException, AdapterException
IMapAttributeOwnerreorderAttribute in interface IMapAttributeOwnerattr - The attribute whose order is to be changed.newPos - The new index of the attribute. Null represents undefined/unset/unknown.oracle.odi.domain.mapping.exception.MapComponentExceptionPropertyExceptionAdapterExceptionpublic int getAttributeCount()
throws oracle.odi.domain.mapping.exception.MapComponentException,
PropertyException,
AdapterException
IMapAttributeOwnergetAttributeCount in interface IMapAttributeOwneroracle.odi.domain.mapping.exception.MapComponentExceptionPropertyExceptionAdapterExceptionpublic MapAttribute createAttribute(java.lang.String name, boolean isPersistent) throws MappingException, AdapterException
createAttribute in interface IMapAttributeOwnername - The name for the new projector attribute.isPersistent - If true, a persistent attribute is created, else a transient attribute is created.oracle.odi.domain.mapping.exception.MapComponentExceptionPropertyExceptionMappingExceptionAdapterExceptionpublic MapAttribute createAttribute(MapAttribute sourceAttr) throws MappingException, AdapterException
IMapAttributeOwnercreateAttribute in interface IMapAttributeOwnerMappingExceptionAdapterExceptionpublic MapAttribute createAttribute(java.lang.String name) throws MappingException, AdapterException
createAttribute in interface IMapAttributeOwnername - The name for the new projector attribute.oracle.odi.domain.mapping.exception.MapComponentExceptionPropertyExceptionMappingExceptionAdapterExceptionpublic void removeAttribute(MapAttribute attr) throws oracle.odi.domain.mapping.exception.MapComponentException
IMapAttributeOwnerremoveAttribute in interface IMapAttributeOwnerattr - The attribute to be removed.oracle.odi.domain.mapping.exception.MapComponentExceptionpublic void removeAttribute(MapAttribute attr, boolean removeReferencedExpressions) throws oracle.odi.domain.mapping.exception.MapComponentException
IMapAttributeOwnerremoveAttribute in interface IMapAttributeOwnerattr - The attribute to be removed.removeReferencedExpressions - If true, then any expressions that reference the
removed attribute will be removed.oracle.odi.domain.mapping.exception.MapComponentExceptionpublic void removeAttribute(java.lang.String name)
throws oracle.odi.domain.mapping.exception.MapComponentException
IMapAttributeOwnerremoveAttribute in interface IMapAttributeOwnername - The name of the attribute to be removed.oracle.odi.domain.mapping.exception.MapComponentExceptionpublic void removeAttribute(java.lang.String name,
boolean removeReferencedExpressions)
throws oracle.odi.domain.mapping.exception.MapComponentException
IMapAttributeOwnerremoveAttribute in interface IMapAttributeOwnername - The name of the attribute to be removed.removeReferencedExpressions - If true, then any expressions that reference the
removed attribute will be removed.oracle.odi.domain.mapping.exception.MapComponentExceptionpublic java.util.List getAttributes()
throws oracle.odi.domain.mapping.exception.MapComponentException,
PropertyException,
AdapterException
IMapAttributeOwnergetAttributes in interface IMapAttributeOwneroracle.odi.domain.mapping.exception.MapComponentExceptionPropertyExceptionAdapterExceptionpublic MapAttribute findAttribute(java.lang.String name) throws oracle.odi.domain.mapping.exception.MapComponentException, PropertyException, AdapterException
IMapAttributeOwnerfindAttribute in interface IMapAttributeOwnername - The name of the attribute to fetch.oracle.odi.domain.mapping.exception.MapComponentExceptionPropertyExceptionAdapterExceptionpublic java.lang.String getDisplayableTypeName()
IRootgetDisplayableTypeName in interface IPropertyOwnergetDisplayableTypeName in interface IRootgetDisplayableTypeName in class oracle.odi.domain.root.PropertyOwnerpublic MapExpression.ExecuteOnLocation getExecuteOnHint() throws MappingException
MappingExceptionpublic void setExecuteOnHint(MapExpression.ExecuteOnLocation loc) throws MappingException
loc - The hint location.MappingExceptionpublic void setExecuteOnHint(MapExpression.ExecuteOnLocation loc, MapConnectorPoint scopingInputPoint) throws MappingException
loc - The hint location.scopingInputPoint - The scoping input point for the expression, or null if
there is only one expression for this attribute, or if all expressions will
get the same hint.MappingExceptionpublic ILogicalSchema getExecuteOnLocation() throws MappingException, AdapterException
MappingExceptionAdapterExceptionpublic void setExecuteOnLocationByName(java.lang.String locName)
throws MappingException,
AdapterException
locName - The name of the logical schema to set as the expression location.MappingExceptionAdapterExceptionpublic void setExecuteOnLocation(ILogicalSchema loc) throws MappingException, AdapterException
loc - The fixed location.MappingExceptionAdapterExceptionpublic void setExecuteOnLocation(ILogicalSchema loc, MapConnectorPoint scopingInputPoint) throws MappingException, AdapterException
loc - The fixed location.scopingInputPoint - The scoping input point for the expression, or null if
there is only one expression for this attribute, or if all expressions will
get the same hint.MappingExceptionAdapterExceptionpublic java.util.List getReferencingComponents()
throws oracle.odi.domain.mapping.exception.MapComponentException
oracle.odi.domain.mapping.exception.MapComponentExceptionpublic static void dumpAttributeList(java.util.List attrList)
throws PropertyException
attrList - The list of attributes to be dumped.PropertyExceptionpublic boolean isKeyIndicator()
throws PropertyException
PropertyExceptionpublic void setKeyIndicator(boolean keyIndicator)
throws PropertyException
keyIndicator - PropertyExceptionpublic void setActive(boolean isActive)
throws PropertyException
isActive - The active state value to set.PropertyExceptionpublic boolean isInsertIndicator()
throws PropertyException
PropertyExceptionpublic void setInsertIndicator(boolean insertIndicator)
throws PropertyException
PropertyExceptionpublic boolean isUpdateIndicator()
throws PropertyException
PropertyExceptionpublic void setUpdateIndicator(boolean updateIndicator)
throws PropertyException
PropertyExceptionpublic boolean isCheckNotNullIndicator()
throws PropertyException
PropertyExceptionpublic void setCheckNotNullIndicator(boolean notNullIndicator)
throws PropertyException
PropertyExceptionpublic boolean isActive()
throws PropertyException
PropertyExceptionpublic boolean isSourceAttribute()
throws MappingException
MappingExceptionpublic boolean isTargetAttribute()
throws MappingException
MappingExceptionpublic java.lang.String getRefText()
throws AdapterException
IExpressionReferencedObjectgetRefText in interface IExpressionReferencedObjectAdapterExceptionpublic java.lang.String getMinimizedRefText()
throws AdapterException
IExpressionReferencedObjectgetMinimizedRefText in interface IExpressionReferencedObjectAdapterExceptionpublic boolean isCheckNotNull()
PropertyExceptionpublic java.lang.String toString()
toString in class oracle.odi.domain.root.Rootpublic void setPropertyValue(java.lang.String key,
java.lang.Object value)
throws PropertyException
setPropertyValue in interface IPropertyOwnersetPropertyValue in class oracle.odi.domain.root.PropertyOwnerkey - The name of the property whose value will be set.value - The object value of the property. The interpretation of the object
type will be determined by the type of the property.PropertyExceptionpublic IMappingObject.SyncState getSyncState()
getSyncState in interface IMappingObjectgetSyncState in class oracle.odi.domain.root.Rootpublic java.lang.String getTechnicalDescription()
throws PropertyException
PropertyExceptionpublic java.lang.Object invokeMethod(java.lang.String methodName,
java.lang.Object[] args)
throws PropertyException
invokeMethod in interface IPropertyOwnerinvokeMethod in class oracle.odi.domain.root.PropertyOwnerPropertyException