|
Oracle® OLAP Analytic Workspace Java API Reference 10g Release 2 (10.2) B14351-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.AWXML.BaseObject | +--oracle.AWXML.ExternalSourceExpression | +--oracle.AWXML.RestrictedSourceExpression | +--oracle.AWXML.CubeDimensionSourceExpression
The column mapping for a dimension reference in a cube. The mapping specifies the foreign key columns in a fact table that reference the dimension.
A CubeDimensionSourceExpression
belongs to a CubeMapGroup
.
If the dimension has levels, some or all of them can be mapped in the CubeDimensionSourceExpression
.
The rows in the source columns can be limited by a SQL WHERE clause specified in a RestrictedSourceExpression
.
MappingGroup
Fields inherited from class oracle.AWXML.BaseObject |
DATABASENULL |
Constructor Summary | |
CubeDimensionSourceExpression(BaseObject input) Creates a CubeDimensionSourceExpression for the specified CubeMapGroup . |
Method Summary | |
void |
addLevel(Level input) Adds the specified Level to the CubeDimensionSourceExpression . |
java.lang.String |
Alter(AWConnection connection) Alters the class attributes of the CubeDimensionSourceExpression in the current analytic workspace of the specified database connection. |
java.lang.String |
Create(AWConnection connection) Creates the CubeDimensionSourceExpression in the current analytic workspace of the specified database connection. |
java.lang.String |
Delete(AWConnection connection) Deletes the CubeDimensionSourceExpression in the current analytic workspace of the specified database connection. |
Dimension |
getDimension() Returns the mapped Dimension in the CubeDimensionSourceExpression . |
java.util.Vector |
getLevels() Returns the mapped levels in the CubeDimensionSourceExpression . |
void |
setDimension(Dimension input) Sets the mapping target to the specified Dimension . |
java.lang.String |
WriteToXML() Returns the CubeDimensionSourceExpression as an XML string. |
Methods inherited from class oracle.AWXML.RestrictedSourceExpression |
createRestriction, getRestriction, getWhereClause, setRestriction, setWhereClause |
Methods inherited from class oracle.AWXML.ExternalSourceExpression |
addSourceColumn, CreateSourceColumn, getSourceColumns, getTargetObject, removeSourceColumn, setTargetObject |
Methods inherited from class oracle.AWXML.BaseObject |
CreateAfter, CreateBefore, CreateFirst, DataRead, getColumnName, getId, getLongName, getLongName, getName, getOwner, getPluralName, getPluralName, getSchema, getShortName, getShortName, setColumnName, setLongName, setLongName, setName, setPluralName, setPluralName, setSchema, setShortName, setShortName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CubeDimensionSourceExpression(BaseObject input)
CubeDimensionSourceExpression
for the specified CubeMapGroup
.input
- The CubeMapGroup
that owns the new CubeDimensionSourceExpression
.Method Detail |
public java.lang.String WriteToXML()
CubeDimensionSourceExpression
as an XML string.String
containing the XML that represents the CubeDimensionSourceExpression
.public void addLevel(Level input)
Level
to the CubeDimensionSourceExpression
.input
- The Level
to add.public java.util.Vector getLevels()
CubeDimensionSourceExpression
.
If levels have not been specified, or mapping is to a dimension, returns NULL
.
Vector
of Level
objects if levels have been mapped, otherwise NULL
.public void setDimension(Dimension input)
Dimension
.
The mapped dimension cannot have duplicate members. Use the setIsNativeKeyUnique
method on the Dimension
to specify that all members are unique.
input
- The Dimension
to map.public Dimension getDimension()
Dimension
in the CubeDimensionSourceExpression
.Dimension
.public java.lang.String Create(AWConnection connection)
CubeDimensionSourceExpression
in the current analytic workspace of the specified database connection.connection
- The AWConnection
that specifies the database connection.success
" if successful.public java.lang.String Alter(AWConnection connection)
CubeDimensionSourceExpression
in the current analytic workspace of the specified database connection.
You can use the Alter
method to change the descriptive names associated with the CubeDimensionSourceExpression
. For example, you can change the long and short descriptions and the plural name.
connection
- The AWConnection
that specifies the database connection.success
" if successful.public java.lang.String Delete(AWConnection connection)
CubeDimensionSourceExpression
in the current analytic workspace of the specified database connection.connection
- The AWConnection
that specifies the database connection.success
" if successful.
|
Oracle® OLAP Analytic Workspace Java API Reference 10g Release 2 (10.2) B14351-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |