public class ViewCriteriaRow extends java.lang.Object implements Row, ViewCriteriaComponent, ExprValueSupplier
 A ViewCriteriaRow is owned by a ViewCriteria.
 For an example of a program that uses ViewCriteriaRow methods, see
 ViewCriteria.
 
 ViewCriteriaRow is built as a Row. The attribute value of a ViewCriteriaRow
 represents a search criterion to be applied for the View Object's attribute.
 You get and set search values for an attribute through the getValue()
 and setValue() methods in ViewCriteriaItemValue.
 A search operator can be specified for an attribute through the
 setOperator() method in ViewCriteriaItem. To set
 the value of a view criteria item to a bind variable, use setIsBindVarValue(true).
 
If multiple attribute criteria are specified in this ViewCriteriaRow, the attribute criteria are AND'ed. For example, the following code snippet
    // Create and populate criteria rows to support query-by-example.
    ViewObject empView = appMod.createViewObject("Emp", "mypackage1.EmpView");
    ViewCriteria vc = empView.createViewCriteria();
    ViewCriteriaRow vcRow = vc.createViewCriteriaRow();
    // ViewCriteriaRow attribute name is case-sensitive.
    // ViewCriteriaRow attribute value requires operator and value.
    ViewCriteriaItem jobItem = vcRow.ensureCriteriaItem("Job");
    jobItem.setOperator("=");
    jobItem.getValues().get(0).setValue("MANAGER");
    ViewCriteriaItem deptnoItem = vcRow.ensureCriteriaItem("Deptno");
    deptnoItem.setOperator(">");
    deptnoItem.setIsBindVarValue(true);
    deptnoItem.getValues().get(0).setValue(":VarDeptno");
    Variable varDeptno = vc.ensureVariableManager().addVariable("VarDeptno");
    vc.getVariableManager().setVariableValue(varDeptno, new Integer(10));
    vc.add(vcRow);
    empView.applyViewCriteria(vc);
    empView.executeQuery();
 
 will result in the following WHERE clause: "( JOB = 'MANAGER' ) AND ( DEPTNO > :VarDeptno )".
 Using setUpperColumns(boolean), you can designate that
 this ViewCriteriaRow should apply UPPER to the database column
 before comparing it to the attribute criterion.  Keep in mind though
 that the use of UPPER can have a performance consequences for a large
 data set, as the database engine may not be able to utilize indices
 for query optimization.
 
 When multiple ViewCriteriaRow's are added to the ViewCriteria, you can
 specify whether the WHERE clause generated by this ViewCriteriaRow
 should AND or OR with the previous WHERE clause.
 You do this through the setConjunction(int) method.
 You use VCROW_CONJ_ constants to specify the desired
 conjunction.  Note that VCROW_CONJ_NOT can be combined
 with other VCROW_CONJ_'s through bit-wise OR operator.
 VCROW_CONJ_NOT negates the entire clause generated
 from this ViewCriteriaRow.  For example,
 
    // Create and populate criteria rows to support query-by-example.
    ViewObject empView = appMod.createViewObject("Emp", "mypackage1.EmpView");
    ViewCriteria vc = empView.createViewCriteria();
    ViewCriteriaRow vcRow1 = vc.createViewCriteriaRow();
    ViewCriteriaItem jobItem = vcRow1.ensureCriteriaItem("Job");
    jobItem.setOperator("LIKE");
    jobItem.getValues().get(0).setValue("MANAGER");
    vc.add(vcRow1);
    ViewCriteriaRow vcRow2 = vc.createViewCriteriaRow();
    ViewCriteriaItem deptnoItem = vcRow2.ensureCriteriaItem("Deptno");
    deptnoItem.setOperator("=");
    deptnoItem.getValues().get(0).setValue(new Integer(10));
    vcRow2.setConjunction(vcRow2.VCROW_CONJ_NOT | vcRow2.VCROW_CONJ_AND);
    vc.add(vcRow2);
    empView.applyViewCriteria(vc);
    empView.executeQuery();
 
 will result in a WHERE clause like the following:
 "( JOB LIKE 'MANAGER' ) AND ( NOT ( DEPTNO = 10 ) )."
 | Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | VC_CONJUNCTION | 
