Oracle OLAP Analytic Workspace Java API Reference
10g Release 1 (10.1)

B12180-01

oracle.AWXML
Class MappingGroup

java.lang.Object
  |
  +--oracle.AWXML.BaseObject
        |
        +--oracle.AWXML.MappingGroup
Direct Known Subclasses:
CubeMapGroup, DimensionMapGroup

public class MappingGroup
extends BaseObject

A BaseObject that defines a set of mappings for a dimension or a cube. Mappings specify the relational columns that contain the source data for objects in the analytic workspace.

You can specify a mapping for a dimension as a whole, or you can map individual levels or hierarchies. Levels can be mapped within a hierarchical context (a HierarchyLevelAssociation) or they can be mapped individually.

You can specify a mapping for a cube as a whole, or you can map individual measures or keys that associate the cube's data with the cube's dimensions.

Use the oracle.AWAction.BuildDatabase class to execute a set of mappings and load data into the analytic workspace.

Use the following link to view a graphical representation of oracle.AWXML.MappingGroup.

OLAP Analytic Workspace Data Source Mapping Model

See Also:
oracle.AWXML.DimensionMapGroup, oracle.AWXML.DimensionMapGroup

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
MappingGroup(BaseObject input)
          Constructor for a MappingGroup.

 

Method Summary
 java.lang.String Delete(AWConnection connection)
          Remove this MappingGroup from the current analytic workspace.
 java.lang.String WriteToXML()
          Returns the object as an XML string.

 

Methods inherited from class oracle.AWXML.BaseObject
Alter, Create, CreateAfter, CreateBefore, CreateFirst, 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

 

Constructor Detail

MappingGroup

public MappingGroup(BaseObject input)
Constructor for a MappingGroup. Input can specify the mappings for a cube or a dimension.
Parameters:
input - A BaseObject that is a DimensionMapGroup or a CubeMapGroup
Method Detail

WriteToXML

public java.lang.String WriteToXML()
Returns the object as an XML string.
Overrides:
WriteToXML in class BaseObject
Returns:
A String containing the XML that represents the object.

Delete

public java.lang.String Delete(AWConnection connection)
Remove this MappingGroup from the current analytic workspace.
Overrides:
Delete in class BaseObject
Parameters:
connection - An AWConnection through which the command will be processed
Returns:
A String indicating if the call was successful. A successful invocation returns the value 'success'.

Oracle OLAP Analytic Workspace Java API Reference
10g Release 1 (10.1)

B12180-01

Copyright © 2003, Oracle. All Rights Reserved.