|
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.GroupRef
public class GroupRef
Group ref represents a group 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 | |
|---|---|
GroupRef()
Constructor. |
|
GroupRef(DataRef ref)
Constructor. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone the object. |
boolean |
equalsContent(Object obj)
Check if equals another object in content. |
UserVariable[] |
getAllVariables()
Get all variables in the condition value list. |
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. |
int |
getDateGroup()
Get the date group. |
void |
getDependeds(Set set)
Get the assemblies depended on. |
Enumeration |
getEntities()
Get the attribute's parent entity. |
String |
getEntity()
Get the attribute's parent entity. |
String |
getName()
Get the name of the field. |
String |
getNamedGroupAssembly()
Get the named group assembly. |
inetsoft.uql.util.XNamedGroupInfo |
getNamedGroupInfo()
Get the named group info. |
inetsoft.report.internal.binding.OrderInfo |
getOrderInfo()
Get the grouping ordering. |
int |
getRefType()
Get the type of the field. |
String |
getSource()
Get the source of this field. |
String |
getSourcePrefix()
Get the prefix of the source. |
int |
getSourceType()
Get the type of the source. |
inetsoft.report.internal.binding.TopNInfo |
getTopN()
Get the topN definition. |
boolean |
isDate()
Check if is date type. |
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 |
renameDepended(String oname,
String nname)
Rename the assemblies depended on. |
void |
replaceVariables(VariableTable vars)
Replace all embeded user variables. |
void |
setDataRef(DataRef ref)
Set the column for this grouping. |
void |
setDateGroup(int dgroup)
Set the date group. |
void |
setNamedGroupAssembly(String assembly)
Set the named group assembly. |
void |
setNamedGroupInfo(inetsoft.uql.util.XNamedGroupInfo info)
Set the named group info. |
void |
setOrderInfo(inetsoft.report.internal.binding.OrderInfo info)
Set the grouping ordering. |
void |
setSource(String source)
Set the source of this field. |
void |
setSourcePrefix(String prefix)
Set the prefix of source. |
void |
setSourceType(int type)
Set the type of this source. |
void |
setTopN(inetsoft.report.internal.binding.TopNInfo topn)
Set the topN definition. |
String |
toString()
Get the string representation. |
String |
toView()
Get the view representation of this field. |
boolean |
update(Worksheet ws)
Update the group ref. |
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, 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.erm.DataRef |
|---|
addr, 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 GroupRef()
public GroupRef(DataRef ref)
| Method Detail |
|---|
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 DataRefWrapperpublic void refreshDataRef(ColumnSelection cols)
cols - the specified column selection.public String getDataType()
getDataType in interface DataRefgetDataType in class AbstractDataRefprotected void writeAttributes(PrintWriter writer)
writeAttributes in class AbstractDataRefwriter - the output stream to which to write the XML 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 writeAttributes2(DataOutputStream dos)
writeAttributes2 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 int getDateGroup()
public void setDateGroup(int dgroup)
dgroup - the specified date group. Date group option is defined in
the XConstants class.public String getNamedGroupAssembly()
public void setNamedGroupAssembly(String assembly)
assembly - the specified named group assembly.public void setNamedGroupInfo(inetsoft.uql.util.XNamedGroupInfo info)
public inetsoft.uql.util.XNamedGroupInfo getNamedGroupInfo()
public void replaceVariables(VariableTable vars)
vars - the specified variable table.public UserVariable[] getAllVariables()
public boolean update(Worksheet ws)
ws - the associated worksheet.
public void getDependeds(Set set)
public void renameDepended(String oname,
String nname)
oname - the specified old name.nname - the specified new name.public void setSource(String source)
setSource in interface CalcGroupsource - the specified source.public String getSource()
getSource in interface CalcGrouppublic void setSourcePrefix(String prefix)
setSourcePrefix in interface CalcGroupprefix - the specified prefix.public String getSourcePrefix()
getSourcePrefix in interface CalcGrouppublic void setSourceType(int type)
setSourceType in interface CalcGrouptype - the specified type.public int getSourceType()
getSourceType in interface CalcGrouppublic inetsoft.report.internal.binding.OrderInfo getOrderInfo()
getOrderInfo in interface CalcGrouppublic void setOrderInfo(inetsoft.report.internal.binding.OrderInfo info)
setOrderInfo in interface CalcGrouppublic inetsoft.report.internal.binding.TopNInfo getTopN()
getTopN in interface CalcGrouppublic void setTopN(inetsoft.report.internal.binding.TopNInfo topn)
setTopN in interface CalcGrouppublic boolean isDate()
isDate in interface CalcGrouppublic String toString()
toString in class AbstractDataRefpublic String toView()
toView in interface DataRef
public boolean printKey(PrintWriter writer)
throws Exception
printKey in interface inetsoft.util.ContentObjectExceptionpublic boolean equalsContent(Object obj)
equalsContent in interface inetsoft.util.ContentObjectobj - the specified object.
public 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 | ||||||||