public class BoundParameter extends VariableImpl
AttributeDef.AttributeStorageEnumAttributeHints.ControlType| Modifier and Type | Field and Description | 
|---|---|
protected static java.lang.String[] | 
BPARAM_DIFF_STRING_ELEMS  | 
static java.lang.String | 
PARAM_OPTIONAL  | 
static java.lang.String | 
PARAM_REQUIRED  | 
static java.lang.String | 
PARAM_SELECTIVELY_REQUIRED  | 
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_SUFFIXVAR_KIND_VIEW_CRITERIA_IN_MEM_CLAUSE_PARAM, VAR_KIND_VIEW_CRITERIA_PARAM, VAR_KIND_WHERE_CLAUSE_PARAM, VAR_KIND_WHERE_OR_CRIT_PARAMATTR_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_NEWATTRIBUTE_AUTOSUBMIT, ATTRIBUTE_BINDEDITOR_LABEL, ATTRIBUTE_CTL_CATEGORY, ATTRIBUTE_CTL_DISPLAYHEIGHT, ATTRIBUTE_CTL_DISPLAYWIDTH, ATTRIBUTE_CTL_FIELD_ORDER, ATTRIBUTE_CTL_FORMTYPE, ATTRIBUTE_CTL_TYPE, ATTRIBUTE_DEFINITION_STATE, ATTRIBUTE_DISPLAY_HINT, ATTRIBUTE_DISPLAY_HINT_DISPLAY, ATTRIBUTE_DISPLAY_HINT_HIDE, ATTRIBUTE_FORM_TYPE_DETAIL, ATTRIBUTE_FORM_TYPE_SHORT, ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_PLURAL, ATTRIBUTE_LOVNAME, ATTRIBUTE_PAYLOAD_HINT, ATTRIBUTE_PAYLOAD_HINT_HIDE, ATTRIBUTE_PAYLOAD_HINT_SHOW, ATTRIBUTE_REQUIRED_HINT, ATTRIBUTE_REQUIRED_HINT_OPTIONAL, ATTRIBUTE_REQUIRED_HINT_REQUIRED, ATTRIBUTE_REQUIRED_HINT_SELECTIVELY_REQUIRED, ATTRIBUTE_TIMEZONE_ID, ATTRIBUTE_TOOLTIP, CTL_CHECK_BOX, CTL_CHOICE_LIST, CTL_COMBO_BOX, CTL_COMBO_BOX_LOV, CTL_DATE, CTL_DEFAULT, CTL_DELIMITEDIDS_CHOICE, CTL_EDIT, CTL_IMAGE, CTL_INPUT_TEXT_LOV, CTL_LIST_BOX, CTL_NUMBER_EDIT, CTL_RADIO_GROUP, CTLTYPE_CHECKBOX, CTLTYPE_COMBO, CTLTYPE_COMBOLOV, CTLTYPE_DATE, CTLTYPE_DEFAULT, CTLTYPE_DELIMITEDIDS_CHOICE, CTLTYPE_EDIT, CTLTYPE_IMAGE, CTLTYPE_LIST, CTLTYPE_LISTBOX, CTLTYPE_LOV, CTLTYPE_NUMEDIT, CTLTYPE_RADIOGRP, CTLTYPE_TOGGLE, FMT_FORMAT, FMT_FORMATTER, HINT_NAME_AUTOSUBMIT, HINT_NAME_CATEGORY, HINT_NAME_CTL_TYPE, HINT_NAME_DESCRIPTION, HINT_NAME_DISPLAY_HEIGHT, HINT_NAME_DISPLAY_HINT, HINT_NAME_DISPLAY_WIDTH, HINT_NAME_FIELD_ORDER, HINT_NAME_FORMAT, HINT_NAME_LABEL, HINT_NAME_LABEL_PLURAL, HINT_NAME_LOVNAME, HINT_NAME_MANDATORY, HINT_NAME_MAX_LENGTH, HINT_NAME_MAX_VALUE, HINT_NAME_MIN_LENGTH, HINT_NAME_MIN_VALUE, HINT_NAME_PAYLOAD_HINT, HINT_NAME_SECRET, HINT_NAME_TIMEZONEID, HINT_NAME_TOOLTIP, HINT_NAME_UPDATEABLE, HINT_NAME_WATERMARK, PNAME_Button, PNAME_ButtonGroup, PNAME_ComboBox, PNAME_ComboBoxLovEdit, PNAME_ENSURE_KEY_ATTR, PNAME_EnumList, PNAME_LovButton, PNAME_ROWNUMATTR, PNAME_SOURCENAME_ACCESSOR, PNAME_SOURCENAME_ATTR, PNAME_TextFieldDEFINITION_STATE_ACTIVE, DEFINITION_STATE_DEPRECATED, PROPERTY_DEFINITION_STATE, PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIPRESERVED_VAR_AGG_AVG, RESERVED_VAR_AGG_COUNT, RESERVED_VAR_AGG_MAX, RESERVED_VAR_AGG_MIN, RESERVED_VAR_AGG_SUM, RESERVED_VAR_AGGVAL_PREFIX, RESERVED_VAR_STRUCTURE_DEFRESERVED_VAR_VALUEXML_STATEMENT| Constructor and Description | 
|---|
BoundParameter()  | 
BoundParameter(BoundParameter param)  | 
BoundParameter(java.lang.String name)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected VariableImpl | 
createClone()  | 
protected ExpressionDef | 
createExpressionDef(java.lang.String expr)  | 
DifferDetails | 
diffChildren(DiffMergeable docDef,
            DiffMergeable orgDef,
            DifferDetails difDetails)  | 
