| 
 | Oracle OLAP Analytic Workspace Java API Reference 10g Release 1 (10.1) B12180-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.AWObject
 An abstract class that defines the basic characteristics of a model object that supports attributes and can be mapped to a relational source. In the model, Cube, Dimension, Level, Hierarchy and HierarchyLevelAssociation objects can be mapped to a relational source.
The original mapping to the relational data source should populate the SourceMapGroup. To override the original mapping during a refresh, populate the RefreshMapGroup structures for the objects whose mapping specifications have changed. If the RefreshMapGroup structures are populated, they are used during a refresh. Otherwise the original mappings in the SourceMapGroup are used.
Use the following link to view a graphical representation of oracle.AWXML.AWObject.
OLAP Analytic Workspace AWObject Model
| Field Summary | |
| protected  java.util.Vector | m_attributes | 
| protected  java.util.Vector | m_refreshMapGroup | 
| protected  java.util.Vector | m_sourceMapGroup | 
| Fields inherited from class oracle.AWXML.BaseObject | 
| AWNULL, DATABASENULL, m_commandResults, m_commandResultText, m_id, m_listResults, m_longName, m_name, m_owner, m_pluralName, m_schema, m_shortName, s_EndElementTag, s_EndEndTag, s_EndStartTag, s_EndTag, s_Indent, s_JAVA_LINEEND, s_NEWLINE, s_objectCounter, s_StartEndTag, s_StartStartTag | 
| Constructor Summary | |
| AWObject(BaseObject input)This constructor is used by the object factories when an object in the model is owned. | |
| Method Summary | |
|  void | addAttribute(Attribute input)Adds an Attributeto this object's collection of attributes. | 
|  void | addAttributeProjection(AttributeProjection input)Adds an AttributeProjectionto this object's collection of attributes. | 
|  void | addRefreshMapGroup(MappingGroup input)Add a refresh mapping to the collection of refresh mappings. | 
|  void | addSourceCubeMapGroup(CubeMapGroup input)Add a cube source mapping to the collection of source mappings. | 
|  void | addSourceDimensionMapGroup(DimensionMapGroup input)Add a dimension source mapping to the collection of source mappings. | 
|  void | addSourceMappingGroup(MappingGroup input)Add a source mapping to the collection of source mappings. | 
|  Attribute | createAttribute()A Factory for an Attributeand add it to the list of Attributes for this instance. | 
|  AttributeProjection | createAttributeProjection()A Factory for an AttributeProjectionand add it to the list of Attributes for this instance. | 
|  CubeMapGroup | createSourceCubeMapGroup()A Factory for a CubeMapGroupand add it to the list of SourceMappings for this instance. | 
|  DimensionMapGroup | createSourceDimensionMapGroup()A Factory for a DimensionMapGroupand add it to the list of SourceMappings for this instance. | 
|  java.util.Vector | getAttributes()Returns the list of Attributes owned by this object. | 
|  java.util.Vector | getRefreshMapGroup()Return the set of refresh map groups. | 
|  java.util.Vector | getSourceMapGroup()Return the collection of source mappings | 
|  void | removeAttribute(Attribute input)Remove the specified Attributerom the set of owned Attributes. | 
|  void | removeAttributeProjection(AttributeProjection input)Remove the specified AttributeProjectionfrom the set of owned Attributes. | 
|  void | removeSourceMappingGroup(MappingGroup input)Remove the MappingGroupfrom the list of source mappings. | 
|  java.lang.String | WriteToXML()Returns the object as an XML string. | 
| Methods inherited from class oracle.AWXML.BaseObject | 
| Alter, Create, CreateAfter, CreateBefore, CreateFirst, Delete, getId, getLongName, getName, getOwner, getParentId, getPluralName, getSchema, getShortName, setLongName, setName, setPluralName, setSchema, setShortName | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected java.util.Vector m_attributes
protected java.util.Vector m_sourceMapGroup
protected java.util.Vector m_refreshMapGroup
| Constructor Detail | 
public AWObject(BaseObject input)
input - A BaseObject| Method Detail | 
public java.lang.String WriteToXML()
String containing the XML that represents the object.public void addAttribute(Attribute input)
Attribute to this object's collection of attributes. This method can be used to move an Attribute from one Object to another. This method will set the current Owner of the input Attribute to the Object. Therefore if the Attribute is left in its original container, it will generate a runtime error in the originating container.input - An Attributepublic void removeAttribute(Attribute input)
Attributerom the set of owned Attributes.input - An Attributepublic void addAttributeProjection(AttributeProjection input)
AttributeProjection to this object's collection of attributes. This method can be used to move an AttributeProjection from one Object to another. This method will set the current Owner of the input AttributeProjection to the Object. Therefore if the AttributeProjection is left in its original container, it will generate a runtime error in the originating container.input - An AttributeProjectionpublic void removeAttributeProjection(AttributeProjection input)
AttributeProjection from the set of owned Attributes.input - An AttributeProjectionpublic java.util.Vector getAttributes()
Vector containing the set of Attributes.public void addSourceMappingGroup(MappingGroup input)
MappingGroup to this instance.input - A MappingGroup to add the Source Mappingspublic void removeSourceMappingGroup(MappingGroup input)
MappingGroup from the list of source mappings.input - A MappingGroup to remove the Source Mappingspublic void addSourceDimensionMapGroup(DimensionMapGroup input)
DimensionMapGroup to this instance. The use of this method is for sub-type instances that are in the dimension portion of the object modelinput - A DimensionMapGroup to add the Source Mappingspublic void addSourceCubeMapGroup(CubeMapGroup input)
CubeMapGroup to this instance. The use of this method is for sub-type instances that are in the cube portion of the object modelinput - A CubeMapGroup to add the Source Mappingspublic java.util.Vector getSourceMapGroup()
Vector containing a set of source maps.public void addRefreshMapGroup(MappingGroup input)
MappingGroup to this instance.input - A MappingGroup to add the Refresh Mappingspublic java.util.Vector getRefreshMapGroup()
Vector containing a set of refresh map groups.public Attribute createAttribute()
Attribute and add it to the list of Attributes for this instance. This method can only be used on a Dimension object. For Attributes of Level, Hierarchy, or HierarchyLevelAssociation objects, use createAttributeProjection.Attributepublic AttributeProjection createAttributeProjection()
AttributeProjection and add it to the list of Attributes for this instance. This method can only be used on a either a Level, Hierarchy or HierarchyLevelAssociation object.AttributeProjectionpublic DimensionMapGroup createSourceDimensionMapGroup()
DimensionMapGroup and add it to the list of SourceMappings for this instance.DimensionMapGrouppublic CubeMapGroup createSourceCubeMapGroup()
CubeMapGroup and add it to the list of SourceMappings for this instance.CubeMapGroup| 
 | Oracle OLAP Analytic Workspace Java API Reference 10g Release 1 (10.1) B12180-01 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||