| static java.lang.String | VC_ITEMS | 
| static java.lang.String | VC_NAME | 
| static java.lang.String | VC_NESTEDVC | 
| static java.lang.String | VC_PROPERTIES | 
| static java.lang.String | VC_VOBINDVARS | 
| static int | VCROW_CONJ_ANDDeprecated. 
 use  ViewCriteriaComponent.VC_CONJ_ANDinstead. | 
| static int | VCROW_CONJ_NOTDeprecated. 
 use  ViewCriteriaComponent.VC_CONJ_NOTinstead. | 
| static int | VCROW_CONJ_ORDeprecated. 
 use  ViewCriteriaComponent.VC_CONJ_ORinstead. | 
EFFDT_DELETE_FUTURE_CHANGE_MODE, EFFDT_DELETE_MODE, EFFDT_DELETE_NEXT_CHANGE_MODE, EFFDT_DELETE_THIS_CHANGE_MODE, EFFDT_DELETE_ZAP_MODE, EFFDT_EXPERT_MODE, EFFDT_NONE_MODE, EFFDT_UPDATE_CHANGE_INSERT_MODE, EFFDT_UPDATE_CORRECTION, EFFDT_UPDATE_MODE, EFFDT_UPDATE_NEW_EARLIEST_CHANGE_MODE, EFFDT_UPDATE_OVERRIDE_MODE, REFRESH_CONTAINEES, REFRESH_FORGET_NEW_ROWS, REFRESH_REMOVE_NEW_ROWS, REFRESH_UNDO_CHANGES, REFRESH_WITH_DB_FORGET_CHANGES, REFRESH_WITH_DB_ONLY_IF_UNCHANGED, STATUS_INITIALIZED, STATUS_NEWXML_IGNORE_DEPTH_COUNT, XML_OPT_ALL_ROWS, XML_OPT_ASSOC_CONSISTENT, XML_OPT_CHANGES_ONLY, XML_OPT_LIMIT_RANGE, XML_PASSIVATION_USEVC_CONJ_AND, VC_CONJ_NOT, VC_CONJ_OR, VC_CONJ_UNION, VC_UPPER_COL_DEFAULT, VC_UPPER_COL_FALSE, VC_UPPER_COL_TRUE| Constructor and Description | 
|---|
| ViewCriteriaRow(ViewCriteria viewCriteria)Creates a new view criteria row. | 
| ViewCriteriaRow(ViewCriteria viewCriteria,
               java.lang.Object[] data)Creates a new view criteria row. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addCriteriaItem(java.lang.String attrName,
               ViewCriteriaItem vci)Add the given criteria item to the row, using the given attribute name. | 
| void | copyFrom(ViewCriteriaRow vcr) | 
| protected ViewCriteriaItem | createCriteriaItem(int index,
                  java.lang.String name,
                  int kind) | 
| ViewCriteriaItem | ensureCriteriaItem(int index) | 
| ViewCriteriaItem | ensureCriteriaItem(int index,
                  int kind) | 
| ViewCriteriaItem | ensureCriteriaItem(java.lang.String name) | 
| ViewCriteriaItem | ensureCriteriaItem(java.lang.String name,
                  int kind) | 
| boolean | equals(java.lang.Object other) | 
| protected void | getAllBindVariables(java.util.HashMap<java.lang.String,Variable> map) | 
| java.lang.Object | getAttribute(int index)Gets the criterion for a given attribute. | 
| java.lang.Object | getAttribute(java.lang.String name)Gets the criterion for a given attribute. | 
| static java.lang.String | getAttributeAlias(java.lang.String attrName,
                 int index)Method for encoding an attribute name for use in setting the
 specific element in its list type attribute value. | 
| int | getAttributeCount()Counts the attribute criteria in the row. | 
| AttributeHints | getAttributeHints(int attrIndex)Returns the AttributeHints object for the specified attribute for the row. | 
| AttributeHints | getAttributeHints(java.lang.String attrName)Returns the AttributeHints object for the specified attribute for the row. | 
| int | getAttributeIndexOf(java.lang.String name)Gets the attribute index associated with a given attribute name. | 
| static java.lang.String | getAttributeNameFromAlias(java.lang.String attrName) | 
| java.lang.String[] | getAttributeNames()Returns an array of attribute names in this list. | 
| SecurityHints | getAttributeSecurityHints(int attrIndex)Returns the SecurityHints object for the specified attribute for the row. | 
| SecurityHints | getAttributeSecurityHints(java.lang.String attrName)Returns the SecurityHints object for the specified attribute for the row. | 
| java.lang.Object[] | getAttributeValues()Returns an array of attribute values in this list. | 
| ViewCriteriaItem | getBindVarCriteriaItem(int index) | 
| int | getConjunction() | 
| static java.lang.String | getConjunctionString(int conj) | 
| static int | getConjunctionValue(java.lang.String sconj) | 
| ViewCriteriaItem | getCriteriaItem(int index) | 
| ViewCriteriaItem | getCriteriaItem(java.lang.String name) | 
| ViewCriteriaItem[] | getCriteriaItemArray() | 
| java.util.List | getCriteriaItems()Returns a list of view criteria items that belong to this row. | 
| protected java.util.List<ViewCriteriaItem> | getCriteriaItems(boolean flattenCompoundItems,
                boolean leafOnly)Returns a list of view criteria items that belong to this row. | 
| java.util.List | getCriteriaItemsAndBindVars()Deprecated.   | 
| java.util.List | getCriteriaItemsForSearch()Return a list of view criteria items that belong to this row to be displayed
 in a search form. | 
| int | getEffectiveDateMode()Get the current effective date mode. | 
| java.lang.Object | getExprVarVal(java.lang.String varName) | 
| int | getItemsConjunction()For internal use only. | 
| int | getItemsConjunction(boolean leafOnly) | 
| Key | getKey()Returns the row's key. | 
| protected LocaleContext | getLocale() | 
| java.lang.String | getName() | 
| int | getNestedVCCount() | 
| ViewCriteria | getNestedViewCriteria() | 
| java.lang.String | getOperator(int index) | 
| java.lang.String | getOperator(java.lang.String attr) | 
| java.util.Hashtable | getProperties()Return the properties of the ViewCriteria that owns this VC row. | 
| java.lang.String | getRootCriteriaRelativeName()For internal use only. | 
| SecurityHints | getSecurityHints()Returns the SecurityHints object for the row. | 
| StructureDef | getStructureDef()Returns the structure of the row. | 
| int | getUpperColumnsValue() | 
| ViewCriteria | getViewCriteria() | 
| java.util.List | getViewObjectBindVars()Deprecated.   | 
| boolean | hasAttributeListChanged() | 
| boolean | hasData() | 
| boolean | hasSameConjunction()Method to check whether all items under this row has the
 same conjunction. | 
| LocaleContext | initDefLocaleContextInternal(LocaleContext locale) | 
| void | initUniqueRowName()Assigns a name that is unique in the View Criteria
 that this row belongs. | 
| protected void | internalEnsureItemList(int size) | 
| static boolean | isAttributeSearchable(AttributeDef def,
                     LocaleContext locale) | 
| boolean | isAttributeUpdateable(int index)Tests if an attribute is updateable. | 
| boolean | isDead()An attempt to access a dead view row will lead to a DeadViewRowAccessException. | 
| boolean | isUpperColumns()Returns the upper-columns flag for this  ViewCriteriaRow. | 
| void | lock()Locks the row(s) in the source database table. | 
| void | mergeFrom(ViewCriteriaRow vcr) | 
| protected void | notifyChanged() | 
| void | readXML(Element elem,
       int depthCount) | 
| void | readXML(Element elem,
       int depthCount,
       XSLStylesheet xslt) | 
| void | refresh(int refreshMode)Refreshes the row's attributes with values from database. | 
| void | remove()Removes the row from the source database. | 
| void | removeAndRetain()Removes the row from the collection and then retain it for insertion
 into another location. | 
