|
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.Objectoracle.jbo.common.NamedObjectImpl
oracle.jbo.mom.DefinitionObject
oracle.jbo.mom.PersistableDefObject
oracle.adf.model.binding.DCDefBase
oracle.adf.model.binding.DCControlBindingDef
oracle.jbo.uicli.binding.JUControlDef
oracle.jbo.uicli.binding.JUCtrlValueDef
oracle.jbo.uicli.binding.JUCtrlAttrsDef
oracle.jbo.uicli.binding.JUCtrlParameterDef
public class JUCtrlParameterDef
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.jbo.mom.PersistableDefObject |
|---|
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType |
| Nested classes/interfaces inherited from interface oracle.jbo.AttributeHints |
|---|
AttributeHints.ControlType |
| Field Summary | |
|---|---|
static int |
PARAM_DEFAULT
For internal use only. |
static int |
PARAM_FINAL
Binding definition has the expression to get to the value that should be used for this parameter. |
static int |
PARAM_MANDATORY
Parameter value has to be set by the caller. |
static int |
PARAM_OPTIONAL
Binding definition's value is used only if the parameter is not specifically set by the caller. |
static java.lang.String |
PNAME_Option
|
static java.lang.String |
PNAME_Precision
|
static java.lang.String |
PNAME_PrecisionRule
|
static java.lang.String |
PNAME_ReadOnly
|
static java.lang.String |
PNAME_Scale
|
static java.lang.String |
PNAME_Type
|
static java.lang.String |
PNAME_Value
|
| Fields inherited from class oracle.jbo.uicli.binding.JUCtrlValueDef |
|---|
DEFAULT_HANDLER, PNAME_ApplyValidation, PNAME_AttrNames, PNAME_AttrViewExprs, PNAME_CtrlPermission, PNAME_IncludeSelectionAttr, PNAME_InputHandler, PNAME_ListNullValueId, PNAME_Permissions, PNAME_SelectionAttr, PNAME_SelectionValue, PNAME_UnSelectionValue, PNAME_UseRowHints |
| Fields inherited from class oracle.adf.model.binding.DCControlBindingDef |
|---|
PNAME_ControlBindingClass, PNAME_ControlClass, PNAME_CustomInputHandler, PNAME_InitialValue, PNAME_IterBinding, PNAME_TYPE, PNAME_Viewable |
| Fields inherited from class oracle.jbo.mom.DefinitionObject |
|---|
DEF_MDS_CLIENT_KEY, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAP |
| Fields inherited from class oracle.jbo.common.NamedObjectImpl |
|---|
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX |
| 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.GenericHints |
|---|
PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIP |
| Fields inherited from interface oracle.jbo.mom.xml.DefPersistable |
|---|
XML_STATEMENT |
| Constructor Summary | |
|---|---|
JUCtrlParameterDef()
|
|
| Method Summary | |
|---|---|
protected DCControlBinding |
createControlBindingInstance(java.lang.Object control,
DCBindingContainer formBnd)
|
boolean |
displayInShortForm(LocaleContext locale)
Returns true if the attribute is to displayed in the short(summary) form. |
ViewObject |
getAccessorVO(ViewObject originVO)
For an accessor attribute, this method creates a View Object that works for the View Link definition. |
byte |
getAttributeKind()
*** For internal framework use only *** |
java.lang.String |
getColumnName()
For internal framework use only *** |
java.lang.String |
getColumnNameForQuery()
For internal framework use only *** |
java.lang.String[][] |
getCompOpers(LocaleContext locale)
Returns a Map of operators for this attribute. |
int |
getControlType(LocaleContext locale)
Returns the preferred control type for this attribute |
int |
getDisplayHeight(LocaleContext locale)
Returns the display width for this attribute |
java.lang.String |
getDisplayHint(LocaleContext locale)
Retrieves the displya hint that dictates whether this attributr 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.String |
getExpression()
|
java.lang.String |
getFormat(LocaleContext locale)
returns the format string stored in the ui hints |
java.lang.String |
getFormattedAttribute(AttributeList attrList,
LocaleContext locale)
Returns the formatted value for the attribute. |
Formatter |
getFormatter(LocaleContext locale)
returns the formatter object stored in the ui hints |
java.lang.String |
getFormatterClassName(LocaleContext locale)
returns the formatter class stored in the ui hints |
java.lang.String |
getHint(LocaleContext locale,
java.lang.String sHintName)
Return defaulted hint value based on the hint name |
java.lang.String |
getHintValue(LocaleContext locale,
java.lang.String sHintName)
Return hint value based on the hint name |
int |
getIndex()
Always return 0. |
java.lang.Class |
getJavaType()
Returns javatype of the value that bound expression returns. |
java.lang.String |
getLabel(LocaleContext locale)
Retrieves the label to be used in any attribute prompts |
java.lang.String |
getLabelPlural(LocaleContext locale)
Retrives the LabelPlural text to be used for this attribute |
ListBindingDef |
getListBindingDef()
|
java.lang.String |
getLocaleName(LocaleContext locale,
java.lang.String sName)
function for retrieving the locale name of a hint |
java.lang.String |
getLOVName()
Gets the name of the LOV (list of values) associated with this attribute definition. |
java.util.Map |
getOperators(LocaleContext locale)
|
int |
getOptionFlag()
|
int |
getPrecision()
Return Precision value from metadata for this binding. |
int |
getScale()
Return Scale value from metadata for this binding. |
int |
getSQLType()
Always return -1. |
java.lang.String |
getTooltip(LocaleContext locale)
Retrives the tooltip text to be used for this attribute |
AttributeHints |
getUIHelper()
Returns this, as this object also implements AttributeHints interface |
byte |
getUpdateableFlag()
Tests if an attribute can be modified. |
boolean |
hasFormatInformation(LocaleContext locale)
Return true if any format hints have been defined for this attribute. |
void |
init(java.util.HashMap initValues)
|
protected void |
initSubType()
|
boolean |
isApplyPrecision()
|
boolean |
isAutoSubmit(LocaleContext locale)
Returns autoSubmit value for this attribute. |
boolean |
isDiscrColumn()
Tests if an attribute is a discriminator. |
boolean |
isFinal()
|
boolean |
isMandatory()
Tests if an attribute does not allow null values. |
boolean |
isOptional()
|
boolean |
isPrimaryKey()
Always return false |
boolean |
isQueriable()
This binding is not queriable. |
boolean |
isReadOnly()
Return Updateable flag from metadata for this binding. |
boolean |
isSelected()
This binding is not queriable. |
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. |
protected void |
retrieveFromXML(DefElement xmlElement,
java.util.HashMap valueTab)
|
| Methods inherited from class oracle.jbo.uicli.binding.JUCtrlAttrsDef |
|---|
initializeControlBinding |
| Methods inherited from class oracle.adf.model.binding.DCDefBase |
|---|
convertToBoolean, convertToDataChangePolicy, convertToInt, convertToIntArray, convertToLong, createAndLoadFromXML, getDefClassName, getDefXMLNameSpace, getOrigObject, getPermissionDef, getPersonalizer, getPersonalizerClass, getSubType, isDirty, isNew, loadPermissionDef, loadXMLContents, readXMLBoolean, readXMLInt, readXMLLong, readXMLString, readXMLStringArray, readXMLStringArrayList, readXMLStringArrayList, setDefClassName, setDirty, setNew, setOrigObject, setPermissionDef, setSubType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.jbo.AttributeDef |
|---|
getName |
| Methods inherited from interface oracle.jbo.Properties |
|---|
getProperties, getProperty, getProperty, refreshProperty |
| Methods inherited from interface oracle.jbo.rules.ValidationManager |
|---|
getFullName, getName |
| Methods inherited from interface oracle.jbo.mom.xml.DefPersistable |
|---|
getFullName |
| Field Detail |
|---|
public static int PARAM_FINAL
public static int PARAM_OPTIONAL
public static int PARAM_MANDATORY
public static int PARAM_DEFAULT
public static final java.lang.String PNAME_Value
public static final java.lang.String PNAME_Type
public static final java.lang.String PNAME_Scale
public static final java.lang.String PNAME_Precision
public static final java.lang.String PNAME_Option
public static final java.lang.String PNAME_ReadOnly
public static final java.lang.String PNAME_PrecisionRule
| Constructor Detail |
|---|
public JUCtrlParameterDef()
| Method Detail |
|---|
protected void initSubType()
initSubType in class JUCtrlAttrsDef
protected DCControlBinding createControlBindingInstance(java.lang.Object control,
DCBindingContainer formBnd)
createControlBindingInstance in class JUCtrlAttrsDefpublic final byte getAttributeKind()
getAttributeKind in interface AttributeDefATTR constants defined for this class.public final java.lang.String getColumnName()
getColumnName in interface AttributeDefpublic final java.lang.String getExpression()
public final java.lang.String getColumnNameForQuery()
getColumnNameForQuery in interface AttributeDefpublic final int getIndex()
getIndex in interface AttributeDefpublic final java.lang.Class getJavaType()
getJavaType in interface AttributeDefpublic final int getSQLType()
getSQLType in interface AttributeDefTypespublic final int getScale()
getScale in interface AttributeDefpublic final int getPrecision()
getPrecision in interface AttributeDefpublic final boolean isDiscrColumn()
AttributeDef
isDiscrColumn in interface AttributeDefpublic final boolean isSelected()
isSelected in interface AttributeDefpublic final boolean isQueriable()
isQueriable in interface AttributeDeftrue if this attribute is queriable.public final boolean isReadOnly()
public final byte getUpdateableFlag()
AttributeDef
getUpdateableFlag in interface AttributeDefREADONLY, UPDATEABLE, or UPDATEABLE_WHILE_NEW.public final boolean isPrimaryKey()
isPrimaryKey in interface AttributeDeftrue if this is either a Primary Key attribute or
part of the attributes that constitute the Primary Key for a given row.public final boolean isApplyPrecision()
public final boolean isMandatory()
AttributeDef
isMandatory in interface AttributeDeftrue if this attribute cannot store a null valuepublic final boolean isOptional()
public final boolean isFinal()
public int getOptionFlag()
public final AttributeHints getUIHelper()
getUIHelper in interface AttributeDefAttributeHintspublic final java.lang.Class getElemType()
AttributeDefFor 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 AttributeDefpublic final int getElemSQLType()
AttributeDefFor 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 AttributeDefpublic ViewObject getAccessorVO(ViewObject originVO)
AttributeDef
getAccessorVO in interface AttributeDeforiginVO - the View Object that owns the accessor
ViewObject instance.public final java.lang.String getLabel(LocaleContext locale)
GenericHints
getLabel in interface GenericHintspublic java.util.Map getOperators(LocaleContext locale)
public final java.lang.String getTooltip(LocaleContext locale)
GenericHints
getTooltip in interface GenericHintspublic final java.lang.String getLabelPlural(LocaleContext locale)
GenericHints
getLabelPlural in interface GenericHintspublic final java.lang.String getDisplayHint(LocaleContext locale)
AttributeHints
getDisplayHint in interface AttributeHintspublic final int getControlType(LocaleContext locale)
AttributeHints
getControlType in interface AttributeHintspublic final int getDisplayWidth(LocaleContext locale)
AttributeHints
getDisplayWidth in interface AttributeHintspublic final int getDisplayHeight(LocaleContext locale)
AttributeHints
getDisplayHeight in interface AttributeHintspublic final boolean isAutoSubmit(LocaleContext locale)
AttributeHints
isAutoSubmit in interface AttributeHints
public final java.lang.String getHint(LocaleContext locale,
java.lang.String sHintName)
AttributeHints
getHint in interface AttributeHints
public final java.lang.String getHintValue(LocaleContext locale,
java.lang.String sHintName)
GenericHints
getHintValue in interface GenericHintspublic final java.lang.String getFormat(LocaleContext locale)
AttributeHints
getFormat in interface AttributeHintspublic final java.lang.String getFormatterClassName(LocaleContext locale)
AttributeHints
getFormatterClassName in interface AttributeHintspublic final Formatter getFormatter(LocaleContext locale)
AttributeHints
getFormatter in interface AttributeHintspublic final boolean hasFormatInformation(LocaleContext locale)
AttributeHints
hasFormatInformation in interface AttributeHints
public final java.lang.String getFormattedAttribute(AttributeList attrList,
LocaleContext locale)
AttributeHints
getFormattedAttribute in interface AttributeHints
public final java.lang.Object parseFormattedAttribute(java.lang.String sValue,
LocaleContext locale)
AttributeHints
parseFormattedAttribute in interface AttributeHintspublic final boolean displayInShortForm(LocaleContext locale)
AttributeHints
displayInShortForm in interface AttributeHints
public final java.lang.String getLocaleName(LocaleContext locale,
java.lang.String sName)
AttributeHints
getLocaleName in interface AttributeHintspublic java.lang.String[][] getCompOpers(LocaleContext locale)
AttributeHints
getCompOpers in interface AttributeHints
protected void retrieveFromXML(DefElement xmlElement,
java.util.HashMap valueTab)
retrieveFromXML in class DCControlBindingDefpublic void init(java.util.HashMap initValues)
init in class JUCtrlValueDefpublic java.lang.String getLOVName()
AttributeDef
getLOVName in interface AttributeDefpublic ListBindingDef getListBindingDef()
getListBindingDef in interface AttributeDef
|
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 | ||||||||