|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jbo.ViewCriteriaRow
An array containing criteria for the individual attributes of a View Object's WHERE clause.
For an example of a program that uses ViewCriteriaRow methods, see
ViewCriteria
.
Constructor Summary | |
ViewCriteriaRow(ViewCriteria viewCriteria,
java.lang.Object[] data)
Creates a new view criteria row. |
Method Summary | |
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. |
int |
getAttributeCount()
Counts the attribute criteria in the row. |
int |
getAttributeIndexOf(java.lang.String name)
Gets the attribute index associated with a given attribute name. |
boolean |
isUpperColumns()
Returns the upper-columns flag for this ViewCriteriaRow . |
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 |
setUpperColumns(boolean isUpper)
Sets the upper-columns flag for this ViewCriteriaRow . |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ViewCriteriaRow(ViewCriteria viewCriteria, java.lang.Object[] data)
viewCriteria
- the ViewCriteria
that is to contain the
ViewCriteriaRow
data
- an array of attribute criteria to be initially assigned
to this ViewCriteriaRow
.Method Detail |
public 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
.
isSensitive
- flag indicating whether to apply UPPER to columnspublic void setUpperColumns(boolean isUpper)
ViewCriteriaRow
.
If this flag is true
, UPPER SQL operator will be applied
to all CHAR/VARCHAR columns when the SQL WHERE clause is generated.isUpper
- a new flag value for upper'ing columns.public java.lang.Object getAttribute(int index)
index
- the attribute's index.public final java.lang.Object getAttribute(java.lang.String name)
name
- the attribute's name.public void setAttribute(int index, java.lang.Object value)
name
- the attribute's index.value
- a new criterion for the attribute.public final void setAttribute(java.lang.String name, java.lang.Object value)
name
- the attribute's name.value
- a new criterion for the attribute.public int getAttributeCount()
public int getAttributeIndexOf(java.lang.String name)
name
- the attribute name.
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |