|
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.asset.NumericRangeRef
public class NumericRangeRef
NumericRangeRef represents a numeric range data ref.
| 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 | |
|---|---|
NumericRangeRef()
Constructor. |
|
NumericRangeRef(String attr)
Constructor. |
|
NumericRangeRef(String attr,
DataRef ref)
Constructor. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone this object. |
String |
getAttribute()
Get the referenced attribute. |
Enumeration |
getAttributes()
Get a list of all attributes that are referenced by this object. |
DataRef |
getDataRef()
Get the contained data ref. |
String |
getDataType()
Get the data type. |
String |
getDBType()
Get the database type. |
String |
getDBVersion()
Get the database version. |
String |
getEntity()
Get the attribute's parent entity. |
String |
getExpression()
Get the SQL expression of this reference. |
String |
getName()
Get the name of this reference. |
String |
getScriptExpression()
Get the script expression of this reference. |
ValueRangeInfo |
getValueRangeInfo()
Get the value range infomation. |
boolean |
isExpressionEditable()
Check if expression is editable. |
boolean |
isMergeable()
Check if this date range ref is mergeable. |
boolean |
isSQL()
Check if this expression is sql expression. |
protected void |
parseAttributes(Element tag)
Read in the attribute of this object from an XML tag. |
protected void |
parseContents(Element tag)
Read in the contents of this object from an xml tag. |
void |
setDataRef(DataRef ref)
Set the data ref. |
void |
setDBType(String dbtype)
Set the database type. |
void |
setDBVersion(String version)
Set the database version. |
void |
setName(String name)
Set the name of the field. |
void |
setValueRangeInfo(ValueRangeInfo info)
Set the value range infomation. |
String |
toString()
Get a String representation of this object. |
protected void |
writeAttributes(PrintWriter writer)
Write the attributes of this object. |
protected void |
writeContents(PrintWriter writer)
Write the contents of this object. |
protected void |
writeContents2(DataOutputStream dos)
Write the contents of this object. |
| Methods inherited from class inetsoft.uql.erm.ExpressionRef |
|---|
equalsContent, getCalcAttributes, getDataSource, getEntities, getRefType, getScriptExpression, getSQLExpression, isExpression, isOnAggregate, isVirtual, parseCDATA, setDataSource, setEntity, setExpression, setOnAggregate, setRefType, setVirtual, toView, writeAttributes2, writeCDATA, writeCDATA2 |
| Methods inherited from class inetsoft.uql.erm.AbstractDataRef |
|---|
addr, compareTo, createDataRef, equals, equals, getClass, getDefaultFormula, getTypeNode, hashCode, isEmpty, isEntityBlank, parseData, parseXML, writeData, writeXML |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface inetsoft.uql.erm.DataRef |
|---|
addr, equals, getDefaultFormula, getEntities, getRefType, getTypeNode, isEmpty, isEntityBlank, isExpression, parseData, toView, writeData |
| Methods inherited from interface inetsoft.util.XMLSerializable |
|---|
parseXML, writeXML |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public NumericRangeRef()
public NumericRangeRef(String attr)
public NumericRangeRef(String attr,
DataRef ref)
| Method Detail |
|---|
public ValueRangeInfo getValueRangeInfo()
public void setValueRangeInfo(ValueRangeInfo info)
info - the specified value range infomation.public String getEntity()
getEntity in interface DataRefgetEntity in class ExpressionRefpublic String getAttribute()
getAttribute in interface DataRefgetAttribute in class ExpressionRefpublic DataRef getDataRef()
getDataRef in interface RangeRefpublic void setDataRef(DataRef ref)
setDataRef in interface RangeRefref - the specified data ref.public String getDataType()
getDataType in interface DataRefgetDataType in class AbstractDataRefpublic String toString()
toString 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.
Exceptionprotected void writeContents(PrintWriter writer)
writeContents in class AbstractDataRefwriter - the output stream to which to write the XML data.protected void writeContents2(DataOutputStream dos)
writeContents2 in class AbstractDataRefdos - the output stream to which to write the OutputStream data.
protected void parseContents(Element tag)
throws Exception
parseContents in class AbstractDataReftag - the specified xml element.
Exceptionpublic String getName()
getName in interface DataRefgetName in class ExpressionRefpublic void setName(String name)
setName in class ExpressionRefname - the name of the fieldpublic String getDBType()
getDBType in interface SQLExpressionRefgetDBType in class ExpressionRefpublic void setDBType(String dbtype)
setDBType in interface SQLExpressionRefsetDBType in class ExpressionRefdbtype - the specified database type.public String getDBVersion()
getDBVersion in interface SQLExpressionRefpublic void setDBVersion(String version)
setDBVersion in interface SQLExpressionRefpublic boolean isExpressionEditable()
isExpressionEditable in class ExpressionRefpublic boolean isMergeable()
isMergeable in interface SQLExpressionRefpublic String getExpression()
getExpression in class ExpressionRefpublic String getScriptExpression()
getScriptExpression in class ExpressionRefpublic boolean isSQL()
isSQL in class ExpressionRefpublic Enumeration getAttributes()
getAttributes in interface DataRefgetAttributes in class ExpressionRefpublic Object clone()
clone in interface AssetObjectclone in interface DataRefclone in class AbstractDataRef
|
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 | ||||||||