Style Intelligence v12.0

inetsoft.uql
Interface XDomain

All Superinterfaces:
Cloneable, Serializable
All Known Implementing Classes:
XDataModel

public interface XDomain
extends Cloneable, Serializable

A domain is a container for OLAP cubes.

Since:
10.1

Method Summary
 void clearCache()
          Clears all cached cube result sets for this data model.
 Object clone()
          Create a copy of this object.
 XCube getCube(String name)
          Get the specified cube.
 Enumeration getCubes()
          Get the cubes contained in this domain.
 String getDataSource()
          Get the name of the data source to which this domain is associated.
 void parseXML(Element tag)
          Read in the definition of this object from an XML tag.
 void setDataSource(String datasource)
          Set the name of the data source to which this domain is associated.
 void writeXML(PrintWriter writer)
          Write an XML element representation of this object.
 

Method Detail

getDataSource

String getDataSource()
Get the name of the data source to which this domain is associated.

Returns:
the name of the associated data source.

setDataSource

void setDataSource(String datasource)
Set the name of the data source to which this domain is associated.

Parameters:
datasource - the name of the associated data source.

getCubes

Enumeration getCubes()
Get the cubes contained in this domain.

Returns:
an Enumeration of XCube objects.

getCube

XCube getCube(String name)
Get the specified cube.

Parameters:
name - the name of the cube.
Returns:
an XCube object, or null if no cube with the specified name exists.

parseXML

void parseXML(Element tag)
              throws Exception
Read in the definition of this object from an XML tag.

Parameters:
tag - the XML Element representing this object.
Throws:
Exception

clearCache

void clearCache()
Clears all cached cube result sets for this data model.


writeXML

void writeXML(PrintWriter writer)
Write an XML element representation of this object.

Parameters:
writer - the output stream to which to write the XML data.

clone

Object clone()
Create a copy of this object.

Returns:
a copy of this object.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.