|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Variable
Defines a named variable. Variable extends AttributeDef so that various AttributeDef support including validation, properties and bindings are made available to Variable too. However there is no support or inclusion of Variable in StructureDef apis.
Field Summary | |
---|---|
static java.lang.String |
VAR_KIND_VIEW_CRITERIA_PARAM |
static java.lang.String |
VAR_KIND_WHERE_CLAUSE_PARAM |
static java.lang.String |
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 |
Method Summary | |
---|---|
java.util.Map |
_getDomainContext() |
java.lang.Object |
clone() |
java.lang.Object |
convertToJava(java.lang.Object data) |
java.lang.Object |
evaluateTransientExpression(VariableManagerOwnerBase owner) |
byte |
getAttributeKind() Gets the attribute value. |
java.lang.String |
getColumnName() Overridden to return null in Variable implementations. |
java.lang.String |
getColumnNameForQuery() Overridden to return null in Variable implementations. |
java.lang.String |
getColumnType() This method is used if the variable is of array type to get to the type name created in the database to store the array values. |
java.lang.Object |
getDefaultValue() |
int |
getElemSQLType() Overridden to return -1; |
java.lang.Object |
getExtendedData() |
java.lang.String |
getJavaTypeName() |
java.lang.String |
getSerializerClassName() Gets the name of the custom value serializer class. |
int |
getSQLType() Overridden to return -1; |
java.lang.String |
getTransientExpression() |
ValueSerializer |
getValueSerializer() Gets an instance of the custom value serializer class. |
java.lang.String |
getVariableKind() |
VariableManager |
getVariableManager() |
java.lang.Object |
getXMLContentValue(Element varElem) Converts an XML element to an instance of this variable's Java type. |
boolean |
isDefinedDefaultValue() Passivation uses this to tell if the current value is the meta-data default. |
boolean |
isPassivationNeeded() Tells the framework whether or not to include this definition in the passivation snapshot that is about to occur. |
boolean |
isPrimaryKey() Overridden to return false; |
void |
setColumnType(java.lang.String columnType) This method is used to set the name of the table created in the database to store the array values. |
void |
setDefaultValue(java.lang.Object val) |
void |
setExtendedData(java.lang.Object data) |
void |
setJavaType(java.lang.Class cls) |
void |
setMandatory(boolean b) |
void |
setName(java.lang.String name) |
void |
setPrecisionScale(int prec, int scale) |
void |
setSerializerClassName(java.lang.String className) Sets the name of the custom value serializer class. |
void |
setTransientExpression(java.lang.String expr) |
void |
setUpdateableFlag(byte updateable) |
void |
setVariableKind(java.lang.String kind) |
void |
setVariableManager(VariableManager manager) |
Methods inherited from interface oracle.jbo.AttributeDef |
---|
getAccessorVO, getElemType, getIndex, getJavaType, getListBindingDef, getLOVName, getName, getPrecision, getScale, getUIHelper, getUpdateableFlag, isDiscrColumn, isMandatory, isQueriable, isSelected |
Methods inherited from interface oracle.jbo.Properties |
---|
getProperties, getProperty, getProperty, refreshProperty |
Field Detail |
---|
static final java.lang.String VAR_KIND_WHERE_CLAUSE_PARAM
static final java.lang.String VAR_KIND_VIEW_CRITERIA_PARAM
static final java.lang.String VAR_KIND_WHERE_OR_CRIT_PARAM
Method Detail |
---|
java.lang.Object clone()
void setName(java.lang.String name)
VariableManager getVariableManager()
void setVariableManager(VariableManager manager)
java.lang.String getJavaTypeName()
java.lang.String getVariableKind()
void setVariableKind(java.lang.String kind)
java.lang.Object getExtendedData()
void setExtendedData(java.lang.Object data)
java.lang.Object getDefaultValue()
void setDefaultValue(java.lang.Object val)
void setPrecisionScale(int prec, int scale)
void setUpdateableFlag(byte updateable)
void setMandatory(boolean b)
void setJavaType(java.lang.Class cls)
java.lang.Object convertToJava(java.lang.Object data)
byte getAttributeKind()
AttributeDef
getAttributeKind
in interface AttributeDef
java.lang.String getColumnName()
getColumnName
in interface AttributeDef
java.lang.String getColumnType()
where ATTR.COLUMNNAME in (select column_value from table(cast(:VAR.NAME as VAR.COLUMNTYPE)))
void setColumnType(java.lang.String columnType)
where ATTR.COLUMNNAME in (select column_value from table(cast(:VAR.NAME as VAR.COLUMNTYPE)))
columnType
- The table name created in the database to store array valuesjava.lang.String getColumnNameForQuery()
getColumnNameForQuery
in interface AttributeDef
int getSQLType()
getSQLType
in interface AttributeDef
Types
boolean isPrimaryKey()
isPrimaryKey
in interface AttributeDef
true
if this is either a Primary Key attribute or part of the attributes that constitute the Primary Key for a given row.int getElemSQLType()
getElemSQLType
in interface AttributeDef
boolean isPassivationNeeded()
boolean isDefinedDefaultValue()
java.lang.String getTransientExpression()
void setTransientExpression(java.lang.String expr)
java.lang.Object evaluateTransientExpression(VariableManagerOwnerBase owner)
java.util.Map _getDomainContext()
void setSerializerClassName(java.lang.String className)
ValueSerializer
interface.className
- name of the custom value serializer classjava.lang.String getSerializerClassName()
null
if it is not defined.ValueSerializer getValueSerializer()
null
if it is not defined.JboException
- if an error occurs loading the custom class or instantiating the objectVariableValueManager.writeVarsToXML(Document, Element, boolean)
java.lang.Object getXMLContentValue(Element varElem)
varElem
- an XML element containing the serialized variable valueVariableValueManager.readVarsFromXML(Element)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |