|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.schema.XVariable
public abstract class XVariable
A variable is a named expression. The name of a variable must be unique in a query. The variable can be either based on the result of a query, or entered by end users at runtime.
| Constructor Summary | |
|---|---|
XVariable()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Returns a clone of this object. |
abstract Object |
evaluate(VariableTable vars)
Evaulate the XVariable. |
String |
getName()
Get the variable name. |
String |
getSource()
Get the source name of this variable. |
static XVariable |
parse(Element root)
Parse a variable definition and create an instance of the variable. |
protected void |
parseAttributes(Element elem)
Parse attributes. |
void |
setName(String name)
Set the variable name. |
void |
setSource(String source)
Set the source this variable belongs to. |
protected void |
writeAttributes(PrintWriter writer)
Write attributes. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface inetsoft.util.XMLSerializable |
|---|
parseXML, writeXML |
| Constructor Detail |
|---|
public XVariable()
| Method Detail |
|---|
public static XVariable parse(Element root)
throws Exception
Exceptionpublic String getName()
public void setName(String name)
public void setSource(String source)
source - source name.public String getSource()
protected void writeAttributes(PrintWriter writer)
writer - the specified print writer.
protected void parseAttributes(Element elem)
throws Exception
elem - the specified xml element.
Exceptionpublic abstract Object evaluate(VariableTable vars)
public Object clone()
clone in class Object
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||