| void | removeCriteriaItem(java.lang.String attrName,
                  ViewCriteriaItem vci)Remove the given criteria item with the given attribute name from the row. | 
| void | removeFromCollection()Removes the row from the collection. | 
| void | resetAttributeListChanged() | 
| void | resetOperator() | 
| void | setAttribute(int index,
            java.lang.Object value)Sets the criterion for a given attribute. | 
| void | setAttribute(java.lang.String name,
            java.lang.Object value)Sets the criterion for a given attribute. | 
| void | setAttributeValues(java.util.List names,
                  java.util.List values)Set attribute values for the given list of attributes names. | 
| void | setBindVarCriteriaItem(int index,
                      ViewCriteriaItem vci) | 
| void | setConjunction(int conjunction) | 
| void | setConjunctionOnItems(int conjunction)Convenience API for setting the conjunction of all items
 in this row. | 
| void | setCriteriaItem(int index,
               ViewCriteriaItem crit) | 
| void | setCriteriaItem(java.lang.String name,
               ViewCriteriaItem crit) | 
| void | setEffectiveDateMode(int mode)Set the Effective Date mode in which the row updates
 need to be carried out. | 
| void | setExprVarVal(java.lang.String varName,
             java.lang.Object val) | 
| void | setName(java.lang.String name) | 
| void | setNewRowState(byte state)Sets a new unposted row, created in this transaction, to either STATUS_NEW or 
 STATUS_INITIALIZED mode. | 
| void | setOperator(int index,
           java.lang.String oper) | 
| void | setOperator(java.lang.String attr,
           java.lang.String oper) | 
| void | setUpperColumns(boolean b)Sets the upper-columns flag for this  ViewCriteriaRow. | 
| void | setUpperColumnsValue(int val) | 
| java.lang.String | toString() | 
| void | validate()Invokes the validation methods defined for the row's Entity Object. | 
| Node | writeXML(int depthCount,
        long options)Renders data in a canonical XML-format. | 
| Node | writeXML(int depthCount,
        long options,
        XSLStylesheet xslt) | 
| Node | writeXML(long options,
        java.util.HashMap map)Renders data in a canonical XML-format. | 
| Node | writeXML(long options,
        java.util.HashMap map,
        XSLStylesheet xslt) | 
public static int VCROW_CONJ_OR
ViewCriteriaComponent.VC_CONJ_OR instead.VCROW_CONJ_... constants are used to specify
 the conjuction for this ViewCriteriaRow.  See above for
 further explanation.
 
 VCROW_CONJ_OR will add the clause generated
 by this ViewCriterRow with an OR conjunction.
public static int VCROW_CONJ_AND
ViewCriteriaComponent.VC_CONJ_AND instead.VCROW_CONJ_... constants are used to specify
 the conjuction for this ViewCriteriaRow.  See above for
 further explanation.
 
 VCROW_CONJ_AND will add the clause generated
 by this ViewCriterRow with an AND conjunction.
public static int VCROW_CONJ_NOT
ViewCriteriaComponent.VC_CONJ_NOT instead.VCROW_CONJ_... constants are used to specify
 the conjuction for this ViewCriteriaRow.  See above for
 further explanation.
 
 VCROW_CONJ_NOT will negate the clause generated
 by this ViewCriterRow.  VCROW_CONJ_NOT may be
 combined with other VCROW_CONJ_... constants
 through a bit-wise OR operator.
public static final java.lang.String VC_ITEMS
public static final java.lang.String VC_VOBINDVARS
public static final java.lang.String VC_CONJUNCTION
public static final java.lang.String VC_NESTEDVC
public static final java.lang.String VC_PROPERTIES
public static final java.lang.String VC_NAME
public ViewCriteriaRow(ViewCriteria viewCriteria)
viewCriteria - the ViewCriteria that is to contain the
                     ViewCriteriaRow.public ViewCriteriaRow(ViewCriteria viewCriteria, java.lang.Object[] data)
viewCriteria - the ViewCriteria that is to contain the
                     ViewCriteriaRowdata - an array of attribute criteria to be initially assigned
             to this ViewCriteriaRow.protected void notifyChanged()
public int getNestedVCCount()
public ViewCriteria getNestedViewCriteria()
public LocaleContext initDefLocaleContextInternal(LocaleContext locale)
public java.util.Hashtable getProperties()
protected void getAllBindVariables(java.util.HashMap<java.lang.String,Variable> map)
public int getConjunction()
getConjunction in interface ViewCriteriaComponentpublic void setConjunction(int conjunction)
setConjunction in interface ViewCriteriaComponentpublic boolean isUpperColumns()
ViewCriteriaRow.
 If this flag is true, UPPER SQL operator will be applied
 to all CHAR/VARCHAR columns when the SQL WHERE clause is generated.
 
 The default is false.
isUpperColumns in interface ViewCriteriaComponentpublic void setUpperColumns(boolean b)
ViewCriteriaRow.
 If this flag is true, UPPER SQL operator will be applied
 to all CHAR/VARCHAR columns when the SQL WHERE clause is generated.setUpperColumns in interface ViewCriteriaComponentb - a new flag value for upper'ing columns.public int getUpperColumnsValue()
getUpperColumnsValue in interface ViewCriteriaComponentpublic void setUpperColumnsValue(int val)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getOperator(int index)
public java.lang.String getOperator(java.lang.String attr)
public void setOperator(java.lang.String attr,
               java.lang.String oper)
public void setOperator(int index,
               java.lang.String oper)
public ViewCriteria getViewCriteria()
public boolean hasSameConjunction()
public int getItemsConjunction()
public int getItemsConjunction(boolean leafOnly)
public void setConjunctionOnItems(int conjunction)
conjunction - The conjunction that the items should be using.public boolean hasAttributeListChanged()
public void resetAttributeListChanged()
public java.lang.Object getAttribute(int index)
getAttribute in interface AttributeListindex - the attribute's index.public final java.lang.Object getAttribute(java.lang.String name)
getAttribute in interface AttributeListname - the attribute's name.public void setAttributeValues(java.util.List names,
                      java.util.List values)
setAttributeValues in interface Rowpublic void setAttribute(int index,
                java.lang.Object value)
setAttribute in interface AttributeListindex - the attribute's index.value - a new criterion for the attribute.public final void setAttribute(java.lang.String name,
                java.lang.Object value)
setAttribute in interface AttributeListname - the attribute's name.value - a new criterion for the attribute.public int getAttributeCount()
getAttributeCount in interface AttributeListpublic int getAttributeIndexOf(java.lang.String name)
getAttributeIndexOf in interface AttributeListname - the attribute name.public java.lang.String[] getAttributeNames()
AttributeListgetAttributeNames in interface AttributeListpublic java.lang.Object[] getAttributeValues()
AttributeListgetAttributeValues in interface AttributeListpublic AttributeHints getAttributeHints(java.lang.String attrName)
RowgetAttributeHints in interface RowattrName - the name of the attribute.public AttributeHints getAttributeHints(int attrIndex)
RowgetAttributeHints in interface RowattrIndex - the index of the attribute.public Key getKey()
public void validate()
validate in interface RowJboException - a runtime exception,
 if the recipient wishes the property change to be rolled back.EntityImpl.validate(), 
ViewRowImpl.validate()public void lock()
lock in interface RowJboException - a runtime exception,
 if an exception occurs during access.public void remove()
remove in interface RowJboException - a runtime exception,
 if an exception occurs during access.public void removeFromCollection()
Row
 This method differs from Row.remove()Row.removeAndRetain()
removeFromCollection in interface Rowpublic void removeAndRetain()
Row
 This method differs from Row.remove()
 This method also differs from Row.removeFromCollection()
removeAndRetain in interface Rowpublic void refresh(int refreshMode)
RowrefreshMode should be a combination of REFRESH_....
 See REFRESH_... constants for further information.
 public boolean isAttributeUpdateable(int index)
isAttributeUpdateable in interface Rowindex - the index of the attribute.true if the row is marked UPDATEABLE,
 or if the row is marked UPDATEABLE_WHILE_NEW
 and the current row is new.public StructureDef getStructureDef()
