public class MdmAttributeModel
MdmDimensionedObjectModel
that represents an MdmAttribute
. This class is for use by an OLAP Java API application that is running in a 10g metadata reader mode. Do not use this class in an 11g application.
Unlike an MdmMeasureModel
, an MdmAttributeModel
does not inherit the Assignment
objects of the MdmDimensionCalculationModel
for the MdmDimension
for which the MdmAttribute
has values.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context)
Calls the
visitMdmAttributeModel method of an MdmObjectVisitor and passes that method this MdmAttributeModel and an Object . |
java.util.List |
getAutoAssignments()
Gets the
Assignment objects that Oracle OLAP automatically creates for the MdmAttributeModel . |
MdmAttribute |
getMdmAttribute()
Gets the
MdmAttribute for the MdmAttributeModel . |
MdmDimensionedObject |
getMdmDimensionedObject()
Gets the
MdmDimensionedObject for the MdmAttributeModel . |
java.util.List |
getParentModels()
Gets an empty
List because an MdmAttributeModel does not have any parent MdmModel objects. |
void |
setMdmAttribute(MdmAttribute attribute)
Specifies the
MdmAttribute with which to associate the MdmAttributeModel . |
public java.lang.Object acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context)
visitMdmAttributeModel
method of an MdmObjectVisitor
and passes that method this MdmAttributeModel
and an Object
.acceptVisitor
in class MdmObject
visitor
- An MdmObjectVisitor
.context
- An Object
.Object
returned by the visitMdmAttributeModel
method.public final MdmAttribute getMdmAttribute()
MdmAttribute
for the MdmAttributeModel
.MdmAttribute
for the MdmAttributeModel
.public final MdmDimensionedObject getMdmDimensionedObject()
MdmDimensionedObject
for the MdmAttributeModel
. The MdmDimensionedObject
for an MdmAttributeModel
is an MdmAttribute
.MdmDimensionedObject
for the MdmAttributeModel
.public final java.util.List getParentModels()
List
because an MdmAttributeModel
does not have any parent MdmModel
objects.getParentModels
in class MdmModel
List
.public final void setMdmAttribute(MdmAttribute attribute)
MdmAttribute
with which to associate the MdmAttributeModel
.attribute
- The MdmAttribute
with which to associate the MdmAttributeModel
.public java.util.List getAutoAssignments()
Assignment
objects that Oracle OLAP automatically creates for the MdmAttributeModel
.List
of the Assignment
objects that Oracle OLAP automatically creates for the MdmAttributeModel
.