Oracle Application Development Framework Model and Business Components Java API Reference 10.1.3.1.0
B28969-01


oracle.adf.model.binding
Class DCVariableImpl

java.lang.Object
  extended byoracle.jbo.common.NamedObjectImpl
      extended byoracle.jbo.common.VariableImpl
          extended byoracle.adf.model.binding.DCVariableImpl

All Implemented Interfaces:
AttributeDef, oracle.jbo.AttributeHints, oracle.jbo.Properties, java.io.Serializable, oracle.jbo.rules.ValidationManager, oracle.jbo.Variable

public class DCVariableImpl
extends oracle.jbo.common.VariableImpl
implements java.io.Serializable
See Also:
Serialized Form

Field Summary

 

Fields inherited from class oracle.jbo.common.VariableImpl
mJavaType, mJavaTypeName, mMandatory, mNotNull, mPrecision, mScale, mUpdateable

 

Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties

 

Fields inherited from interface oracle.jbo.AttributeHints
ATTRIBUTE_CTL_DISPLAYHEIGHT, ATTRIBUTE_CTL_DISPLAYWIDTH, 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, CTLTYPE_DATE, CTLTYPE_DEFAULT, CTLTYPE_EDIT, CTLTYPE_IMAGE, CTLTYPE_LIST, CTLTYPE_LOV, CTLTYPE_TOGGLE, FMT_FORMAT, FMT_FORMATTER

 

Fields inherited from interface oracle.jbo.Variable
VAR_KIND_WHERE_CLAUSE_PARAM

 

Fields inherited from interface oracle.jbo.AttributeDef
ATTR_ASSOCIATED_ROW, ATTR_ASSOCIATED_ROWITERATOR, ATTR_DYNAMIC, ATTR_ENTITY_DERIVED, ATTR_PERSISTENT, ATTR_SQL_DERIVED, ATTR_TRANSIENT, ATTR_VARIABLE, READONLY, UPDATEABLE, UPDATEABLE_WHILE_NEW

 

Constructor Summary
DCVariableImpl()
           

 

Method Summary
 java.lang.Object clone()
           
protected  oracle.jbo.common.VariableImpl createClone()
           
 java.lang.Object getDefaultValue()
          Returns the default value of the attribute.
 int getIndex()
          Gets the index of the attribute in the context of a StoreInfo instance.
 java.lang.Class getJavaType()
          Gets the Java class of the object stored for this attribute definition.
 int getPrecision()
          Gets the precision of a numeric or string attribute.
 int getScale()
          Get the scale value of a numeric attribute.
 byte getUpdateableFlag()
          Tests if an attribute can be modified.
 java.lang.String getVariableKind()
           
 void initFromXML(oracle.jbo.mom.xml.DefElement xmlElement, boolean bDesignTime)
           
 boolean isMandatory()
          Tests if an attribute does not allow null values.
protected  java.lang.String resolveResourceProperty(java.lang.String property, LocaleContext locale)
           
 void setDefaultValue(java.lang.Object val)
           

 

Methods inherited from class oracle.jbo.common.VariableImpl
addValidator, convertToJava, displayInShortForm, getAttributeKind, getColumnName, getColumnNameForQuery, getControlType, getDisplayHeight, getDisplayHint, getDisplayWidth, getElemSQLType, getElemType, getExtendedData, getFormat, getFormattedAttribute, getFormatter, getFormatterClassName, getHint, getHintValue, getJavaTypeName, getLabel, getLocaleName, getSQLType, getTooltip, getUIHelper, getValidators, getVariableManager, hasFormatInformation, initFromXML, isDefinedDefaultValue, isPassivationNeeded, isPrimaryKey, isQueriable, isSelected, parseFormattedAttribute, removeValidator, setExtendedData, setJavaType, setJavaTypeName, setMandatory, setName, setPrecisionScale, setUpdateableFlag, setVariableKind, setVariableManager

 

Methods inherited from class oracle.jbo.common.NamedObjectImpl
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, refreshProperty, setFullName, setParent, setPropertiesMap, setProperty

 

Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.jbo.rules.ValidationManager
getName

 

Methods inherited from interface oracle.jbo.AttributeDef
getName

 

Methods inherited from interface oracle.jbo.Properties
getProperties, getProperty, refreshProperty

 

Constructor Detail

DCVariableImpl

public DCVariableImpl()

Method Detail

createClone

protected oracle.jbo.common.VariableImpl createClone()

clone

public java.lang.Object clone()
Specified by:
clone in interface oracle.jbo.Variable

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 oracle.jbo.Variable
Returns:
the default value for the attribute, or null if none.

setDefaultValue

public void setDefaultValue(java.lang.Object val)
Specified by:
setDefaultValue in interface oracle.jbo.Variable

getIndex

public int getIndex()
Description copied from interface: AttributeDef
Gets the index of the attribute in the context of a StoreInfo instance.
Specified by:
getIndex in interface AttributeDef

initFromXML

public void initFromXML(oracle.jbo.mom.xml.DefElement xmlElement,
                        boolean bDesignTime)

resolveResourceProperty

protected java.lang.String resolveResourceProperty(java.lang.String property,
                                                   LocaleContext locale)

getVariableKind

public java.lang.String getVariableKind()
Specified by:
getVariableKind in interface oracle.jbo.Variable

getUpdateableFlag

public byte getUpdateableFlag()
Description copied from interface: AttributeDef
Tests if an attribute can be modified.
Specified by:
getUpdateableFlag in interface AttributeDef

isMandatory

public boolean isMandatory()
Description copied from interface: AttributeDef
Tests if an attribute does not allow null values.
Specified by:
isMandatory in interface AttributeDef

getPrecision

public int getPrecision()
Description copied from interface: AttributeDef
Gets the precision of a numeric or string attribute.

'Precision' for a string is the maximum length.

Specified by:
getPrecision in interface AttributeDef

getScale

public int getScale()
Description copied from interface: AttributeDef
Get the scale value of a numeric attribute.
Specified by:
getScale in interface AttributeDef

getJavaType

public java.lang.Class getJavaType()
Description copied from interface: AttributeDef
Gets the Java class of the object stored for this attribute definition.
Specified by:
getJavaType in interface AttributeDef

Oracle Application Development Framework Model and Business Components Java API Reference 10.1.3.1.0
B28969-01


Copyright © 1997, 2006, Oracle. All rights reserved.