RowgetStructureDef in interface Rowpublic Node writeXML(long options, java.util.HashMap map)
XMLInterfaceViewObjectImpl and
 ViewRowImpl implement this method to render
 data in XML.
 Use this method whenever data is required in XML format, either to present a UI (after converting XML data into some HTTP format using a stylesheet) or to pass the data as payload for messages via JMS.
The options parameter represents a set of bit flags that will control the writeXML behavior. The following bit flags have been defined:
EntityImpl. The voAttrMap parameter represents in a hashmap, the mapping between a given ViewObject's definition type and the corresponding Attributes/accessors to render. A null entry in the hashmap means, render all attributes and accessors of that viewobject type.
writeXML in interface XMLInterfaceoptions - a set of bit flags that will control the writeXMLmap - HashMap containing Definition names of ViewObjects and an
 array of AttributeDef to render for a ViewObject of that definition type.public Node writeXML(long options, java.util.HashMap map, XSLStylesheet xslt)
writeXML in interface XMLInterfacepublic Node writeXML(int depthCount, long options)
XMLInterfaceViewObjectImpl and
 ViewRowImpl implement this method to render
 data in XML.
 Use this method whenever data is required in XML format, either to present a UI (after converting XML data into some HTTP format using a stylesheet) or to pass the data as payload for messages via JMS.
The depthcount parameter represents to what level the rendering should recurse. A depthcount of zero (0) means do not traverse any View Links while rendering. One (1) means traverse the View Links on this object but no View Links thereafter, and so on.
The options parameter represents a set of bit flags that will control the writeXML behavior. The following bit flags have been defined:
EntityImpl. writeXML in interface XMLInterfacedepthCount - represents to what level the rendering should recurse.options - a set of bit flags that will control the writeXML
 behavior.public Node writeXML(int depthCount, long options, XSLStylesheet xslt)
writeXML in interface XMLInterfacepublic void readXML(Element elem, int depthCount)
readXML in interface XMLInterfacepublic void readXML(Element elem, int depthCount, XSLStylesheet xslt)
readXML in interface XMLInterfacepublic void setEffectiveDateMode(int mode)
RowsetEffectiveDateMode in interface Rowmode - One of the effective date mode constants.Row.EFFDT_NONE_MODE, 
Row.EFFDT_UPDATE_CORRECTION, 
Row.EFFDT_UPDATE_MODE, 
Row.EFFDT_UPDATE_OVERRIDE_MODE, 
Row.EFFDT_UPDATE_CHANGE_INSERT_MODE, 
Row.EFFDT_UPDATE_NEW_EARLIEST_CHANGE_MODE, 
Row.EFFDT_DELETE_MODE, 
Row.EFFDT_DELETE_THIS_CHANGE_MODE, 
Row.EFFDT_DELETE_NEXT_CHANGE_MODE, 
Row.EFFDT_DELETE_FUTURE_CHANGE_MODE, 
Row.EFFDT_DELETE_ZAP_MODEpublic int getEffectiveDateMode()
RowgetEffectiveDateMode in interface RowRow.setEffectiveDateMode(int)public final boolean hasData()
public void setNewRowState(byte state)
RowThis method should be used to create a row and then to mark it temporary (STATUS_INITIALIZED) so that an app can use the created Row to fill UIs like Table UIs with valid default values for rows. Then when the Row values are updated, UIs should once again call this method to turn the Row into new (STATUS_NEW) state before any setAttribute calls on the Row, so that the changes are validated and posted.
When a created row is in STATUS_NEW (by default) state and this method is called to turn the row in to STATUS_INITIALIZED, all updateable entities that this row comprises of, de=registers themselves from their respective transaction and validation managers. Assocation and ViewLink finders will not find/include these rows. Only the collection into which this row was inserted into will contain a reference to this row and when that collection is re-executed this row cannot be reached via the framework. To include this row again an app should call this method again with STATUS_NEW as the method-argument
When this row is in STATUS_INITIALIZED state and this method is called with STATUS_NEW state then, this new row is added back into it's relevant transaction and validation manager and will then participate in validation, transaction cycles.
Note that incase of composition if a master/detail hierarchy is being created with the intention of making them temporary (STATUS_INITIALIZED) then the logic should be: Create Master row, insert Master row into a collection, create Detail row insert detail row into a relevant collection, make detail row initialized, create/insert/change-to-initialized more detail rows and at the end set the master row as initialized.
setNewRowState in interface Rowstate - This could be STATUS_NEW or STATUS_INITIALIZED.public boolean isDead()
Rowpublic void copyFrom(ViewCriteriaRow vcr)
public void mergeFrom(ViewCriteriaRow vcr)
protected ViewCriteriaItem createCriteriaItem(int index, java.lang.String name, int kind)
public ViewCriteriaItem ensureCriteriaItem(int index, int kind)
public ViewCriteriaItem ensureCriteriaItem(java.lang.String name, int kind)
public ViewCriteriaItem ensureCriteriaItem(int index)
public ViewCriteriaItem ensureCriteriaItem(java.lang.String name)
public ViewCriteriaItem getCriteriaItem(int index)
public ViewCriteriaItem getCriteriaItem(java.lang.String name)
public ViewCriteriaItem[] getCriteriaItemArray()
public void setCriteriaItem(int index,
                   ViewCriteriaItem crit)
