Skip navigation links
oracle.olapi.metadata.mdm
Class MdmDerivedAttribute
java.lang.Object
oracle.olapi.metadata.BaseMetadataObject
oracle.olapi.metadata.mdm.MdmObject
oracle.olapi.metadata.mdm.MdmSource
oracle.olapi.metadata.mdm.MdmDimensionedObject
oracle.olapi.metadata.mdm.MdmAttribute
oracle.olapi.metadata.mdm.MdmSingleValuedAttribute
oracle.olapi.metadata.mdm.MdmDerivedAttribute
- All Implemented Interfaces:
- MetadataObject
-
public final class MdmDerivedAttribute
- extends MdmSingleValuedAttribute
An MdmSingleValuedAttribute
that has values that Oracle OLAP derives from the Expression
that is associated with the MdmDerivedAttribute
. Oracle OLAP automatically generates some derived attributes, such as the parent attribute for an MdmHierarchy
and the level depth attribute for an MdmLevelHierarchy
. You can find an existing MdmDerivedAttribute
or create a new one by using the findOrCreateDerivedAttribute
of an MdmPrimaryDimension
.
Methods inherited from class oracle.olapi.metadata.mdm.MdmObject |
addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getName, getNewName, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
acceptVisitor
public java.lang.Object acceptVisitor(MdmObjectVisitor visitor,
java.lang.Object context)
- Calls the
visitMdmDerivedAttribute
method of the MdmObjectVisitor
and passes that method this MdmDerivedAttribute
and an Object
.
-
- Specified by:
acceptVisitor
in class MdmObject
-
- Parameters:
visitor
- An MdmObjectVisitor
that implements the Mdm11_ObjectVisitor
interface. .
context
- An Object
.
- Returns:
- The
Object
returned by the visitMdmDerivedAttribute
method.
getAttributeExpression
public final Expression getAttributeExpression()
- Gets the
Expression
that determines the values of this MdmDerivedAttribute
.
-
- Returns:
- An
Expression
that determines the values of this MdmDerivedAttribute
.
setAttributeExpression
public final void setAttributeExpression(Expression input)
- Specifies the
Expression
that determines the values of this MdmDerivedAttribute
.
-
- Parameters:
input
- The Expression
that determines the values of this MdmDerivedAttribute
.
getSQLDataType
public final SQLDataType getSQLDataType()
- Gets the SQL data type for this
MdmDerivedAttribute
.
-
- Specified by:
getSQLDataType
in class MdmAttribute
-
- Returns:
- A
SQLDataType
that represents the SQL data type.
Skip navigation links