|
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.ExprAttributeRef
public class ExprAttributeRef
Specialization of ExpressionRef that is used internally to reference ExpressionAttribute objects.
| 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 | |
|---|---|
ExprAttributeRef()
Creates an empty attribute reference. |
|
ExprAttributeRef(ExpressionAttribute attr)
Creates a new instance of ExprAttributeRef. |
|
ExprAttributeRef(String name)
Creates a new instance of ExprAttributeRef. |
|
ExprAttributeRef(String name,
String expr)
Creates a new instance of ExprAttributeRef. |
|
| Method Summary | |
|---|---|
String |
getDataType()
Get the data type of the field. |
boolean |
isSQL()
Check if this expression is sql expression. |
protected void |
parseAttributes(Element tag)
Read in the definition of this object from an XML tag. |
void |
setDataType(String dataType)
Set the data type of the field. |
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, 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 ExprAttributeRef()
public ExprAttributeRef(String name)
name - the name of the attribute.
public ExprAttributeRef(String name,
String expr)
name - the name of the attribute.expr - the SQL expression.public ExprAttributeRef(ExpressionAttribute attr)
attr - the expression attribute to be referenced.| Method Detail |
|---|
public void setDataType(String dataType)
dataType - the specified data type defined in XSchemapublic String getDataType()
getDataType in interface DataRefgetDataType in class AbstractDataRefpublic boolean isSQL()
isSQL in class ExpressionRefprotected 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 | ||||||||