|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap oracle.jbo.common.JboAbstractMap oracle.jbo.ViewCriteriaItem
public class ViewCriteriaItem
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface oracle.jbo.AttributeHints |
---|
AttributeHints.ControlType |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary | |
---|---|
static java.lang.String |
CARDINALITY
|
static java.lang.String |
CONJUNCTIONSTR
|
static java.lang.String |
CONTROL_TYPE
|
static java.lang.String |
CRITERIA_ITEM
|
static java.lang.String |
DATATYPE
|
protected static int |
DEFAULT_CONJ
|
static java.lang.String |
ESCAPE_WILD_CARD_CHARS
|
static java.lang.String |
GENERATE_ISNULL_CLAUSE_FOR_BINDVARS
|
static java.lang.String |
ITEM_NUM
|
static java.lang.String |
ITEMHOLDER
|
static java.lang.String |
LABEL
|
static java.lang.String |
LOV_NAME
|
protected java.util.ArrayList |
mAllCompOpers
|
protected JboCompOper |
mCompOper
|
protected java.util.ArrayList |
mCompOpers
|
protected java.util.Map |
mOperatorsAsMap
|
protected java.util.Hashtable |
mProperties
|
protected ViewCriteriaRow |
mRow
|
protected java.util.ArrayList<ViewCriteriaItemValue> |
mValues
|
static java.lang.String |
NAME
|
static java.lang.String |
NESTEDVC
|
static java.lang.String |
OPERATOR
|
static java.lang.String |
OPERATOR_DESCRIPTION
|
static java.lang.String[] |
OPERATOR_LIST_ATTR_NAMES
|
static java.lang.String |
OPERATORS
|
static java.lang.String |
OPERATORS_MAP
|
static java.lang.String |
QUOT
|
static java.lang.String |
REMOVABLE
|
static java.lang.String |
RENDERED_MODE
|
static java.lang.String |
REQUIRED
|
static java.lang.String |
UPPER_COLUMNS_VALUE
|
static java.lang.String |
VALIDATE_BINDVARS
|
static java.lang.String |
VALUE
|
static java.lang.String |
VALUES
|
static java.lang.String |
VARIABLE
|
static int |
VCITEM_COMPOUND
|
static java.lang.String |
VCITEM_DATATYPE_DATE
|
static java.lang.String |
VCITEM_DATATYPE_NUMBER
|
static java.lang.String |
VCITEM_DATATYPE_STRING
|
static int |
VCITEM_OPTIONAL
|
static java.lang.String |
VCITEM_OPTIONAL_STR
|
static int |
VCITEM_REQUIRED
|
static java.lang.String |
VCITEM_REQUIRED_STR
|
static int |
VCITEM_SELECTIVELY_REQUIRED
|
static java.lang.String |
VCITEM_SELECTIVELY_REQUIRED_STR
|
static int |
VCITEM_SIMPLE
|
static java.lang.String |
XML_PLURAL_VALUES
|
Fields inherited from class oracle.jbo.common.JboAbstractMap |
---|
MAP_NULL_VALUE |
Fields inherited from interface oracle.jbo.AttributeDef |
---|
ATTR_ASSOCIATED_ROW, ATTR_ASSOCIATED_ROWITERATOR, ATTR_DYNAMIC, ATTR_ENTITY_DERIVED, ATTR_HIDDEN, ATTR_PERSISTENT, ATTR_ROWSET, ATTR_SQL_DERIVED, ATTR_TRANSIENT, ATTR_VARIABLE, READONLY, UPDATEABLE, UPDATEABLE_WHILE_NEW |
Fields inherited from interface oracle.jbo.ViewCriteriaComponent |
---|
VC_CONJ_AND, VC_CONJ_NOT, VC_CONJ_OR, VC_CONJ_UNION, VC_UPPER_COL_DEFAULT, VC_UPPER_COL_FALSE, VC_UPPER_COL_TRUE |
Fields inherited from interface oracle.jbo.GenericHints |
---|
PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIP |
Constructor Summary | |
---|---|
ViewCriteriaItem()
|
|
ViewCriteriaItem(AttributeDef def,
ViewCriteriaRow row)
|
|
ViewCriteriaItem(java.lang.String attrName,
ViewCriteriaRow row)
|
Method Summary | |
---|---|
void |
addCompOper(JboCompOper compOper)
|
void |
addItemValue(ViewCriteriaItemValue valueHolder)
|
static boolean |
areDifferent(java.lang.Object val1,
java.lang.Object val2)
|
static java.lang.String |
convertRequiredFlagToString(int flag)
|
static int |
convertRequiredStringToFlag(java.lang.String strVal)
Method to convert the given String to the corresponding value for use in the required flag. |
void |
copyFrom(ViewCriteriaItem vci)
|
ViewCriteriaItem |
createCarrier()
|
protected ViewCriteriaItemValue |
createCriteriaItemValue(int index)
|
protected ViewCriteriaItemValue |
createCriteriaItemValue(java.lang.Object value,
boolean isBindVar,
boolean isSqlFragment,
int index)
|
ViewCriteria |
createViewCriteriaForAccessor()
|
boolean |
displayInShortForm(LocaleContext locale)
Returns true if the attribute is to displayed in the short(summary) form. |
java.lang.Object |
get(java.lang.Object key)
|
ViewObject |
getAccessorVO(ViewObject originVO)
For an accessor attribute, this method creates a View Object that works for the View Link definition. |
protected void |
getAllBindVariables(java.util.HashMap<java.lang.String,Variable> map)
|
AttributeDef |
getAttributeDef()
|
byte |
getAttributeKind()
Gets the attribute value. |
java.lang.String |
getColumnName()
Gets the name of the database column the attribute represents. |
java.lang.String |
getColumnNameForQuery()
Gets the column name to be used in query statement. |
JboCompOper |
getCompOper()
Finds the JboCompOper object for the operator set for this VC item. |
JboCompOper |
getCompOper(java.lang.String operator)
Finds the JboCompOper object for the given operator. |
java.lang.String[][] |
getCompOpers()
|
java.lang.String[][] |
getCompOpers(int cardinality)
|
java.lang.String[][] |
getCompOpers(LocaleContext locale)
Returns a Map of operators for this attribute. |
int |
getConjunction()
|
java.lang.String |
getConjunctionString()
|
int |
getControlType(LocaleContext locale)
Returns the preferred control type for this attribute |
protected static java.lang.String |
getDataType(int sqlType)
For supporting the DATATYPE property that returns one of String | Date | Number based on the SQL type of the attribute. |
int |
getDisplayHeight(LocaleContext locale)
Returns the display width for this attribute |
java.lang.String |
getDisplayHint(LocaleContext locale)
Retrieves the display hint that dictates whether this attribute should be visible or not. |
int |
getDisplayWidth(LocaleContext locale)
Returns the display width for this attribute |
int |
getElemSQLType()
Returns the jdbc type of the elements of this attribute. |
java.lang.Class |
getElemType()
Returns the element type of the attribute. |
java.lang.Object |
getExprVarVal(java.lang.String varName)
|
java.lang.String |
getFormat(LocaleContext locale)
returns the format string stored in the ui hints |
java.lang.String |
getFormattedAttribute(AttributeList attrList,
LocaleContext locale)
Returns a formatted value for this view criteria item when a view criteria row is passed in. |
Formatter |
getFormatter(LocaleContext locale)
returns the formatter object stored in the ui hints |
java.lang.String |
getFormatterClassName(LocaleContext locale)
Returns the formatter object stored in the ui hints |
java.lang.String |
getHint(LocaleContext locale,
java.lang.String sHintName)
Return defaulted hint value |
java.lang.String |
getHintValue(LocaleContext locale,
java.lang.String sHintName)
Return non-defaulted hint value |
int |
getIndex()
Gets the index of the attribute in the context of a StoreInfo
instance. |
ViewCriteria |
getItemHolder()
|
java.lang.Class |
getJavaType()
Gets the Java class of the object stored for this attribute definition. |
java.lang.String |
getLabel(LocaleContext locale)
Retrieves the label to be used in any attribute prompts |
java.lang.String |
getLabelPlural(LocaleContext locale)
Retrives the label_plural text to be used for this attribute |
ListBindingDef |
getListBindingDef()
|
java.util.Hashtable |
getLocalAndResourceProperties()
Used by the marshaller to get all the properties and resources (on the server side only) that are defined in this view criteria item. |
java.util.ArrayList |
getLocalCompOpers()
|
protected LocaleContext |
getLocale()
|
java.lang.String |
getLocaleName(LocaleContext locale,
java.lang.String sName)
function for retrieving the locale name of a hint |
java.util.Hashtable |
getLocalProperties()
Return only the properties that have been declared or overriden in the ViewCriteriaItem level. |
java.lang.String |
getLOVName()
Gets the name of the LOV (list of values) associated with this attribute definition. |
java.lang.String |
getName()
Gets the name of the attribute. |
ViewCriteria |
getNestedViewCriteria()
Method for use by the bean datacontrol to retrieve the nested view criteria via the accessor "nestedViewCriteria" |
java.lang.String |
getOperator()
|
java.util.Map |
getOperatorsAsMap()
|
java.lang.String |
getOrigOp()
|
int |
getPrecision()
Gets the precision of a numeric or string attribute. |
java.util.Hashtable |
getProperties()
Gets the table of properties. |
java.lang.Object |
getProperty(java.lang.String hintName)
Retrieves the specified property, if it exists. |
java.lang.Object |
getProperty(java.lang.String hintName,
LocaleContext locale)
|
java.lang.String |
getRemovable(LocaleContext locale)
Retrives the mode hint to be used for this attribute |
java.lang.String |
getRenderedMode(LocaleContext locale)
Retrives the mode hint to be used for this attribute |
int |
getRequired()
|
java.lang.String |
getRequiredString()
|
protected void |
getResourcesFromBundle(LocaleContext locale,
java.util.HashMap map)
Get all resources from the resource bundle. |
java.lang.String |
getRootCriteriaRelativeName()
|
int |
getScale()
Get the scale value of a numeric attribute. |
int |
getSQLType()
Gets the JDBC type of the attribute. |
StructureDef |
getStructureDef()
|
java.lang.String |
getTooltip(LocaleContext locale)
Retrives the tooltip text to be used for this attribute |
AttributeHints |
getUIHelper()
Returns the user interface hints interface for retrieving hint information such as labels, prompts,... |
byte |
getUpdateableFlag()
Tests if an attribute can be modified. |
int |
getUpperColumnsValue()
|
java.lang.Object |
getValue()
Return the value of this VC item. |
java.lang.Object |
getValue(int index)
Return the value at the given index. |
int |
getValueCardinality()
|
int |
getValueCount()
|
java.lang.Object |
getValueFromWhereParams(java.util.HashMap whereParams)
|
int |
getValueMaxCardinality()
|
int |
getValueMinCardinality()
|
java.util.ArrayList<ViewCriteriaItemValue> |
getValues()
Return all the values set in this VC item. |
protected java.util.ArrayList<ViewCriteriaItemValue> |
getValuesInternal()
|
ViewCriteria |
getViewCriteria()
|
ViewCriteriaRow |
getViewCriteriaRow()
|
protected boolean |
hasBindVarValue()
|
boolean |
hasData()
|
boolean |
hasData(java.util.HashMap whereParams)
|
boolean |
hasFormatInformation(LocaleContext locale)
Return true if any format hints have been defined for this attribute. |
boolean |
hasSameConjunction()
Checks whether all items under this item has the same conjunction. |
boolean |
hasWhereClause(boolean checkValue)
|
protected void |
initForInOperator(java.lang.Object pluralVals)
|
boolean |
isAutoSubmit(LocaleContext locale)
Returns the autoSubmit value for this vc item |
static boolean |
isBindVariableForTransAttrsOnly(Variable var)
|
boolean |
isBindVarValue()
|
boolean |
isBindVarValue(int index)
|
boolean |
isDiscrColumn()
Tests if an attribute is a discriminator. |
boolean |
isEscapeWildCardChars()
|
boolean |
isGenerateIsNullClauseForBindVariables()
|
boolean |
isMandatory()
Tests if an attribute does not allow null values. |
boolean |
isMultiValueType()
returns true if this item allows multiple values. |
static boolean |
isNull(java.lang.Object val)
|
boolean |
isPrimaryKey()
Tests if an attribute is a Primary Key. |
boolean |
isQueriable()
Tests if an attribute is queriable. |
boolean |
isRemovable()
|
boolean |
isSelected()
|
boolean |
isSqlFragment()
|
boolean |
isSqlFragment(int index)
|
boolean |
isUpperColumns()
|
boolean |
isValidateBindVariables()
|
static boolean |
itemHasOnlyNullValues(ViewCriteriaItem vci,
ViewCriteria vc,
java.lang.String operator,
RowSet rowSetForSqlGen,
java.util.HashMap bindValsForSqlGen)
|
ViewCriteriaItemCompound |
makeCompound()
|
static boolean |
operatorAllowsMultiValues(java.lang.String oper)
|
java.lang.Object |
parseFormattedAttribute(java.lang.String sValue,
LocaleContext locale)
Strips off the formatting from a string and constructs an instance of the attribute's domain using the 'clean' string as a parameter of the contructor. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object val)
|
java.lang.Object |
refreshProperty(java.lang.String hintName)
Retrieves the specified property, if it exists. |
void |
removeProperty(java.lang.String hintName)
|
void |
setAttributeDef(AttributeDef def)
|
void |
setCompOpers(java.util.ArrayList compOpers)
|
void |
setConjunction(int conj)
|
void |
setConjunctionString(java.lang.String conjStr)
|
void |
setEscapeWildCardChars(boolean b)
|
void |
setExprVarVal(java.lang.String varName,
java.lang.Object val)
|
void |
setGenerateIsNullClauseForBindVariables(boolean b)
|
void |
setIsBindVarValue(boolean b)
|
void |
setIsBindVarValue(int index,
boolean b)
|
void |
setIsSqlFragment(boolean b)
|
void |
setIsSqlFragment(int index,
boolean b)
|
void |
setName(java.lang.String name)
Internal: Applications should not use this method. |
void |
setNameAndPut(java.lang.String newName)
|
void |
setOperator(java.lang.String op)
|
protected void |
setOrigOp(java.lang.String op)
|
void |
setProperties(java.util.Hashtable properties)
|
void |
setProperty(java.lang.String hintName,
java.lang.Object hintValue)
|
void |
setRemovable(boolean b)
|
void |
setRequired(int val)
|
void |
setRequiredString(java.lang.String strVal)
|
void |
setUpperColumns(boolean b)
|
void |
setUpperColumnsValue(int val)
|
void |
setValidateBindVariables(boolean b)
|
void |
setValue(int index,
java.lang.Object val)
|
void |
setValue(java.lang.Object val)
|
void |
setValueMaxCardinality(int card)
|
void |
setValueMinCardinality(int card)
|
void |
setValues(java.util.ArrayList<ViewCriteriaItemValue> values)
|
void |
suppressChangeNotification()
|
java.lang.String |
toString()
|
static boolean |
useBindVariableInWhereClauseIfNullValue(Variable var)
|
static boolean |
useBindVariableInWhereClauseIfNullValue(Variable var,
java.util.List<ViewCriteriaItem> multiValueItems)
|
Methods inherited from class oracle.jbo.common.JboAbstractMap |
---|
entrySet, equals, hashCode, internalGet, internalPut, setThrowIfPropertyNotFoundOnGet |
Methods inherited from class java.util.AbstractMap |
---|
clear, clone, containsKey, containsValue, isEmpty, keySet, putAll, remove, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String QUOT
public static final java.lang.String OPERATOR
public static final java.lang.String OPERATORS
public static final java.lang.String OPERATORS_MAP
public static final java.lang.String VALUES
public static final java.lang.String VALUE
public static final java.lang.String CARDINALITY
public static final java.lang.String CONJUNCTIONSTR
public static final java.lang.String UPPER_COLUMNS_VALUE
public static final java.lang.String ITEMHOLDER
public static final java.lang.String NESTEDVC
public static final java.lang.String REMOVABLE
public static final java.lang.String REQUIRED
public static final java.lang.String GENERATE_ISNULL_CLAUSE_FOR_BINDVARS
public static final java.lang.String ESCAPE_WILD_CARD_CHARS
public static final java.lang.String VALIDATE_BINDVARS
public static final java.lang.String NAME
public static final java.lang.String ITEM_NUM
public static final java.lang.String LABEL
public static final java.lang.String RENDERED_MODE
public static final java.lang.String CONTROL_TYPE
public static final java.lang.String OPERATOR_DESCRIPTION
public static final java.lang.String[] OPERATOR_LIST_ATTR_NAMES
public static final java.lang.String LOV_NAME
public static final java.lang.String DATATYPE
public static final java.lang.String VARIABLE
public static final java.lang.String CRITERIA_ITEM
public static final int VCITEM_SIMPLE
public static final int VCITEM_COMPOUND
public static final int VCITEM_REQUIRED
public static final int VCITEM_SELECTIVELY_REQUIRED
public static final int VCITEM_OPTIONAL
public static final java.lang.String VCITEM_REQUIRED_STR
public static final java.lang.String VCITEM_SELECTIVELY_REQUIRED_STR
public static final java.lang.String VCITEM_OPTIONAL_STR
public static final java.lang.String VCITEM_DATATYPE_STRING
public static final java.lang.String VCITEM_DATATYPE_DATE
public static final java.lang.String VCITEM_DATATYPE_NUMBER
public static final java.lang.String XML_PLURAL_VALUES
protected static final int DEFAULT_CONJ
protected transient ViewCriteriaRow mRow
protected transient java.util.ArrayList<ViewCriteriaItemValue> mValues
protected transient java.util.Hashtable mProperties
protected transient JboCompOper mCompOper
protected transient java.util.ArrayList mAllCompOpers
protected transient java.util.Map mOperatorsAsMap
protected transient java.util.ArrayList mCompOpers
Constructor Detail |
---|
public ViewCriteriaItem()
public ViewCriteriaItem(java.lang.String attrName, ViewCriteriaRow row)
public ViewCriteriaItem(AttributeDef def, ViewCriteriaRow row)
Method Detail |
---|
public void suppressChangeNotification()
public int getValueCardinality()
public int getValueMinCardinality()
public static final boolean operatorAllowsMultiValues(java.lang.String oper)
public boolean isMultiValueType()
public int getValueMaxCardinality()
protected void initForInOperator(java.lang.Object pluralVals)
public void setValueMaxCardinality(int card)
public void setValueMinCardinality(int card)
public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map
get
in class JboAbstractMap
public java.lang.Object put(java.lang.Object key, java.lang.Object val)
put
in interface java.util.Map
put
in class JboAbstractMap
public ViewCriteria createViewCriteriaForAccessor()
public void setAttributeDef(AttributeDef def)
public java.lang.String getOperator()
protected static java.lang.String getDataType(int sqlType)
public JboCompOper getCompOper()
public JboCompOper getCompOper(java.lang.String operator)
operator
- the operator whose JboCompOper is to be returned.
protected void setOrigOp(java.lang.String op)
public java.lang.String getOrigOp()
public void setOperator(java.lang.String op)
public void addCompOper(JboCompOper compOper)
public java.util.ArrayList getLocalCompOpers()
public void setCompOpers(java.util.ArrayList compOpers)
public java.lang.String[][] getCompOpers()
public java.lang.String[][] getCompOpers(int cardinality)
public java.util.Map getOperatorsAsMap()
protected LocaleContext getLocale()
public java.lang.Object getValue()
public java.lang.Object getValue(int index)
index
- The index of the value in the list of values to be returned.
public int getValueCount()
public java.util.ArrayList<ViewCriteriaItemValue> getValues()
protected java.util.ArrayList<ViewCriteriaItemValue> getValuesInternal()
public void setValues(java.util.ArrayList<ViewCriteriaItemValue> values)
public void setValue(java.lang.Object val)
public void setValue(int index, java.lang.Object val)
public void addItemValue(ViewCriteriaItemValue valueHolder)
protected ViewCriteriaItemValue createCriteriaItemValue(int index)
protected ViewCriteriaItemValue createCriteriaItemValue(java.lang.Object value, boolean isBindVar, boolean isSqlFragment, int index)
public int getConjunction()
getConjunction
in interface ViewCriteriaComponent
public void setConjunction(int conj)
setConjunction
in interface ViewCriteriaComponent
public java.lang.String getConjunctionString()
public boolean isUpperColumns()
isUpperColumns
in interface ViewCriteriaComponent
public void setUpperColumns(boolean b)
setUpperColumns
in interface ViewCriteriaComponent
public int getUpperColumnsValue()
getUpperColumnsValue
in interface ViewCriteriaComponent
public void setUpperColumnsValue(int val)
public static boolean useBindVariableInWhereClauseIfNullValue(Variable var)
public static boolean useBindVariableInWhereClauseIfNullValue(Variable var, java.util.List<ViewCriteriaItem> multiValueItems)
public static boolean itemHasOnlyNullValues(ViewCriteriaItem vci, ViewCriteria vc, java.lang.String operator, RowSet rowSetForSqlGen, java.util.HashMap bindValsForSqlGen)
public static boolean isBindVariableForTransAttrsOnly(Variable var)
public static java.lang.String convertRequiredFlagToString(int flag)
public static int convertRequiredStringToFlag(java.lang.String strVal)
strVal
- The String representation of the value in the required field
public java.lang.String getRequiredString()
public int getRequired()
public void setRequiredString(java.lang.String strVal)
public void setRequired(int val)
public void setConjunctionString(java.lang.String conjStr)
public boolean isBindVarValue()
public boolean isBindVarValue(int index)
public void setIsBindVarValue(boolean b)
public void setIsBindVarValue(int index, boolean b)
public boolean isSqlFragment()
public boolean isSqlFragment(int index)
public void setIsSqlFragment(boolean b)
public void setIsSqlFragment(int index, boolean b)
public boolean isRemovable()
public void setRemovable(boolean b)
public boolean isValidateBindVariables()
public void setValidateBindVariables(boolean b)
public boolean isGenerateIsNullClauseForBindVariables()
public void setGenerateIsNullClauseForBindVariables(boolean b)
public boolean isEscapeWildCardChars()
public void setEscapeWildCardChars(boolean b)
public java.lang.String getRootCriteriaRelativeName()
public ViewCriteria getViewCriteria()
public ViewCriteriaRow getViewCriteriaRow()
public StructureDef getStructureDef()
public AttributeDef getAttributeDef()
public byte getAttributeKind()
AttributeDef
getAttributeKind
in interface AttributeDef
ATTR
constants defined for this class.public java.lang.String getName()
AttributeDef
getName
in interface AttributeDef
public void setName(java.lang.String name)
public void setNameAndPut(java.lang.String newName)
public java.lang.String getColumnName()
AttributeDef
getColumnName
in interface AttributeDef
public java.lang.String getColumnNameForQuery()
AttributeDef
getColumnNameForQuery
in interface AttributeDef
public int getIndex()
AttributeDef
StoreInfo
instance.
getIndex
in interface AttributeDef
public java.lang.Class getJavaType()
AttributeDef
getJavaType
in interface AttributeDef
public int getSQLType()
AttributeDef
getSQLType
in interface AttributeDef
Types
public int getScale()
AttributeDef
getScale
in interface AttributeDef
public int getPrecision()
AttributeDef
'Precision' for a string is the maximum length.
getPrecision
in interface AttributeDef
public boolean isDiscrColumn()
AttributeDef
isDiscrColumn
in interface AttributeDef
public boolean isSelected()
isSelected
in interface AttributeDef
public boolean isQueriable()
AttributeDef
Queriable attributes are those that may have a filter condition for the WHERE clause If this method returns false, the attribute will not be used in constructing the WHERE clause of SQL statements to fetch data.
isQueriable
in interface AttributeDef
true
if this attribute is queriable.public byte getUpdateableFlag()
AttributeDef
getUpdateableFlag
in interface AttributeDef
READONLY
, UPDATEABLE
, or UPDATEABLE_WHILE_NEW
.public boolean isPrimaryKey()
AttributeDef
isPrimaryKey
in interface AttributeDef
true
if this is either a Primary Key attribute or
part of the attributes that constitute the Primary Key for a given row.public java.lang.String getLOVName()
AttributeDef
getLOVName
in interface AttributeDef
public ListBindingDef getListBindingDef()
getListBindingDef
in interface AttributeDef
public boolean isMandatory()
AttributeDef
isMandatory
in interface AttributeDef
true
if this attribute cannot store a null valuepublic AttributeHints getUIHelper()
AttributeDef
getUIHelper
in interface AttributeDef
AttributeHints
public java.lang.Class getElemType()
AttributeDef
For VARRAYs, this method returns the class name of the elements that are in the VARRAY.
Element type is relevant only if the attribute is an array attribute.
getElemType
in interface AttributeDef
public int getElemSQLType()
AttributeDef
For VARRAYs, this method returns the jdbc type of the elements that are in the VARRAY.
Element type is relevant only if the attribute is an array attribute.
getElemSQLType
in interface AttributeDef
public ViewObject getAccessorVO(ViewObject originVO)
AttributeDef
getAccessorVO
in interface AttributeDef
originVO
- the View Object that owns the accessor
ViewObject
instance.public java.lang.Object getProperty(java.lang.String hintName)
Properties
getProperty
in interface Properties
hintName
- Property name.
null
.public java.lang.Object getProperty(java.lang.String hintName, LocaleContext locale)
getProperty
in interface Properties
public java.lang.Object refreshProperty(java.lang.String hintName)
Properties
getProperty
.
refreshProperty
in interface Properties
hintName
- Property name.
null
.public java.util.Hashtable getLocalProperties()
public java.util.Hashtable getLocalAndResourceProperties()
public java.util.Hashtable getProperties()
Properties
getProperties
in interface Properties
public void setProperty(java.lang.String hintName, java.lang.Object hintValue)
public void removeProperty(java.lang.String hintName)
public void setProperties(java.util.Hashtable properties)
protected void getAllBindVariables(java.util.HashMap<java.lang.String,Variable> map)
public ViewCriteriaItemCompound makeCompound()
public void copyFrom(ViewCriteriaItem vci)
public java.lang.String toString()
toString
in class java.util.AbstractMap
public boolean hasData()
public boolean hasData(java.util.HashMap whereParams)
public boolean hasWhereClause(boolean checkValue)
public java.lang.Object getValueFromWhereParams(java.util.HashMap whereParams)
protected boolean hasBindVarValue()
public ViewCriteriaItem createCarrier()
public static boolean areDifferent(java.lang.Object val1, java.lang.Object val2)
public static boolean isNull(java.lang.Object val)
public ViewCriteria getNestedViewCriteria()
public ViewCriteria getItemHolder()
public boolean hasSameConjunction()
protected void getResourcesFromBundle(LocaleContext locale, java.util.HashMap map)
locale
- locale of the resources to be retrieved.map
- the retrieved resources will be added to the map.public final java.lang.String getRemovable(LocaleContext locale)
getRemovable
in interface ViewCriteriaItemHints
public final java.lang.String getRenderedMode(LocaleContext locale)
getRenderedMode
in interface ViewCriteriaItemHints
public java.lang.String getLocaleName(LocaleContext locale, java.lang.String sName)
AttributeHints
getLocaleName
in interface AttributeHints
public java.lang.String[][] getCompOpers(LocaleContext locale)
AttributeHints
getCompOpers
in interface AttributeHints
public final java.lang.String getLabel(LocaleContext locale)
getLabel
in interface GenericHints
public final java.lang.String getTooltip(LocaleContext locale)
getTooltip
in interface GenericHints
public final java.lang.String getLabelPlural(LocaleContext locale)
getLabelPlural
in interface GenericHints
public java.lang.String getDisplayHint(LocaleContext locale)
getDisplayHint
in interface AttributeHints
public final int getControlType(LocaleContext locale)
getControlType
in interface AttributeHints
public final int getDisplayWidth(LocaleContext locale)
getDisplayWidth
in interface AttributeHints
public final int getDisplayHeight(LocaleContext locale)
getDisplayHeight
in interface AttributeHints
public final boolean isAutoSubmit(LocaleContext locale)
isAutoSubmit
in interface AttributeHints
public java.lang.String getHint(LocaleContext locale, java.lang.String sHintName)
getHint
in interface AttributeHints
public java.lang.String getHintValue(LocaleContext locale, java.lang.String sHintName)
getHintValue
in interface GenericHints
public final boolean hasFormatInformation(LocaleContext locale)
AttributeHints
hasFormatInformation
in interface AttributeHints
public final java.lang.String getFormattedAttribute(AttributeList attrList, LocaleContext locale)
ViewCriteriaItemValue.getFormattedValue(LocaleContext)
API.
getFormattedAttribute
in interface AttributeHints
attrList
- The ViewCriteriaRow referencelocale
- locale used in formatting the value
public java.lang.Object parseFormattedAttribute(java.lang.String sValue, LocaleContext locale)
AttributeHints
parseFormattedAttribute
in interface AttributeHints
public boolean displayInShortForm(LocaleContext locale)
AttributeHints
displayInShortForm
in interface AttributeHints
public final java.lang.String getFormat(LocaleContext locale)
AttributeHints
getFormat
in interface AttributeHints
public final Formatter getFormatter(LocaleContext locale)
AttributeHints
getFormatter
in interface AttributeHints
public final java.lang.String getFormatterClassName(LocaleContext locale)
getFormatterClassName
in interface AttributeHints
public java.lang.Object getExprVarVal(java.lang.String varName)
getExprVarVal
in interface ExprValueSupplier
public void setExprVarVal(java.lang.String varName, java.lang.Object val)
setExprVarVal
in interface ExprValueSupplier
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |