|
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.asset.SortRef
public class SortRef
Sort ref represents a sorted data ref.
| 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 | |
|---|---|
SortRef()
Constructor. |
|
SortRef(DataRef ref)
Constructor. |
|
| Method Summary | |
|---|---|
SortRef |
copySortRef(DataRef ref)
Copy sort ref. |
boolean |
equalsSort(Object obj)
Check if equals another 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. |
Enumeration |
getEntities()
Get the attribute's parent entity. |
String |
getEntity()
Get the attribute's parent entity. |
String |
getName()
Get the name of the field. |
int |
getOrder()
Get the sorting order. |
int |
getRefType()
Get the type of the field. |
boolean |
isEntityBlank()
Determine if the entity is blank. |
boolean |
isExpression()
Check if the attribute is an 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. |
boolean |
printKey(PrintWriter writer)
Print the key to identify this content object. |
void |
refreshDataRef(ColumnSelection cols)
Refresh the contained data ref. |
void |
setDataRef(DataRef ref)
Set the contained data ref. |
void |
setOrder(int order)
Set the sorting order. |
String |
toString()
Get the string representation. |
String |
toView()
Get the view representation of this field. |
protected void |
writeAttributes(PrintWriter writer)
Write the attributes of this object. |
protected void |
writeAttributes2(DataOutputStream dos)
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.AbstractDataRef |
|---|
addr, clone, compareTo, createDataRef, equals, equals, getClass, getDefaultFormula, getTypeNode, hashCode, isEmpty, parseCDATA, parseData, parseXML, writeCDATA, writeCDATA2, writeData, writeXML |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface inetsoft.uql.asset.AssetObject |
|---|
clone |
| Methods inherited from interface inetsoft.uql.erm.DataRef |
|---|
addr, clone, equals, getDefaultFormula, getTypeNode, isEmpty, parseData, writeData |
| Methods inherited from interface inetsoft.util.XMLSerializable |
|---|
parseXML, writeXML |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public SortRef()
public SortRef(DataRef ref)
| Method Detail |
|---|
public SortRef copySortRef(DataRef ref)
ref - the specified data ref.
public int getRefType()
getRefType in interface DataRefpublic boolean isExpression()
isExpression in interface DataRefpublic String getEntity()
getEntity in interface DataRefpublic Enumeration getEntities()
getEntities in interface DataRefgetEntities in class AbstractDataRefpublic String getAttribute()
getAttribute in interface DataRefpublic Enumeration getAttributes()
getAttributes in interface DataRefgetAttributes in class AbstractDataRefpublic boolean isEntityBlank()
isEntityBlank in interface DataRefisEntityBlank in class AbstractDataReftrue if entity is null or blank.public String getName()
getName in interface DataRefgetName in class AbstractDataRefpublic DataRef getDataRef()
getDataRef in interface DataRefWrapperpublic void setDataRef(DataRef ref)
setDataRef in interface DataRefWrapperref - the contained data ref.public void refreshDataRef(ColumnSelection cols)
cols - the specified column selection.public String getDataType()
getDataType in interface DataRefgetDataType in class AbstractDataRefpublic int getOrder()
public void setOrder(int order)
order - the specified sorting order defined in XConstants.protected void writeAttributes(PrintWriter writer)
writeAttributes in class AbstractDataRefwriter - the output stream to which to write the XML data.protected void writeAttributes2(DataOutputStream dos)
writeAttributes2 in class AbstractDataRefdos - the output stream to which to write the OutputStream data.
protected void parseAttributes(Element tag)
throws Exception
parseAttributes in class AbstractDataReftag - 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.
Exception
public boolean printKey(PrintWriter writer)
throws Exception
Exceptionpublic boolean equalsSort(Object obj)
obj - the specified object.
public String toString()
toString in class AbstractDataRefpublic String toView()
toView in interface DataRef
|
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 | ||||||||