|
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.CalculationSpecification | +--oracle.AWXML.ModelRef
A reference to a Model
in an AggregationDefinition
.
An AggregationDefinition
owns an ordered set of CalculationSpecification
objects. The position in the calculation order determines the order in which the calculations are performed. A CalculationSpecification
can be either a ModelRef
, which references a pre-defined Model to specify aggregation over a dimension (typically a non-hierarchical dimension), or an Aggregation
object, which specifies aggregation over a hierarchical dimension.
An AggregationDefinition
is implemented as an aggmap object for aggregation in the OLAP DML. Each of its ModelRef
objects is a reference to a Model object defined in the OLAP DML.
For more information, see the OLAP DML Reference.
Fields inherited from class oracle.AWXML.BaseObject |
DATABASENULL |
Constructor Summary | |
ModelRef(BaseObject input) Creates a new ModelRef for the specified AggregationDefinition . |
Method Summary | |
java.lang.String |
Create(AWConnection connection) Creates the ModelRef in the current analytic workspace of the specified database connection, and appends it to the end of the list of CalculationSpecification objects. |
java.lang.String |
CreateAfter(AWConnection connection, BaseObject referencedObj) Creates the ModelRef in the current analytic workspace of the specified database connection, and adds it to the calculation list after the referenced CalculationSpecification . |
java.lang.String |
CreateBefore(AWConnection connection, BaseObject referencedObj) Creates the ModelRef in the current analytic workspace of the specified database connection, and adds it to the calculation list before the referenced CalculationSpecification . |
java.lang.String |
CreateFirst(AWConnection connection) Creates the ModelRef in the current analytic workspace of the specified database connection, and appends it to the beginning of the list of CalculationSpecification objects. |
java.lang.String |
Delete(AWConnection connection) Deletes the ModelRef in the current analytic workspace of the specified database connection. |
Model |
getModel() Returns the Model referenced by this CalculationSpecification. |
void |
setModel(Model input) Sets the Model referenced by this CalculationSpecification. |
java.lang.String |
WriteToXML() Returns the ModelRef as an XML string. |
Methods inherited from class oracle.AWXML.CalculationSpecification |
getAggregationText, getCalculationOrder, setCalculationOrder, setCalculationOrder |
Methods inherited from class oracle.AWXML.BaseObject |
Alter, 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 ModelRef(BaseObject input)
ModelRef
for the specified AggregationDefinition
.input
- The AggregationDefinition
that owns the new ModelRef
.Method Detail |
public java.lang.String WriteToXML()
ModelRef
as an XML string.String
containing the XML that represents the ModelRef
.public Model getModel()
Model
referenced by this CalculationSpecification.Model
.public void setModel(Model input)
Model
referenced by this CalculationSpecification.input
- The referenced Model
.public java.lang.String Create(AWConnection connection)
ModelRef
in the current analytic workspace of the specified database connection, and appends it to the end of the list of CalculationSpecification
objects.connection
- The AWConnection
that specifies the database connection.success
" if successful.public java.lang.String CreateFirst(AWConnection connection)
ModelRef
in the current analytic workspace of the specified database connection, and appends it to the beginning of the list of CalculationSpecification
objects.connection
- The AWConnection
that specifies the database connection.success
" if successful.public java.lang.String CreateAfter(AWConnection connection, BaseObject referencedObj)
ModelRef
in the current analytic workspace of the specified database connection, and adds it to the calculation list after the referenced CalculationSpecification
.connection
- The AWConnection
that specifies the database connection.referencedObj
- The referenced CalculationSpecification
.success
" if successful.public java.lang.String CreateBefore(AWConnection connection, BaseObject referencedObj)
ModelRef
in the current analytic workspace of the specified database connection, and adds it to the calculation list before the referenced CalculationSpecification
.connection
- The AWConnection
that specifies the database connection.referencedObj
- The referenced CalculationSpecification
.success
" if successful.public java.lang.String Delete(AWConnection connection)
ModelRef
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 |