|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.jbo.common.PropertiesHelper
oracle.jbo.common.AttributeDefHelper
oracle.jbo.client.remote.AttributeDefImpl
public class AttributeDefImpl
The AttributeDefHelper class implement the AttributeDef interface
RowImpl, Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface oracle.jbo.AttributeHints |
|---|
AttributeHints.ControlType |
| Field Summary |
|---|
| Fields inherited from class oracle.jbo.common.AttributeDefHelper |
|---|
HISTORY_TYPE_RESERVED_IDS |
| Fields inherited from class oracle.jbo.common.PropertiesHelper |
|---|
mProperties |
| Fields inherited from interface oracle.jbo.GenericHints |
|---|
PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIP |
| 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 | |
|---|---|
boolean |
displayInShortForm(LocaleContext locale)Returns true if the attribute is to displayed in the short(summary) form. |
ViewObject |
getAccessorVO(ViewObject originVO)For an accessor attribute, this method creates a View Object that works for the View Link definition. |
java.util.ArrayList |
getCompOpers() |
java.lang.String[][] |
getCompOpers(LocaleContext locale)Returns a Map of operators for this attribute. |
int |
getControlType(LocaleContext locale)Returns the preferred control type for this attribute |
int |
getDisplayHeight(LocaleContext locale)Returns the display width for this attribute |
java.lang.String |
getDisplayHint(LocaleContext locale)Retrieves the displya hint that dictates whether this attributr should be visible or not. |
int |
getDisplayWidth(LocaleContext locale)Returns the display width for this attribute |
java.lang.String |
getFormat(LocaleContext locale)returns the format string stored in the ui hints |
java.lang.String |
getFormattedAttribute(AttributeList attrList, LocaleContext locale)Returns the formatted value for the attribute. |
Formatter |
getFormatter(LocaleContext locale)returns the formatter object stored in the ui hints |
java.lang.String |
getFormatterClassName(LocaleContext locale)returns the formatter object stored in the ui hints |
java.lang.String |
getHint(LocaleContext locale, java.lang.String sHintName)Return defaulted hint value |
java.lang.String |
getHintValue(LocaleContext locale, java.lang.String sHintName)Return non-defaulted hint value |
java.lang.String |
getLabel(LocaleContext locale)Retrieves the label to be used in any attribute prompts |
java.lang.String |
getLabelPlural(LocaleContext locale)Retrives the label_plural text to be used for this attribute |
ListBindingDef |
getListBindingDef() |
java.lang.String |
getLocaleName(LocaleContext locale, java.lang.String sName)function for retrieving the locale name of a hint |
java.util.Map |
getOperators(LocaleContext locale) |
java.util.Hashtable |
getProperties()Returns all Properties |
java.lang.Object |
getProperty(java.lang.String hintName)Retrieves the specified property, if it exists. |
java.lang.Object |
getProperty(java.lang.String hintName, LocaleContext locale) |
java.lang.String |
getTooltip(LocaleContext locale)Retrives the tooltip text to be used for this attribute |
AttributeHints |
getUIHelper()return the AttributeHints interface implemented by this class |
boolean |
hasFormatInformation(LocaleContext locale)Return true if any format hints have been defined for this attribute. |
boolean |
isAutoSubmit(LocaleContext locale)Returns the autoSubmit value for this attribute |
java.lang.Object |
parseFormattedAttribute(java.lang.String sValue, LocaleContext locale)Strips off the formatting from a string and constructs an instance of the attribute's domain using the 'clean' string as a parameter of the contructor. |
void |
setProperty(java.lang.String hintName, java.lang.Object hintValue) |
| Methods inherited from class oracle.jbo.common.AttributeDefHelper |
|---|
convertUpdateableFlagToString, convertUpdateableStringToFlag, getAttributeKind, getColumnName, getColumnNameForQuery, getElemSQLType, getElemType, getIndex, getJavaType, getJavaTypeName, getLOVName, getName, getPrecision, getScale, getSQLType, getTypeGroup, getUpdateableFlag, isDiscrColumn, isFromReference, isMandatory, isPrimaryKey, isQueriable, isSelected, parseFormattedAttribute, setName |
| Methods inherited from class oracle.jbo.common.PropertiesHelper |
|---|
closeObject, getImageLoc, isReadOnly, refreshProperties, refreshProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.jbo.Properties |
|---|
refreshProperty |
| Method Detail |
|---|
public java.util.Hashtable getProperties()
getProperties in interface PropertiesgetProperties in class PropertiesHelperpublic AttributeHints getUIHelper()
getUIHelper in interface AttributeDefAttributeHints
public java.lang.String getLocaleName(LocaleContext locale,
java.lang.String sName)
AttributeHintsgetLocaleName in interface AttributeHintspublic java.util.ArrayList getCompOpers()
public java.lang.String[][] getCompOpers(LocaleContext locale)
AttributeHintsgetCompOpers in interface AttributeHints
public java.lang.Object getProperty(java.lang.String hintName,
LocaleContext locale)
getProperty in interface PropertiesgetProperty in class PropertiesHelperpublic java.lang.Object getProperty(java.lang.String hintName)
PropertiesgetProperty in interface PropertiesgetProperty in class PropertiesHelperhintName - Property name.null.
public void setProperty(java.lang.String hintName,
java.lang.Object hintValue)
setProperty in class PropertiesHelperpublic java.lang.String getLabel(LocaleContext locale)
getLabel in interface GenericHintspublic java.util.Map getOperators(LocaleContext locale)
public java.lang.String getTooltip(LocaleContext locale)
getTooltip in interface GenericHintspublic java.lang.String getLabelPlural(LocaleContext locale)
getLabelPlural in interface GenericHintspublic java.lang.String getDisplayHint(LocaleContext locale)
getDisplayHint in interface AttributeHintspublic int getControlType(LocaleContext locale)
getControlType in interface AttributeHintspublic int getDisplayWidth(LocaleContext locale)
getDisplayWidth in interface AttributeHintspublic int getDisplayHeight(LocaleContext locale)
getDisplayHeight in interface AttributeHintspublic boolean isAutoSubmit(LocaleContext locale)
isAutoSubmit in interface AttributeHints
public java.lang.String getHint(LocaleContext locale,
java.lang.String sHintName)
getHint in interface AttributeHints
public java.lang.String getHintValue(LocaleContext locale,
java.lang.String sHintName)
getHintValue in interface GenericHintspublic java.lang.String getFormat(LocaleContext locale)
AttributeHintsgetFormat in interface AttributeHintspublic Formatter getFormatter(LocaleContext locale)
AttributeHintsgetFormatter in interface AttributeHintspublic boolean hasFormatInformation(LocaleContext locale)
AttributeHintshasFormatInformation in interface AttributeHints
public java.lang.String getFormattedAttribute(AttributeList attrList,
LocaleContext locale)
AttributeHintsgetFormattedAttribute in interface AttributeHints
public java.lang.Object parseFormattedAttribute(java.lang.String sValue,
LocaleContext locale)
AttributeHintsparseFormattedAttribute in interface AttributeHintspublic boolean displayInShortForm(LocaleContext locale)
AttributeHintsdisplayInShortForm in interface AttributeHintspublic java.lang.String getFormatterClassName(LocaleContext locale)
getFormatterClassName in interface AttributeHintspublic ViewObject getAccessorVO(ViewObject originVO)
AttributeDefgetAccessorVO in interface AttributeDefgetAccessorVO in class AttributeDefHelperoriginVO - the View Object that owns the accessorViewObject instance.public ListBindingDef getListBindingDef()
getListBindingDef in interface AttributeDef
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||