|
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.NamedGroupInfo
public class NamedGroupInfo
NamedGroupInfo stores named group information.
| Field Summary |
|---|
| Fields inherited from interface inetsoft.uql.util.XNamedGroupInfo |
|---|
ASSET_NAMEDGROUP_INFO, ASSET_NAMEDGROUP_INFO_REF, EXPERT_NAMEDGROUP_INFO, SIMPLE_NAMEDGROUP_INFO |
| Constructor Summary | |
|---|---|
NamedGroupInfo()
Constructor. |
|
| Method Summary | |
|---|---|
void |
clear()
Reset the named group info. |
Object |
clone()
Clone the object. |
boolean |
equals(Object obj)
Check if equals another object. |
void |
exchange(int idx1,
int idx2)
Exchange the positions of two specified condition lists. |
UserVariable[] |
getAllVariables()
Get all variables in the condition value list. |
void |
getDependeds(Worksheet ws,
Set set)
Get the assemblies depended on. |
ConditionList |
getGroupCondition(String group)
Get the condition list. |
String[] |
getGroups()
Get all the group names. |
int |
getOthers()
Get other groups option. |
int |
getType()
Get type of the named group info. |
boolean |
isEmpty()
Check if the named group info is empty. |
protected void |
parseContents(Element elem)
Method to parse an xml segment. |
void |
parseXML(Element elem)
Method to parse an xml segment. |
boolean |
printKey(PrintWriter writer)
Print the key to identify this content object. |
void |
removeGroup(String group)
Remove the condition list. |
void |
renameDepended(String oname,
String nname,
Worksheet ws)
Rename the assemblies depended on. |
void |
replaceVariables(VariableTable vars)
Replace all embeded user variables. |
void |
setGroupCondition(int idx,
String group,
ConditionList conditions)
Set the condition list. |
void |
setGroupCondition(String group,
ConditionList conditions)
Set the condition list. |
void |
setOthers(int others)
Set other groups option. |
String |
toString()
Get the string representation. |
boolean |
update(Worksheet ws)
Update the assembly. |
protected void |
writeContents(PrintWriter writer)
Write the xml segment to print writer. |
void |
writeXML(PrintWriter writer)
Write the xml segment to print writer. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NamedGroupInfo()
| Method Detail |
|---|
public int getType()
getType in interface inetsoft.uql.util.XNamedGroupInfopublic String[] getGroups()
getGroups in interface inetsoft.uql.util.XNamedGroupInfopublic ConditionList getGroupCondition(String group)
getGroupCondition in interface inetsoft.uql.util.XNamedGroupInfogroup - the specified group name.
public void setGroupCondition(String group,
ConditionList conditions)
group - the specified group name.conditions - the secified condition list.
public void setGroupCondition(int idx,
String group,
ConditionList conditions)
idx - the index of the key.group - the specified group name.conditions - the secified condition list.public void setOthers(int others)
others - other group option.public int getOthers()
public void exchange(int idx1,
int idx2)
idx1 - the first index.idx2 - the second index.public void removeGroup(String group)
removeGroup in interface inetsoft.uql.util.XNamedGroupInfogroup - the specified group name.public void clear()
clear in interface inetsoft.uql.util.XNamedGroupInfopublic void replaceVariables(VariableTable vars)
replaceVariables in interface inetsoft.uql.util.XNamedGroupInfovars - the specified variable table.public UserVariable[] getAllVariables()
getAllVariables in interface inetsoft.uql.util.XNamedGroupInfo
public void getDependeds(Worksheet ws,
Set set)
ws - the specified worksheet.set - the set stores the assemblies depended on.
public void renameDepended(String oname,
String nname,
Worksheet ws)
oname - the specified old name.nname - the specified new name.public boolean isEmpty()
isEmpty in interface inetsoft.uql.util.XNamedGroupInfopublic boolean update(Worksheet ws)
public void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablewriter - the destination print writer.protected void writeContents(PrintWriter writer)
writer - the destination print writer.
public void parseXML(Element elem)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableelem - the specified xml element.
Exception
protected void parseContents(Element elem)
throws Exception
elem - the specified xml element.
Exceptionpublic Object clone()
clone in interface AssetObjectclone in interface inetsoft.uql.util.XNamedGroupInfoclone in class Object
public boolean printKey(PrintWriter writer)
throws Exception
printKey in interface inetsoft.uql.util.XNamedGroupInfoExceptionpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
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 | ||||||||