protected void internalEnsureItemList(int size)
public void setCriteriaItem(java.lang.String name,
                   ViewCriteriaItem crit)
public ViewCriteriaItem getBindVarCriteriaItem(int index)
public void setBindVarCriteriaItem(int index,
                          ViewCriteriaItem vci)
public void addCriteriaItem(java.lang.String attrName,
                   ViewCriteriaItem vci)
attrName - vci - public void removeCriteriaItem(java.lang.String attrName,
                      ViewCriteriaItem vci)
attrName - vci - public java.lang.String toString()
toString in class java.lang.Objectpublic static int getConjunctionValue(java.lang.String sconj)
public static java.lang.String getConjunctionString(int conj)
public java.lang.Object getExprVarVal(java.lang.String varName)
getExprVarVal in interface ExprValueSupplierpublic void setExprVarVal(java.lang.String varName,
                 java.lang.Object val)
setExprVarVal in interface ExprValueSupplierpublic static java.lang.String getAttributeAlias(java.lang.String attrName,
                                 int index)
attrName - the name of the attribute with list type valueindex - the element in the value list whose value is to be set
              when the encoded attribute name is passed to setAttributepublic static java.lang.String getAttributeNameFromAlias(java.lang.String attrName)
public static boolean isAttributeSearchable(AttributeDef def, LocaleContext locale)
public void resetOperator()
public java.util.List getCriteriaItemsAndBindVars()
public java.util.List getCriteriaItemsForSearch()
public java.util.List getViewObjectBindVars()
protected LocaleContext getLocale()
public void initUniqueRowName()
public java.util.List getCriteriaItems()
protected java.util.List<ViewCriteriaItem> getCriteriaItems(boolean flattenCompoundItems, boolean leafOnly)
flattenCompoundItems - whether compound vc items should be included
        in the return list as is, or if the vc items that are found inside
        a compound vc item should be included in the return list.
        If this flag is true, the method would extract the vc items from
        any compound vc item, so the return list may include more than
        one vc item for the same attribute. 
        If this flag is false, the method would return the compound vc item
        and the return list would only include at most one vc item, which
        may be a compound item, for the same attribute.leafOnly - true if the result should only include leaf vc items,
        ie, items that does not contain nested viewcriteria as values. For 
        items that contains nested vc values, the method would include
        in the result the leaf vc items of the nested vc.
        false if vc items containing nested vc value should be included
        in the result.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic SecurityHints getAttributeSecurityHints(java.lang.String attrName)
RowgetAttributeSecurityHints in interface RowattrName - the name of the attribute.public SecurityHints getAttributeSecurityHints(int attrIndex)
RowgetAttributeSecurityHints in interface RowattrIndex - the index of the attribute.public SecurityHints getSecurityHints()
RowgetSecurityHints in interface Rowpublic java.lang.String getRootCriteriaRelativeName()