|
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.common.VariableImpl
oracle.adf.model.binding.DCVariableImpl
public class DCVariableImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface oracle.jbo.AttributeHints |
|---|
AttributeHints.ControlType |
| Field Summary |
|---|
| Fields inherited from class oracle.jbo.common.NamedObjectImpl |
|---|
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX |
| Fields inherited from interface oracle.jbo.Variable |
|---|
VAR_KIND_VIEW_CRITERIA_PARAM, VAR_KIND_WHERE_CLAUSE_PARAM, VAR_KIND_WHERE_OR_CRIT_PARAM |
| 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.JboReservedVarNames |
|---|
RESERVED_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_DEF |
| Fields inherited from interface oracle.jbo.expr.JIReservedVarNames |
|---|
RESERVED_VAR_VALUE |
| Fields inherited from interface oracle.jbo.mom.xml.DefPersistable |
|---|
XML_STATEMENT |
| Constructor Summary | |
|---|---|
DCVariableImpl()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
protected VariableImpl |
createClone()
|
java.lang.Object |
getDefaultValue()
Returns the default value of the attribute. |
int |
getIndex()
Overridden to return -1 for index. |
java.lang.Class |
getJavaType()
Returns the Java type of the attribute. |
int |
getPrecision()
Gets the attribute's precision. |
java.lang.Object |
getProperty(java.lang.String property,
LocaleContext locale)
|
int |
getScale()
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. |
byte |
getUpdateableFlag()
Returns whether the attribute is updateable. |
java.lang.String |
getVariableKind()
|
void |
initFromXML(DefElement xmlElement,
boolean bDesignTime)
*** For internal framework use only *** |
boolean |
isMandatory()
Returns whether the attribute is not null. |
void |
setDefaultValue(java.lang.Object val)
|
| Methods inherited from class java.lang.Object |
|---|
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, refreshProperty |
| Methods inherited from interface oracle.jbo.rules.ValidationManager |
|---|
getFullName, getName |
| Methods inherited from interface oracle.jbo.mom.xml.DefPersistable |
|---|
getFullName |
| Constructor Detail |
|---|
public DCVariableImpl()
| Method Detail |
|---|
protected VariableImpl createClone()
createClone in class VariableImplpublic java.lang.Object clone()
clone in interface Variableclone in class VariableImplpublic java.lang.Object getDefaultValue()
The default value for an attribute is expressed in terms of the Java type system, rather than the storage type system.
getDefaultValue in interface VariablegetDefaultValue in class VariableImplpublic void setDefaultValue(java.lang.Object val)
setDefaultValue in interface VariablesetDefaultValue in class VariableImplpublic int getIndex()
VariableImpl
getIndex in interface AttributeDefgetIndex in class VariableImpl
public void initFromXML(DefElement xmlElement,
boolean bDesignTime)
VariableImpl
initFromXML in class VariableImpl
public java.lang.Object getProperty(java.lang.String property,
LocaleContext locale)
getProperty in interface PropertiesgetProperty in class NamedObjectImplpublic java.lang.String getVariableKind()
getVariableKind in interface VariablegetVariableKind in class VariableImplpublic byte getUpdateableFlag()
VariableImpl
getUpdateableFlag in interface AttributeDefgetUpdateableFlag in class VariableImplpublic boolean isMandatory()
VariableImpl
isMandatory in interface AttributeDefisMandatory in class VariableImplpublic int getPrecision()
VariableImplFor strings, precision is maximum allowed length. For numeric values, precision is the number of significant digits.
getPrecision in interface AttributeDefgetPrecision in class VariableImplpublic int getScale()
VariableImplScale value is meaningful only for numeric attributes.
getScale in interface AttributeDefgetScale in class VariableImplpublic 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 VariableImpl
|
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 | ||||||||