Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-05


oracle.olapi.metadata.mdm
Class MdmDerivedAttribute

java.lang.Object
  extended by oracle.olapi.metadata.BaseMetadataObject
      extended by oracle.olapi.metadata.mdm.MdmObject
          extended by oracle.olapi.metadata.mdm.MdmSource
              extended by oracle.olapi.metadata.mdm.MdmDimensionedObject
                  extended by oracle.olapi.metadata.mdm.MdmAttribute
                      extended by oracle.olapi.metadata.mdm.MdmSingleValuedAttribute
                          extended by 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.


Method Summary
 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.
 Expression getAttributeExpression()
          Gets the Expression that determines the values of this MdmDerivedAttribute.
 SQLDataType getSQLDataType()
          Gets the SQL data type for this MdmDerivedAttribute.
 void setAttributeExpression(Expression input)
          Specifies the Expression that determines the values of this MdmDerivedAttribute.

 

Methods inherited from class oracle.olapi.metadata.mdm.MdmAttribute
getDescriptionType, getDimensionality, getPrimaryDimension, getTargetDimension, getType, isVisibleForAll, setDescriptionType, setIsVisibleForAll, setPrimaryDimension, setTargetDimension

 

Methods inherited from class oracle.olapi.metadata.mdm.MdmDimensionedObject
addDimension, addDimensionality, getDimensions, isBooleanValued, removeDimensionality, setBooleanValued

 

Methods inherited from class oracle.olapi.metadata.mdm.MdmSource
getDataType, getSource

 

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 oracle.olapi.metadata.BaseMetadataObject
getContainedByObject, getID, getOwner

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

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

Copyright © 2002, 2010, Oracle. All rights reserved.