Skip navigation links
oracle.adf.model.binding
Class DCVariableImpl
java.lang.Object
oracle.jbo.common.NamedObjectImpl
oracle.jbo.common.VariableImpl
oracle.adf.model.binding.DCVariableImpl
- All Implemented Interfaces:
- java.io.Serializable, AttributeDef, AttributeHints, ResourceBundleOwner, JIReservedVarNames, JboReservedVarNames, DefPersistable, PersistentDefinition, Properties, ValidationManager, Variable
-
public class DCVariableImpl
- extends VariableImpl
- implements java.io.Serializable
- See Also:
- Serialized Form
- javabean.class
- name=DCVariableImpl
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.AttributeHints |
ATTRIBUTE_AUTOSUBMIT, ATTRIBUTE_BINDEDITOR_LABEL, ATTRIBUTE_CTL_CATEGORY, ATTRIBUTE_CTL_DISPLAYHEIGHT, ATTRIBUTE_CTL_DISPLAYWIDTH, ATTRIBUTE_CTL_FIELD_ORDER, ATTRIBUTE_CTL_FORMTYPE, ATTRIBUTE_CTL_TYPE, ATTRIBUTE_DISPLAY_HINT, ATTRIBUTE_DISPLAY_HINT_DISPLAY, ATTRIBUTE_DISPLAY_HINT_HIDE, ATTRIBUTE_FORM_TYPE_DETAIL, ATTRIBUTE_FORM_TYPE_SHORT, ATTRIBUTE_LABEL, ATTRIBUTE_TOOLTIP, CTL_CHECK_BOX, CTL_CHOICE_LIST, CTL_COMBO_BOX, CTL_COMBO_BOX_LOV, CTL_DATE, CTL_DEFAULT, 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_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_DISPLAY_HEIGHT, HINT_NAME_DISPLAY_HINT, HINT_NAME_DISPLAY_WIDTH, HINT_NAME_FIELD_ORDER, HINT_NAME_FORMAT, HINT_NAME_LABEL, HINT_NAME_MANDATORY, HINT_NAME_TOOLTIP, HINT_NAME_UPDATEABLE, PNAME_Button, PNAME_ButtonGroup, PNAME_ComboBox, PNAME_ComboBoxLovEdit, PNAME_EnumList, PNAME_LovButton, PNAME_TextField |
Methods inherited from class oracle.jbo.common.VariableImpl |
_getDomainContext, addValidator, convertToJava, displayInShortForm, evaluateTransientExpression, getAccessorVO, getAttributeKind, getColumnName, getColumnNameForQuery, getColumnType, getCompOpers, getControlType, getDefXMLElementTag, getDefXMLNameSpace, getDisplayHeight, getDisplayHint, getDisplayWidth, getElemSQLType, getElemType, getExprEval, getExtendedData, getFormat, getFormattedAttribute, getFormatter, getFormatterClassName, getHint, getHintValue, getJavaTypeName, getLabel, getListBindingDef, getLocaleName, getLOVName, getOperators, getOrigObject, getResourceBundleDef, getResourcePrefix, getSession, getSQLType, getStructureDef, getTooltip, getTransientExpression, getUIHelper, getValidators, getVariableManager, getXMLElementTag, hasFormatInformation, initDefaultValueNoConversion, initFromXML, isAutoSubmit, isDefinedDefaultValue, isDirty, isDiscrColumn, isNew, isPassivationNeeded, isPrimaryKey, isQueriable, isSelected, loadCustomProperties, loadProperties, loadSchemaProperties, parseFormattedAttribute, removeValidator, requiresNamePrefixedResId, setColumnType, setDirty, setElemType, setExtendedData, setJavaType, setJavaTypeName, setMandatory, setName, setNew, setOrigObject, setPassivationNeeded, setPrecisionScale, setTransientExpression, setUpdateableFlag, setVariableKind, setVariableManager, writeChildren, writeContents, writeObject |
Methods inherited from class oracle.jbo.common.NamedObjectImpl |
allocatePropertyMap, getAllProperties, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getPropertyMap, getResourcesFromBundle, refreshProperty, removeProperty, removeProperty, resolvePropertyRaw, setFullName, setParent, setPropertiesMap, setPropertiesMap2, setProperty, setProperty, setPropertyMap |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DCVariableImpl
public DCVariableImpl()
createClone
protected VariableImpl createClone()
-
- Overrides:
createClone
in class VariableImpl
clone
public java.lang.Object clone()
-
- Specified by:
clone
in interface Variable
- Overrides:
clone
in class VariableImpl
getDefaultValue
public java.lang.Object getDefaultValue()
- Returns the default value of the attribute.
The default value for an attribute is expressed in terms of the Java type system, rather than the storage type system.
-
- Specified by:
getDefaultValue
in interface Variable
- Overrides:
getDefaultValue
in class VariableImpl
-
- Returns:
- the default value for the attribute, or null if none.
setDefaultValue
public void setDefaultValue(java.lang.Object val)
-
- Specified by:
setDefaultValue
in interface Variable
- Overrides:
setDefaultValue
in class VariableImpl
getIndex
public int getIndex()
- Description copied from class:
VariableImpl
- Overridden to return -1 for index.
-
- Specified by:
getIndex
in interface AttributeDef
- Overrides:
getIndex
in class VariableImpl
-
- Returns:
- the index of the attribute row's definition object.
initFromXML
public void initFromXML(DefElement xmlElement,
boolean bDesignTime)
- Description copied from class:
VariableImpl
- *** For internal framework use only ***
-
- Overrides:
initFromXML
in class VariableImpl
getProperty
public java.lang.Object getProperty(java.lang.String property,
LocaleContext locale)
-
- Specified by:
getProperty
in interface Properties
- Overrides:
getProperty
in class NamedObjectImpl
getVariableKind
public java.lang.String getVariableKind()
-
- Specified by:
getVariableKind
in interface Variable
- Overrides:
getVariableKind
in class VariableImpl
getUpdateableFlag
public byte getUpdateableFlag()
- Description copied from class:
VariableImpl
- Returns whether the attribute is updateable.
-
- Specified by:
getUpdateableFlag
in interface AttributeDef
- Overrides:
getUpdateableFlag
in class VariableImpl
-
- Returns:
- true if this is an editable attribute; false otherwise.
isMandatory
public boolean isMandatory()
- Description copied from class:
VariableImpl
- Returns whether the attribute is not null.
-
- Specified by:
isMandatory
in interface AttributeDef
- Overrides:
isMandatory
in class VariableImpl
-
- Returns:
- true if this is attribute not null; false otherwise.
getPrecision
public int getPrecision()
- Description copied from class:
VariableImpl
- Gets the attribute's precision.
For strings, precision is maximum allowed length. For numeric values, precision is the number of significant digits.
-
- Specified by:
getPrecision
in interface AttributeDef
- Overrides:
getPrecision
in class VariableImpl
-
- Returns:
- the precision value, or 0 if unspecified.
getScale
public int getScale()
- Description copied from class:
VariableImpl
- Gets the attribute's scale value: the number of digits to the right or left of the decimal point, depending on whether the scale value is positive or negative.
Scale value is meaningful only for numeric attributes.
-
- Specified by:
getScale
in interface AttributeDef
- Overrides:
getScale
in class VariableImpl
-
- Returns:
- the scale value. The default is -127.
getJavaType
public java.lang.Class getJavaType()
- Description copied from class:
VariableImpl
- Returns the Java type of the attribute.
For 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.
-
- Specified by:
getJavaType
in interface AttributeDef
- Overrides:
getJavaType
in class VariableImpl
-
- Returns:
- the attribute's Java class, or Object for attributes which have no accessor methods available.
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.