|
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.AbstractAssembly
inetsoft.uql.asset.AbstractWSAssembly
inetsoft.uql.asset.MirrorDateRangeAssembly
public class MirrorDateRangeAssembly
MirrorDateRangeAssembly, the mirror of a date range assembly.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.asset.AbstractWSAssembly |
|---|
info, ws |
| Fields inherited from interface inetsoft.uql.asset.Assembly |
|---|
CUBE_VS, DETAIL, EMBEDDED, FIELD, SELECTION, TABLE_VS |
| Fields inherited from interface inetsoft.uql.XCondition |
|---|
BETWEEN, BOTTOM_N, CONTAINS, CORRELATED, DATE_IN, EQUAL_TO, GREATER_THAN, LESS_THAN, LIKE, NONE, NULL, ONE_OF, PSEUDO, STARTING_WITH, TOP_N |
| Constructor Summary | |
|---|---|
MirrorDateRangeAssembly()
Constructor. |
|
MirrorDateRangeAssembly(Worksheet ws,
String name,
AssetEntry entry,
boolean outer,
WSAssembly assembly)
Constructor. |
|
| Method Summary | |
|---|---|
void |
checkValidity()
Check if the mirror assembly is valid. |
Object |
clone()
Clone the object. |
protected inetsoft.uql.asset.internal.WSAssemblyInfo |
createInfo()
Create assembly info. |
boolean |
equals(Object obj)
Check if equals another object. |
boolean |
equalsContent(Object obj)
Check if equals another object in content. |
boolean |
evaluate(Object value)
Evaluate this range against the specified value object. |
UserVariable[] |
getAllVariables()
Get all variables in the range value list. |
Assembly |
getAssembly()
Get the assembly. |
String |
getAssemblyName()
Get the assembly name. |
int |
getAssemblyType()
Get the type. |
DateCondition |
getDateRange()
Get the date range. |
void |
getDependeds(Set set)
Get the assemblies depended on. |
AssetEntry |
getEntry()
Get the worksheet entry. |
long |
getLastModified()
Get the last modified time. |
Dimension |
getMinimumSize()
Get the minimum size. |
int |
getOperation()
Get the comparison operation of this range. |
String |
getType()
Get the condition value data type. |
boolean |
isAutoUpdate()
Check if is auto update. |
boolean |
isEqual()
Determine whether equivalence will be tested in addition to the defined comparison operation. |
boolean |
isEqualChangeable()
Check if equal is changeable. |
boolean |
isNegated()
Set whether this range result should be negated. |
boolean |
isNegatedChangeable()
Check if negated is changeable. |
boolean |
isOperationChangeable()
Check if operation is changeable. |
boolean |
isOuterMirror()
Check if is outer mirror. |
boolean |
isTypeChangeable()
Check if type is changeable. |
boolean |
isValid()
Check if the condition is a valid condition. |
void |
parseAttributes(Element elem)
Parse contents. |
void |
parseContents(Element elem)
Parse contents. |
boolean |
printKey(PrintWriter writer)
Print the key to identify this content object. |
void |
renameDepended(String oname,
String nname)
Rename the assemblies depended on. |
void |
replaceVariable(VariableTable vars)
Replace all embeded user variables. |
void |
replaceVariables(VariableTable vars)
Replace all embeded user variables. |
void |
setAutoUpdate(boolean auto)
Set auto update. |
void |
setDateRange(DateCondition range)
Set the date range. |
void |
setEntry(AssetEntry entry)
Set the worksheet entry. |
void |
setEqual(boolean equal)
Set the equal to option when the comparison operation is LESS_THAN or GREATER_THAN, i.e. |
void |
setLastModified(long modified)
Set last modified time. |
void |
setNegated(boolean negated)
Determine whether this range result should be negated. |
void |
setOperation(int op)
Set the comparison operation of this range. |
void |
setType(String type)
Set the range value data type. |
void |
setWorksheet(Worksheet ws)
Set the worksheet. |
String |
toString()
Get the string representation. |
boolean |
update()
Update the inner mirror assembly. |
void |
updateMirror(AssetRepository engine,
Principal user)
Update the outer mirror assembly. |
void |
writeAttributes(PrintWriter writer)
Write attributes. |
void |
writeContents(PrintWriter writer)
Write contents. |
| Methods inherited from class inetsoft.uql.asset.AbstractWSAssembly |
|---|
checkDependency, copyAssembly, createWSAssembly, getClassName, getDescription, getInfo, getName, getPosition, getSheet, getSize, getWorksheet, getWSAssemblyInfo, isComposed, isCondition, isDateCondition, isIconized, isNamedGroup, isOuter, isTable, isVariable, reset, setDescription, setIconized, setName, setOuter, setPosition, setSize, setVisible |
| Methods inherited from class inetsoft.uql.asset.AbstractAssembly |
|---|
addr, getAbsoluteName, getAssemblyEntry, getBounds, hashCode, isEditable, isVisible, parseXML, setBounds, writeXML |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface inetsoft.uql.asset.WSAssembly |
|---|
copyAssembly, getDescription, getWorksheet, getWSAssemblyInfo, isComposed, isCondition, isDateCondition, isIconized, isNamedGroup, isOuter, isTable, isVariable, reset, setDescription, setIconized, setOuter, setVisible |
| Methods inherited from interface inetsoft.uql.asset.Assembly |
|---|
addr, checkDependency, getAbsoluteName, getAssemblyEntry, getBounds, getInfo, getName, getPosition, getSheet, getSize, isEditable, isVisible, setBounds, setPosition, setSize |
| Methods inherited from interface inetsoft.util.XMLSerializable |
|---|
parseXML, writeXML |
| Constructor Detail |
|---|
public MirrorDateRangeAssembly()
public MirrorDateRangeAssembly(Worksheet ws,
String name,
AssetEntry entry,
boolean outer,
WSAssembly assembly)
| Method Detail |
|---|
protected inetsoft.uql.asset.internal.WSAssemblyInfo createInfo()
createInfo in class AbstractWSAssemblypublic int getAssemblyType()
getAssemblyType in interface Assemblypublic void setWorksheet(Worksheet ws)
setWorksheet in interface WSAssemblysetWorksheet in class AbstractWSAssemblyws - the specified worksheet.public Dimension getMinimumSize()
getMinimumSize in interface Assemblypublic AssetEntry getEntry()
getEntry in interface MirrorAssemblypublic void setEntry(AssetEntry entry)
setEntry in interface MirrorAssemblyentry - the specified worksheet entry.public String getAssemblyName()
getAssemblyName in interface MirrorAssemblypublic boolean isOuterMirror()
isOuterMirror in interface MirrorAssemblypublic long getLastModified()
getLastModified in interface MirrorAssemblypublic void setLastModified(long modified)
setLastModified in interface MirrorAssemblymodified - the specified last modified time.public boolean isAutoUpdate()
isAutoUpdate in interface MirrorAssemblypublic void setAutoUpdate(boolean auto)
setAutoUpdate in interface MirrorAssemblyauto - true to open auto update.public boolean update()
update in interface MirrorAssemblyupdate in interface WSAssemblyupdate in class AbstractWSAssembly
public void updateMirror(AssetRepository engine,
Principal user)
throws Exception
updateMirror in interface MirrorAssemblyengine - the specified asset repository.user - the specified user.
Exceptionpublic Assembly getAssembly()
getAssembly in interface MirrorAssembly
public void checkValidity()
throws Exception
checkValidity in interface MirrorAssemblycheckValidity in interface WSAssemblycheckValidity in class AbstractWSAssemblyExceptionpublic boolean isValid()
isValid in interface XConditionpublic DateCondition getDateRange()
getDateRange in interface DateRangeAssemblypublic void setDateRange(DateCondition range)
setDateRange in interface DateRangeAssemblyrange - the specified date range.public boolean isTypeChangeable()
isTypeChangeable in interface XConditionpublic String getType()
XCondition
getType in interface XConditionXSchema.public void setType(String type)
setType in interface XConditiontype - the data type of the range. Must be one of the data type
constants defined in XSchema.public boolean isOperationChangeable()
isOperationChangeable in interface XConditionpublic int getOperation()
getOperation in interface XConditionXCondition.EQUAL_TO,
XCondition.ONE_OF,
XCondition.LESS_THAN,
XCondition.GREATER_THAN,
XCondition.BETWEEN,
XCondition.STARTING_WITH,
XCondition.CONTAINS,
XCondition.LIKE,
XCondition.NULL,
XCondition.TOP_N,
XCondition.DATE_INpublic void setOperation(int op)
setOperation in interface XConditionop - one of the operation constants defined in this class.public boolean isEqualChangeable()
isEqualChangeable in interface XConditionpublic boolean isEqual()
isEqual in interface XConditiontrue if equivalence will be testedpublic void setEqual(boolean equal)
LESS_THAN or GREATER_THAN, i.e.
a >= b.
setEqual in interface XConditionequal - true if equivalence should be testedpublic boolean isNegatedChangeable()
isNegatedChangeable in interface XConditionpublic boolean isNegated()
true if the if its range definition(s)
are not met.
isNegated in interface XConditiontrue if this range is negated.public void setNegated(boolean negated)
true if the if its range
definition(s) are not met.
setNegated in interface XConditionnegated - true if this range is negated.public void replaceVariables(VariableTable vars)
replaceVariables in interface WSAssemblyvars - the specified variable table.public void replaceVariable(VariableTable vars)
replaceVariable in interface XConditionvars - the specified variable table.public UserVariable[] getAllVariables()
getAllVariables in interface inetsoft.uql.asset.internal.VariableProvidergetAllVariables in interface XConditionpublic boolean evaluate(Object value)
evaluate in interface XConditionvalue - the value object this range should be compared with.
true if the value object meets this range.public void getDependeds(Set set)
getDependeds in interface Assemblyset - the set stores the assemblies depended on.
public void renameDepended(String oname,
String nname)
renameDepended in interface AssemblyrenameDepended in interface MirrorAssemblyoname - the specified old name.nname - the specified new name.public String toString()
toString in class AbstractAssemblypublic void writeAttributes(PrintWriter writer)
writeAttributes in interface XConditionwriteAttributes in class AbstractAssemblywriter - the specified writer.public void parseAttributes(Element elem)
parseAttributes in interface XConditionparseAttributes in class AbstractAssemblyelem - the specified xml element.public void writeContents(PrintWriter writer)
writeContents in interface XConditionwriteContents in class AbstractAssemblywriter - the specified writer.
public void parseContents(Element elem)
throws Exception
parseContents in interface XConditionparseContents in class AbstractAssemblyelem - the specified xml element.
Exceptionpublic Object clone()
clone in interface Assemblyclone in interface AssetObjectclone in interface MirrorAssemblyclone in interface XConditionclone in class AbstractWSAssemblypublic boolean equalsContent(Object obj)
equalsContent in interface inetsoft.util.ContentObject
public boolean printKey(PrintWriter writer)
throws Exception
printKey in interface inetsoft.util.ContentObjectExceptionpublic boolean equals(Object obj)
equals in class AbstractAssemblyobj - the specified 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 | ||||||||