DifferDetails | 
diffContents(DiffMergeable docDef,
            DiffMergeable orgDef,
            DifferDetails difDetails)  | 
CodeSource | 
editCodeSource(CodeSource codeSource)
Notify that ComponentOperationsManager that the client expects to
 edit the CodeSource. 
 | 
CodeSource | 
ensureCodeSource(java.lang.String name)
Ensure a named code source in the operations manager. 
 | 
java.lang.String | 
getAttributeName()
If this BoundParameter maps to an attribute, returns the name of mapped attribute. 
 | 
java.lang.String | 
getDefXMLElementTag()  | 
java.lang.String | 
getDefXMLNameSpace()  | 
java.lang.Class | 
getJavaType()
Returns the Java type of the attribute. 
 | 
protected ExpressionDef | 
getMappedValue(java.util.HashMap initValues)  | 
java.lang.String | 
getOwnerName()  | 
java.lang.String | 
getRequired()
For internal framework use only. 
 | 
int | 
getSQLType()
Overridden to return -1; 
 | 
VariableManagerOwner | 
getVariableManagerOwner()  | 
protected void | 
initialize(VariableImpl fromVar)  | 
boolean | 
isUnmapped()
Test if the underlying variable is unmapped 
 | 
protected ExpressionDef | 
loadExpressionDef(DefElement xmlElement)  | 
void | 
loadXMLContents(DefElement xmlElement)  | 
static void | 
loadXMLParameterContents(DefElement xmlElement,
                        java.util.HashMap valueTab)
This method loads a variable value mapping Element into a map. 
 | 
ExprDef | 
lookupExprDef(OwnerType type,
             java.lang.String path)
Search for an ExprDef in the ComponentOperationsManager's namespace. 
 | 
void | 
setTransientExpression(java.lang.String expr)  | 
void | 
setTransientExpressionDef(ExprDef exprDef)
Add an expression to the variable. 
 | 
void | 
setVariableManagerOwner(VariableManagerOwner owner)  | 
void | 
writeChildren(DefWriter jos)
Writes the Object's children to the Persistent storage 
 | 
void | 
writeContents(DefWriter jos)
Objects should write their persistence output in this method 
 | 
