|
Oracle® OLAP Java API Reference 10g Release 2 (10.2.0.4) B14348-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.olapi.metadata.BaseMetadataObject
oracle.olapi.metadata.mdm.MdmObject
oracle.olapi.metadata.mdm.MdmModel
A Model that assigns a value to an
MdmAttribute or an MdmMeasure
for a set of MdmDimension members.
The values and the MdmDimension members are specified
by the Assignment objects of the MdmModel.
As needed, Oracle OLAP implicitly creates an MdmModel for
an MdmDimension, MdmAttribute, or
MdmMeasure provided by the
MdmMetadataProvider.
Model| Constructor Summary | |
MdmModel(MdmMetadataProvider metadataProvider)
Creates an MdmModel for MDM metadata objects provided by
the specified MdmMetadataProvider. |
|
| Method Summary | |
void |
assign(Qualification[] qualifications,
Source assigned)
Creates an Assignment with the default precedence and adds
it to the MdmModel. |
void |
assign(Qualification[] qualifications,
Source assigned,
int precedence)
Creates an Assignment and adds it to the
MdmModel. |
void |
assign(java.lang.String[] values,
Source assigned)
Creates an Assignment with the default precedence and adds
it to the MdmModel. |
void |
assign(java.lang.String[] values,
Source assigned,
int precedence)
Creates an Assignment with the specified precedence and adds
it to the MdmModel. |
void |
assign(java.lang.String value,
Source assigned)
Creates an Assignment with the default precedence and adds
it to the MdmModel. |
void |
assign(java.lang.String value,
Source assigned,
int precedence)
Creates an Assignment with the specified precedence and adds
it to the MdmModel. |
Source |
createSolvedSource()
Creates a Source that represents the results of the
evaluation of the Assignment objects of the
MdmModel. |
Source |
createSolvedSource(Source defaultValues)
Creates a Source that represents the results of
the evaluation of the Assignment objects of the
MdmModel. |
java.util.List |
getAssignments()
Gets the Assignment objects of the MdmModel. |
int |
getDefaultPrecedence()
Gets the default precedence value for the MdmModel. |
abstract java.util.List |
getInputs()
Gets the Source objects that are the inputs of the
MdmModel. |
abstract MdmSource |
getMdmSource()
Gets the MdmSource for the MdmModel. |
java.util.List |
getOutputs()
Returns an empty List because an MdmModel
does not have outputs. |
abstract java.util.List |
getParentModels()
Gets the MdmModel objects that are the parents of the
MdmModel; the MdmModel can inherit the
Assignment objects of its parents. |
abstract Source |
getType()
Gets the Source that is the type of the MdmModel. |
void |
setDefaultPrecedence(int precedence)
Specifies the default precedence, which is the precedence value for Assignment objects that are created by methods that do
not specify a value. |
void |
unassign(Assignment assignment)
Removes an Assignment from the MdmModel. |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmObject |
acceptVisitor, getDescription, getMetadataProvider, getName, getShortDescription, setDescription, setName, setShortDescription |
| Methods inherited from class oracle.olapi.metadata.BaseMetadataObject |
getID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.olapi.data.source.Model |
getAutoAssignments |
| Constructor Detail |
public MdmModel(MdmMetadataProvider metadataProvider)
MdmModel for MDM metadata objects provided by
the specified MdmMetadataProvider.
metadataProvider - The MdmMetadataProvider to use
in creating the MdmModel.| Method Detail |
public abstract MdmSource getMdmSource()
MdmSource for the MdmModel.
MdmSource for the MdmModel.public abstract Source getType()
Source that is the type of the MdmModel.
getType in interface ModelSource that is the type of the
MdmModel.public abstract java.util.List getInputs()
Source objects that are the inputs of the
MdmModel.
getInputs in interface ModelList of the Source objects that are
the inputs of the MdmModel.public final java.util.List getOutputs()
List because an MdmModel
does not have outputs.
A CustomModel can have outputs.
getOutputs in interface ModelList.public abstract java.util.List getParentModels()
MdmModel objects that are the parents of the
MdmModel; the MdmModel can inherit the
Assignment objects of its parents.
getParentModels in interface ModelList of the MdmModel objects that
are the parents of the MdmModel.public java.util.List getAssignments()
Assignment objects of the MdmModel.
getAssignments in interface ModelList of the Assignment objects of
the MdmModel.
public void assign(Qualification[] qualifications,
Source assigned)
Assignment with the default precedence and adds
it to the MdmModel.
assign in interface Modelqualifications - An array of Qualification objects,
each of which specifies a dimension member.assigned - A Source that defines a value to assign as
the value of a measure or attribute for the specified
dimension members.
public void assign(Qualification[] qualifications,
Source assigned,
int precedence)
Assignment and adds it to the
MdmModel.
assign in interface Modelqualifications - An array of Qualification objects,
each of which specifies a dimension member.assigned - A Source that defines a value to assign as
the value of a measure or attribute for the specified
dimension members.precedence - An integer that specifies the precedence to use for
the Assignment.
public void assign(java.lang.String value,
Source assigned)
Assignment with the default precedence and adds
it to the MdmModel.
assign in interface Modelvalue - A String that specifies a dimension member.assigned - A Source that defines a value to assign as
the value of a measure or attribute for the specified
dimension member.
public void assign(java.lang.String value,
Source assigned,
int precedence)
Assignment with the specified precedence and adds
it to the MdmModel.
assign in interface Modelvalue - A String that specifies a dimension member.assigned - A Source that defines a value to assign as the
value of a measure or attribute for the specified dimension
member.precedence - An integer that specifies the precedence to use for
the Assignment.
public void assign(java.lang.String[] values,
Source assigned)
Assignment with the default precedence and adds
it to the MdmModel.
assign in interface Modelvalues - An array of String objects that specify
dimension members.assigned - A Source that defines a value to assign as
the value of a measure or attribute for the specified
dimension members.
public void assign(java.lang.String[] values,
Source assigned,
int precedence)
Assignment with the specified precedence and adds
it to the MdmModel.
assign in interface Modelvalues - An array of String objects that specify
dimension members.assigned - A Source that defines a value to assign as
the value of a measure or attribute for the specified
dimension members.precedence - An integer that specifies the precedence to use for
the Assignment.public void unassign(Assignment assignment)
Assignment from the MdmModel.
unassign in interface Modelassignment - The Assignment to remove.public int getDefaultPrecedence()
MdmModel.
getDefaultPrecedence in interface ModelAssignment objects that are created by
methods that do not specify a precedence value.public void setDefaultPrecedence(int precedence)
Assignment objects that are created by methods that do
not specify a value.
setDefaultPrecedence in interface Modelprecedence - The integer value to set as the default precedence.public final Source createSolvedSource()
Source that represents the results of the
evaluation of the Assignment objects of the
MdmModel.
The elements of the returned Source that do not
have an assigned value have a value of null.
createSolvedSource in interface ModelSource that represents the results of the
evaluation of the Assignment objects of the
Model and that has null for
unassigned values.public final Source createSolvedSource(Source defaultValues)
Source that represents the results of
the evaluation of the Assignment objects of the
MdmModel.
The elements of the returned Source that do not
have an assigned value have the value specified by the
defaultValues Source.
createSolvedSource in interface ModeldefaultValues - A Source that specifies the value
that you want Oracle OLAP to assign for a
member of an input when the Assignment
objects of the MdmmModel do not
assign a value for the input member.
Source that represents the results of the
evaluation of the Assignment objects of the
MdmModel and that has the value of
defaultValues for unassigned values.
|
Oracle® OLAP Java API Reference 10g Release 2 (10.2.0.4) B14348-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||