|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.asset.AggregateInfo
public class AggregateInfo
Aggregate info contains the grouping and aggregation information of a TableAssembly.
| Constructor Summary | |
|---|---|
AggregateInfo()
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
addAggregate(AggregateRef ref)
Add one aggregate. |
boolean |
addAggregate(AggregateRef ref,
Boolean delSame)
Add one aggregate. |
boolean |
addGroup(GroupRef ref)
Add one group. |
boolean |
addGroup(GroupRef ref,
Boolean delSame)
Add one group. |
void |
addGroups(GroupRef[] gref)
Add all the groups. |
int |
addr()
Get the address. |
void |
addSecondaryAggregate(AggregateRef ref)
Add one secondary aggregate. |
void |
clear()
Clear the group info. |
void |
clearPercentage()
Clear the percentage option of all aggregates. |
Object |
clone()
Clone the object. |
boolean |
containsAggregate(DataRef ref)
Check if contains the aggregate. |
boolean |
containsAliasAggregate(DataRef ref)
Check if contains the alias aggregate. |
boolean |
containsGroup(DataRef ref)
Check if contains the group. |
boolean |
containsNamedGroup()
Check if contains named group. |
boolean |
containsPercentage()
Check if the aggregate info contains percentage aggregate. |
boolean |
equalsContent(Object obj)
Check if equals another object in content. |
AggregateRef |
getAggregate(DataRef ref)
Get the aggregate. |
AggregateRef |
getAggregate(int index)
Get the aggregate. |
int |
getAggregateCount()
Get the aggregate count. |
AggregateRef[] |
getAggregates()
Get all the aggregates. |
AggregateRef[] |
getAggregates(DataRef ref)
Get the aggregates. |
UserVariable[] |
getAllVariables()
Get all variables in the condition value list. |
void |
getDependeds(Set set)
Get the assemblies depended on. |
GroupRef |
getGroup(DataRef ref)
Get the group. |
GroupRef |
getGroup(int index)
Get the group. |
int |
getGroupCount()
Get the group count. |
GroupRef[] |
getGroups()
Get all the groups. |
int |
getPercentGroupLevel()
Get percent group level. |
AggregateRef[] |
getSecondaryAggregates()
Get all the secondary aggregates. |
int |
hashCode()
Get the hash code value. |
boolean |
isAggregated()
Test if the aggregate info is aggregated. |
boolean |
isCalcMergeable()
Check if the aggregate info contains mergeable aggregate calc field. |
boolean |
isCrosstab()
Check if is a crosstab. |
boolean |
isEmpty()
Check if the group info is empty. |
boolean |
isRealAggregated()
Test if the aggregate info is really aggregated. |
void |
parseXML(Element elem)
Method to parse an xml segment. |
boolean |
printKey(PrintWriter writer)
Print the key to identify this content object. |
boolean |
removeAggregate(DataRef ref)
Remove the aggregate. |
boolean |
removeAggregate(int index)
Remove the aggregate. |
void |
removeAggregates()
Remove all the aggregates. |
boolean |
removeGroup(DataRef ref)
Remove the group. |
boolean |
removeGroup(int index)
Remove the group. |
void |
removeGroups()
Remove all the group. |
void |
removeSecondaryAggregates()
Remove all the secondary aggregates. |
void |
renameDepended(String oname,
String nname)
Rename the assemblies depended on. |
void |
replaceVariables(VariableTable vars)
Replace all embeded user variables. |
void |
setAggregate(int idx,
AggregateRef ref)
Set the aggregate reference at the specified position. |
void |
setAggregates(AggregateRef[] aref)
Set all the aggregates. |
void |
setCrosstab(boolean crosstab)
Set the crosstab option. |
void |
setGroup(int idx,
GroupRef ref)
Set the group reference at the specified position. |
void |
setGroups(GroupRef[] gref)
Set all the groups. |
void |
setPercentGroupLevel(int pglevel)
Set percent group level. |
boolean |
supportsAOA()
Check if the aggregate info supports aggregate on aggregate. |
String |
toString()
Get the string representation. |
boolean |
update(Worksheet ws)
Update the group ref. |
void |
validate(ColumnSelection columns)
Validate the group info. |
void |
writeXML(PrintWriter writer)
Write the xml segment to print writer. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AggregateInfo()
| Method Detail |
|---|
public GroupRef getGroup(DataRef ref)
ref - the specified attribute.
public GroupRef getGroup(int index)
index - the specified index.
public GroupRef[] getGroups()
public void setGroups(GroupRef[] gref)
public void addGroups(GroupRef[] gref)
public int getGroupCount()
public boolean containsGroup(DataRef ref)
ref - the specified attribute.
public boolean addGroup(GroupRef ref)
ref - the specified group.
public boolean addGroup(GroupRef ref,
Boolean delSame)
ref - the specified group.delSame - if remove same column.
public void setGroup(int idx,
GroupRef ref)
public boolean removeGroup(DataRef ref)
ref - the specified group.
public boolean removeGroup(int index)
index - the specified index.
public void removeGroups()
public AggregateRef getAggregate(DataRef ref)
ref - the specified attribute.
public AggregateRef[] getAggregates(DataRef ref)
ref - the specified attribute.
public AggregateRef getAggregate(int index)
index - the specified index.
public AggregateRef[] getAggregates()
public int getAggregateCount()
public boolean isRealAggregated()
public boolean isCalcMergeable()
public boolean isAggregated()
public boolean supportsAOA()
public boolean containsNamedGroup()
public boolean containsPercentage()
public void clearPercentage()
public boolean containsAggregate(DataRef ref)
ref - the specified attribute.
public boolean containsAliasAggregate(DataRef ref)
ref - the specified attribute.
public boolean addAggregate(AggregateRef ref)
ref - the specified aggregate.
public boolean addAggregate(AggregateRef ref,
Boolean delSame)
ref - the specified aggregate.delSame - if remove same column.
public void setAggregate(int idx,
AggregateRef ref)
public void setAggregates(AggregateRef[] aref)
public boolean removeAggregate(DataRef ref)
ref - the specified group.
public boolean removeAggregate(int index)
index - the specified index.
public void removeAggregates()
public void removeSecondaryAggregates()
public boolean isCrosstab()
public void setCrosstab(boolean crosstab)
crosstab - true if a crosstab.public boolean update(Worksheet ws)
ws - the associated worksheet.
public void replaceVariables(VariableTable vars)
vars - the specified variable table.public UserVariable[] getAllVariables()
public void getDependeds(Set set)
public void renameDepended(String oname,
String nname)
oname - the specified old name.nname - the specified new name.public AggregateRef[] getSecondaryAggregates()
public void addSecondaryAggregate(AggregateRef ref)
ref - the specified aggregate.public boolean isEmpty()
public void clear()
public void validate(ColumnSelection columns)
columns - the specified column selection.public void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablewriter - the destination print writer.
public void parseXML(Element elem)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableelem - the specified xml element.
Exceptionpublic Object clone()
clone in interface AssetObjectclone in class Objectpublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic int addr()
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 int getPercentGroupLevel()
public void setPercentGroupLevel(int pglevel)
|
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 | ||||||||