Style Intelligence v12.0

inetsoft.uql.erm
Class XMeasure

java.lang.Object
  extended by inetsoft.uql.erm.ERMCubeMember
      extended by inetsoft.uql.erm.XMeasure
All Implemented Interfaces:
XCubeMember, inetsoft.util.XMLSerializable, Serializable, Cloneable

public class XMeasure
extends ERMCubeMember

Represents a measure in an OLAP cube.

Since:
6.0
See Also:
Serialized Form

Constructor Summary
XMeasure(String name)
          Create a new instance fo XMeasure.
 
Method Summary
 Object clone()
          Create a copy of this object.
 String getAggregate()
          Get the aggregate function used to summarize this measure.
 void parseXML(Element tag)
          Read in the definition of this object from an XML tag.
 void setAggregate(String aggregate)
          Get the aggregate function used to summarize this measure.
 void writeXML(PrintWriter writer)
          Write an XML element representation of this object.
 
Methods inherited from class inetsoft.uql.erm.ERMCubeMember
equals, getDataRef, getDescription, getFolder, getName, getType, getXMetaInfo, hashCode, setDataRef, setDescription, setName, setType, setXMetaInfo
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMeasure

public XMeasure(String name)
Create a new instance fo XMeasure.

Parameters:
name - the name of the measure.
Method Detail

getAggregate

public String getAggregate()
Get the aggregate function used to summarize this measure.

Returns:
the aggregate function name.

setAggregate

public void setAggregate(String aggregate)
Get the aggregate function used to summarize this measure.

Parameters:
aggregate - the aggregate function name.

clone

public Object clone()
Create a copy of this object.

Overrides:
clone in class ERMCubeMember
Returns:
a copy of this object.

writeXML

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

Specified by:
writeXML in interface inetsoft.util.XMLSerializable
Overrides:
writeXML in class ERMCubeMember
Parameters:
writer - the output stream to which to write the XML data.

parseXML

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

Specified by:
parseXML in interface inetsoft.util.XMLSerializable
Overrides:
parseXML in class ERMCubeMember
Parameters:
tag - the XML Element representing this object.
Throws:
Exception

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