_getDomainContext, addValidator, applyDiffChildren, applyDiffContents, beginDiffObjects, clone, convertToJava, diffObjects, displayInShortForm, ensureDifferDetails, evaluateTransientExpression, getAccessorVO, getAttributeKind, getAttributeStorage, getCategory, getColumnName, getColumnNameForQuery, getColumnType, getCompOpers, getControlType, getDefaultValue, getDefinitionState, getDisplayHeight, getDisplayHint, getDisplayWidth, getElemSQLType, getElemType, getExprEval, getExtendedData, getFieldOrder, getFormat, getFormattedAttribute, getFormatter, getFormatterClassName, getHint, getHintValue, getIndex, getJavaTypeName, getLabel, getLabelPlural, getListBindingDef, getLocaleName, getLOVName, getOperators, getOrigObject, getPayloadHint, getPrecision, getResourceBundleDef, getResourcePrefix, getScale, getSerializerClassName, getSession, getStructureDef, getTooltip, getTransientExpression, getTransientExpressionDef, getUIHelper, getUpdateableFlag, getValidators, getValueSerializer, getVariableKind, getVariableManager, getXMLContentValue, getXMLElementTag, hasFormatInformation, initDefaultValueNoConversion, initFromXML, initFromXML, isAutoSubmit, isDefinedDefaultValue, isDirty, isDiscrColumn, isMandatory, isNew, isPassivationNeeded, isPrimaryKey, isQueriable, isSelected, loadCustomProperties, loadProperties, loadSchemaProperties, mergePropertyMap, parseFormattedAttribute, removeProperty, removeValidator, requiresNamePrefixedResId, setColumnType, setDefaultValue, setDirty, setElemType, setExtendedData, setJavaType, setJavaTypeName, setMandatory, setName, setNew, setOrigObject, setPassivationNeeded, setPrecisionScale, setProperty, setPropertyExpression, setPropertyMap, setSerializerClassName, setUpdateableFlag, setVariableKind, setVariableManager, writeObjectallocatePropertyMap, getAllProperties, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionDef, getPropertyExpressionsMap, getPropertyMap, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, isPropertyExpression, refreshProperty, removeProperty, resolveObjectProperty, resolvePropertyRaw, setFullName, setParent, setPropertiesMap, setPropertiesMap2, setPropertyequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamegetProperties, getProperty, getProperty, refreshPropertygetFullName, getNamegetFullNamegetFullName, getNamegetFullNameprotected static final java.lang.String[] BPARAM_DIFF_STRING_ELEMS
public static final java.lang.String PARAM_REQUIRED
public static final java.lang.String PARAM_SELECTIVELY_REQUIRED
public static final java.lang.String PARAM_OPTIONAL
public BoundParameter()
public BoundParameter(java.lang.String name)
public BoundParameter(BoundParameter param)
protected void initialize(VariableImpl fromVar)
initialize in class VariableImplprotected VariableImpl createClone()
createClone in class VariableImplprotected ExpressionDef createExpressionDef(java.lang.String expr)
createExpressionDef in class VariableImplprotected ExpressionDef loadExpressionDef(DefElement xmlElement)
loadExpressionDef in class VariableImplpublic void setTransientExpression(java.lang.String expr)
setTransientExpression in interface VariablesetTransientExpression in class VariableImplpublic void setTransientExpressionDef(ExprDef exprDef)
VariablesetTransientExpressionDef in interface VariablesetTransientExpressionDef in class VariableImplpublic void writeContents(DefWriter jos)
PersistentDefinitionwriteContents in interface PersistentDefinitionwriteContents in class VariableImpljos - the Output storage for persistencepublic void writeChildren(DefWriter jos)
PersistentDefinitionwriteChildren in interface PersistentDefinitionwriteChildren in class VariableImpljos - the Output storage for persistencepublic java.lang.String getDefXMLElementTag()
getDefXMLElementTag in interface PersistentDefinitiongetDefXMLElementTag in class VariableImplpublic java.lang.String getDefXMLNameSpace()
getDefXMLNameSpace in interface PersistentDefinitiongetDefXMLNameSpace in class VariableImplpublic static void loadXMLParameterContents(DefElement xmlElement, java.util.HashMap valueTab)
public void loadXMLContents(DefElement xmlElement)
protected ExpressionDef getMappedValue(java.util.HashMap initValues)
public java.lang.String getRequired()
public java.lang.String getAttributeName()
public boolean isUnmapped()
public java.lang.String getOwnerName()
public void setVariableManagerOwner(VariableManagerOwner owner)
public VariableManagerOwner getVariableManagerOwner()
public java.lang.Class getJavaType()
VariableImplFor example, if the attribute is of type String, this method returns java.lang.String; if it is of type Number, it returns oracle.jbo.domain.Number.
Subclasses should override this method because Entities without accessors should also be able to get their types from attribute descriptors and beans.
getJavaType in interface AttributeDefgetJavaType in class VariableImplpublic int getSQLType()
VariableImplgetSQLType in interface AttributeDefgetSQLType in interface VariablegetSQLType in class VariableImplTypespublic DifferDetails diffContents(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
diffContents in interface DiffMergeablediffContents in class VariableImplpublic DifferDetails diffChildren(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
diffChildren in interface DiffMergeablediffChildren in class VariableImplpublic CodeSource ensureCodeSource(java.lang.String name)
ComponentOperationsManager#updateCodeSource to update the component
 operations manager with any updates that are made to this CodeSource.ensureCodeSource in interface ComponentOperationsManagerensureCodeSource in class VariableImplname - a null name may be used to indicate the default
    built-in code source.public CodeSource editCodeSource(CodeSource codeSource)
ComponentOperationsManagereditCodeSource in interface ComponentOperationsManagereditCodeSource in class VariableImplpublic ExprDef lookupExprDef(OwnerType type, java.lang.String path)
ComponentOperationsManagerlookupExprDef in interface ComponentOperationsManagerlookupExprDef in class VariableImpltype - the {@link oracle.jbo.common.OwnerType) of the expressionpath - the (@link ExprDef#getPath} of the expression