|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.erm.AbstractDataRef
inetsoft.uql.erm.ExpressionRef
inetsoft.uql.erm.ExpressionRef2
public class ExpressionRef2
Class holding a reference to a formula expression that can be incorporated in a JDBC SQL query.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class inetsoft.uql.erm.ExpressionRef |
|---|
ExpressionRef.AttributeEnumeration |
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.erm.AbstractDataRef |
|---|
chash, cname |
| Fields inherited from interface inetsoft.uql.erm.DataRef |
|---|
AGG_CALC, CUBE, CUBE_DIMENSION, CUBE_MEASURE, CUBE_MODEL_DIMENSION, CUBE_MODEL_TIME_DIMENSION, CUBE_TIME_DIMENSION, DIMENSION, MEASURE, MODEL, NONE, TIME |
| Constructor Summary | |
|---|---|
ExpressionRef2()
Create a new instance of ExpressionRef. |
|
ExpressionRef2(String datasource,
String name)
Create a new instance of ExpressionRef. |
|
ExpressionRef2(String datasource,
String entity,
String name)
Create a new instance of ExpressionRef. |
|
| Method Summary | |
|---|---|
String |
getDataType()
Getter of data type. |
String |
getExpression2()
Get the SQL expression of this reference which may contains expression measure name. |
protected void |
parseAttributes(Element tag)
Read in the definition of this object from an XML tag. |
void |
setDataType(String type)
Setter of data type. |
void |
setExpression2(String exp)
Set the SQL expression of this reference. |
protected void |
writeAttributes(PrintWriter writer)
Write an XML element representation of this object. |
| Methods inherited from class inetsoft.uql.erm.ExpressionRef |
|---|
equalsContent, getAttribute, getAttributes, getCalcAttributes, getDataSource, getDBType, getEntities, getEntity, getExpression, getName, getRefType, getScriptExpression, getScriptExpression, getSQLExpression, isExpression, isExpressionEditable, isOnAggregate, isSQL, isVirtual, parseCDATA, setDataSource, setDBType, setEntity, setExpression, setName, setOnAggregate, setRefType, setVirtual, toString, toView, writeAttributes2, writeCDATA, writeCDATA2 |
| Methods inherited from class inetsoft.uql.erm.AbstractDataRef |
|---|
addr, clone, compareTo, createDataRef, equals, equals, getClass, getDefaultFormula, getTypeNode, hashCode, isEmpty, isEntityBlank, parseContents, parseData, parseXML, writeContents, writeContents2, writeData, writeXML |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExpressionRef2()
public ExpressionRef2(String datasource,
String name)
datasource - the name of the JDBC data source to which the object
refersname - the name of the reference
public ExpressionRef2(String datasource,
String entity,
String name)
datasource - the name of the JDBC data source to which the object
refersentity - the entityname - the name of the reference| Method Detail |
|---|
public void setDataType(String type)
public String getDataType()
getDataType in interface DataRefgetDataType in class AbstractDataRefpublic void setExpression2(String exp)
expression - a SQL expression which
may contains expression measure name.public String getExpression2()
protected void writeAttributes(PrintWriter writer)
writeAttributes in class ExpressionRefwriter - the output stream to which to write the XML data
protected void parseAttributes(Element tag)
throws Exception
parseAttributes in class ExpressionReftag - the XML Element representing this object
Exception
|
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 | ||||||||