Package mondrian.gui
Class MondrianGuiDef.UserDefinedFunction
- java.lang.Object
-
- org.eigenbase.xom.ElementDef
-
- mondrian.gui.MondrianGuiDef.UserDefinedFunction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,NodeDef
- Enclosing class:
- MondrianGuiDef
public static class MondrianGuiDef.UserDefinedFunction extends ElementDef
A UserDefinedFunction is a function which extends the MDX language. It must be implemented by a Java class which implements the interface mondrian.spi.UserDefinedFunction.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
className
java.lang.String
name
MondrianGuiDef.Script
script
Script to implement this user-defined function.
-
Constructor Summary
Constructors Constructor Description UserDefinedFunction()
UserDefinedFunction(DOMWrapper _def)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
display(java.io.PrintWriter _out, int _indent)
boolean
displayDiff(ElementDef _other, java.io.PrintWriter _out, int _indent)
void
displayXML(XMLOutput _out, int _indent)
java.lang.String
getName()
-
Methods inherited from class org.eigenbase.xom.ElementDef
addChild, addChildren, clone, constructElement, constructElement, deepCopy, diff, displayAttribute, displayAttributeDiff, displayElement, displayElementArray, displayElementArrayDiff, displayElementDiff, displayIndent, displayString, displayStringArray, displayStringArrayDiff, displayStringDiff, displayXML, displayXMLElement, displayXMLElementArray, displayXMLString, displayXMLStringArray, equals, getChildren, getElementChildren, getElementClass, getLocation, getMixedChildren, getMixedChildren_new, getText, getType, getWrapper, hashCode, toCompactXML, toString, toXML, verifyEqual
-
-
-
-
Field Detail
-
name
public java.lang.String name
-
className
public java.lang.String className
-
script
public MondrianGuiDef.Script script
Script to implement this user-defined function. Either the "Script" element or the "className" attribute must be specified.
-
-
Constructor Detail
-
UserDefinedFunction
public UserDefinedFunction()
-
UserDefinedFunction
public UserDefinedFunction(DOMWrapper _def) throws XOMException
- Throws:
XOMException
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceNodeDef
- Overrides:
getName
in classElementDef
-
display
public void display(java.io.PrintWriter _out, int _indent)
-
displayXML
public void displayXML(XMLOutput _out, int _indent)
- Specified by:
displayXML
in interfaceNodeDef
- Overrides:
displayXML
in classElementDef
-
displayDiff
public boolean displayDiff(ElementDef _other, java.io.PrintWriter _out, int _indent)
- Overrides:
displayDiff
in classElementDef
-
-