|
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.Model
Represents an OLAP model, which is a set of interrelated OLAP DML equations that result in a set of dimension members. For a diagram of the class associations of Model
, see Model Class Associations.
Model
is owned by a Dimension
. A Model
can be referenced in an AggregationDefinition
to specify aggregation over a dimension (usually a non-hierarchical dimension, such as a line item).
A Model
has an ordered set of references to CalculatedMember
objects, each one specifying a calculation that results in a new dimension member. Position within the list of references determines the order in which each calculation is performed.
A Model
is implemented as a model object in the OLAP DML. If you prefer to write your own OLAP DML for the Model
, then you can use the setContents
method.
For more information, see the OLAP DML Reference.
Fields inherited from class oracle.AWXML.BaseObject |
DATABASENULL |
Constructor Summary | |
Model(BaseObject input) Creates a Model for the specified Dimension . |
Method Summary | |
void |
addCalculatedMemberRef(CalculatedMemberRef input) Adds the specified CalculatedMemberRef to the end of the calculation list in the model. |
void |
addCalculatedMemberRefAfter(CalculatedMemberRef input, BaseObject reference) Adds the specified CalculatedMemberRef after the referenced CalculatedMemberRef in the calculation list in the model. |
void |
addCalculatedMemberRefBefore(CalculatedMemberRef input, BaseObject reference) Adds the specified CalculatedMemberRef before the referenced CalculatedMemberRef in the calculation list in the model. |
void |
addCalculatedMemberRefFirst(CalculatedMemberRef input) Adds the specified CalculatedMemberRef to the beginning of the calculation list in the model. |
java.lang.String |
Create(AWConnection connection) Creates the Model in the current analytic workspace of the specified database connection. |
CalculatedMemberRef |
createCalculatedMemberRef() Creates a new CalculatedMemberRef at the end of the calculation list in the model. |
CalculatedMemberRef |
createCalculatedMemberRefAfter(CalculatedMemberRef input) Creates a new CalculatedMemberRef after the referenced CalculatedMemberRef in the calculation list. |
CalculatedMemberRef |
createCalculatedMemberRefBefore(CalculatedMemberRef input) Creates a new CalculatedMemberRef before the referenced CalculatedMemberRef in the calculation list. |
CalculatedMemberRef |
createCalculatedMemberRefFirst() Creates a new CalculatedMemberRef at the beginning of the calculation list in the model. |
java.lang.String |
Delete(AWConnection connection) Deletes the Model in the current analytic workspace of the specified database connection. |
java.lang.String |
getAggregationText() Returns the text of the MODEL statement that references the Model in an AggregationDefinition . |
java.util.Vector |
getCalculatedMemberRefs() Returns the list of CalculatedMemberRef objects in the model. |
java.lang.String |
getContents() Returns the OLAP DML DIMENSION statements that make up the model specification. |
Dimension |
getDimension() Returns the Dimension that owns the Model . |
void |
removeCalculatedMemberRef(CalculatedMemberRef input) Removes the specified CalculatedMemberRef from the model. |
void |
setContents(java.lang.String input) Assigns the specified OLAP DML commands to the model. |
java.lang.String |
WriteToXML() Gets an XML representation of the Model . |
Methods inherited from class oracle.AWXML.BaseObject |
Alter, 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 Model(BaseObject input)
Model
for the specified Dimension
.input
- The Dimension
that owns the Model
.Method Detail |
public void addCalculatedMemberRef(CalculatedMemberRef input)
CalculatedMemberRef
to the end of the calculation list in the model.input
- The CalculatedMemberRef
to add.public void addCalculatedMemberRefAfter(CalculatedMemberRef input, BaseObject reference)
CalculatedMemberRef
after the referenced CalculatedMemberRef
in the calculation list in the model.input
- The CalculatedMemberRef
to add.reference
- The referenced CalculatedMemberRef
.public void addCalculatedMemberRefBefore(CalculatedMemberRef input, BaseObject reference)
CalculatedMemberRef
before the referenced CalculatedMemberRef
in the calculation list in the model.input
- The CalculatedMemberRef
to add.reference
- The referenced CalculatedMemberRef
.public void addCalculatedMemberRefFirst(CalculatedMemberRef input)
CalculatedMemberRef
to the beginning of the calculation list in the model.input
- The CalculatedMemberRef
to add.public void removeCalculatedMemberRef(CalculatedMemberRef input)
CalculatedMemberRef
from the model.input
- The CalculatedMemberRef
to remove.public java.util.Vector getCalculatedMemberRefs()
CalculatedMemberRef
objects in the model.Vector
of CalculatedMemberRef
objects.public CalculatedMemberRef createCalculatedMemberRef()
CalculatedMemberRef
at the end of the calculation list in the model.CalculatedMemberRef
.public CalculatedMemberRef createCalculatedMemberRefAfter(CalculatedMemberRef input)
CalculatedMemberRef
after the referenced CalculatedMemberRef
in the calculation list.input
- The referenced CalculatedMemberRef
CalculatedMemberRef
.public CalculatedMemberRef createCalculatedMemberRefBefore(CalculatedMemberRef input)
CalculatedMemberRef
before the referenced CalculatedMemberRef
in the calculation list.input
- The referenced CalculatedMemberRef
.CalculatedMemberRef
.public CalculatedMemberRef createCalculatedMemberRefFirst()
CalculatedMemberRef
at the beginning of the calculation list in the model.CalculatedMemberRef
.public java.lang.String WriteToXML()
Model
.String
that is an XML representation of the Model
.public java.lang.String getContents()
public void setContents(java.lang.String input)
input
- A String
containing the OLAP DML commands.public Dimension getDimension()
Dimension
that owns the Model
.Dimension
.public java.lang.String getAggregationText()
Model
in an AggregationDefinition
.AggregationDefinition
.public java.lang.String Create(AWConnection connection)
Model
in the current analytic workspace of the specified database connection.connection
- The AWConnection
that represents the database connection.success
" if successful.public java.lang.String Delete(AWConnection connection)
Model
in the current analytic workspace of the specified database connection.connection
- The AWConnection
that represents 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 |