public class ComparisonStatementHelper
extends java.lang.Object
Constructor and Description |
---|
ComparisonStatementHelper(ReconInfo reconInfo,
java.lang.String objectName) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(java.lang.String attribute) |
void |
addAttribute(java.lang.String attribute,
java.lang.String unit) |
void |
addAttributeByObject(java.lang.String objectName,
java.lang.String attributeName) |
void |
changeType(int type) |
java.util.List<java.lang.String> |
getAttributes() |
java.lang.String |
getObjectName() |
int |
getOperationType() |
int |
getRecordCount(java.lang.String qualifiedName)
the qualified name should be in the form of,
ObjectName Or ObjectName?ClassstructureID |
ReconValueSet |
getRecordData() |
java.lang.String |
getSelectClauseForUnits() |
java.util.List<java.lang.String> |
getSpecAttributes() |
int |
getType() |
java.util.Map |
getUnitsMap() |
int[] |
getUnitToAttributeIndex() |
void |
initializeReconValueSet()
Initialize the data structure that holds what's read from the database
|
boolean |
isFilter() |
boolean |
isForDataSet1() |
boolean |
isLoaded() |
void |
prepare() |
void |
reset() |
void |
setLinkValue(java.util.Map linkValue) |
void |
setLoaded(boolean loaded) |
public ComparisonStatementHelper(ReconInfo reconInfo, java.lang.String objectName)
userInfo
- objectName
- public void prepare() throws MXException, java.rmi.RemoteException, java.sql.SQLException
MXException
java.rmi.RemoteException
java.sql.SQLException
public java.lang.String getSelectClauseForUnits()
public void initializeReconValueSet() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void addAttribute(java.lang.String attribute)
public void addAttribute(java.lang.String attribute, java.lang.String unit)
public int getType()
public int getOperationType()
public boolean isFilter()
public boolean isForDataSet1()
public void changeType(int type)
type
- The type to set. Will not overwrite FILTER typespublic java.lang.String getObjectName()
public java.util.List<java.lang.String> getAttributes()
public java.util.List<java.lang.String> getSpecAttributes()
public void reset()
public ReconValueSet getRecordData()
public int getRecordCount(java.lang.String qualifiedName) throws MXException, java.rmi.RemoteException, java.sql.SQLException
MXException
java.rmi.RemoteException
java.sql.SQLException
public void addAttributeByObject(java.lang.String objectName, java.lang.String attributeName)
public java.util.Map getUnitsMap()
public int[] getUnitToAttributeIndex()
public void setLoaded(boolean loaded)
public boolean isLoaded()
public void setLinkValue(java.util.Map linkValue)