|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model Business Editor Objects 11g Release 1 (11.1.1.7.0) E36215-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.adfinternal.businesseditor.objects.BusinessEditorBaseObjectImpl
oracle.adfinternal.businesseditor.objects.BusinessEditorObjectImpl
oracle.adfinternal.businesseditor.objects.AttributeImpl
oracle.adfinternal.businesseditor.objects.CustomAttributeImpl
public final class CustomAttributeImpl
For internal framework use only. A custom attribute for a business object.
| Constructor Summary | |
|---|---|
protected |
CustomAttributeImpl(BusinessObjectImpl bo,
java.lang.String attrName,
java.lang.String type)
|
| Method Summary | |
|---|---|
void |
addDisplayAttribute(Attribute attr)
Adds an attribute to be included in the List of Values window for context. |
void |
addSearchAttribute(Attribute attr)
Adds an attribute to be included as search criteria in addition to the selection display value |
protected void |
cancelFlowForExistingObject()
|
protected void |
cancelFlowForNewObject()
|
protected void |
doRollback()
|
protected void |
finishFlowForExistingObject()
|
protected void |
finishFlowForNewObject()
|
java.lang.String |
getApiName()
Returns the API name of the custom attribte. |
DatetimeDisplayType |
getDatetimeDisplayType()
Returns the display type of this attribute. |
int |
getDecimalPlace()
Returns the decimal place of this attribute |
java.lang.String |
getDefaultValue()
Returns the default value of this attribute. |
java.util.List<java.lang.String> |
getDisplayAttrs()
Returns list of display attributes that is included in the List of Values window for context. |
int |
getDisplayHeight()
Returns the display height of this attribute. |
int |
getDisplayWidth()
Returns the display width of this attribute. |
java.lang.String |
getExpression()
Returns the expression of this attribute. |
java.lang.String |
getFixedChoiceListLookupType()
Returns the lookup type of the fixed choice list attribute. |
java.util.Map<java.lang.String,java.util.List> |
getFixedChoiceListValueMap()
Gets the value map if this attribute is a cascading picklist. |
FormulaType |
getFormulaType()
Returns the type of data the expression will be setting as this attribute value. |
AttributeImpl |
getListDisplayAttribute()
Retursn the list display attribute. |
protected java.lang.String |
getLogicalType()
|
int |
getMaxLength()
Returns the maximum length of this attribute. |
java.math.BigDecimal |
getMaxValue()
Returns the maximum value of this attribute. |
int |
getMinLength()
Returns the minimum length of this attribute. |
java.math.BigDecimal |
getMinValue()
Returns the minimum value of this attribute. |
protected ObjectType |
getObjectType()
|
AttributeImpl |
getParentChoiceList()
Gets the parent the choice list that constrains the values in this choice list. |
java.lang.String |
getRequiredExpression()
Returns the expression that determine if this attribute is required. |
java.util.List<java.lang.String> |
getSearchAttrs()
Return list of attributes that are included as search criteria in addition to the selection display value. |
java.lang.String |
getType()
Returns the type of this attribute. |
protected oracle.jbo.ViewObject |
getViewObjectBeingEdited()
|
protected void |
initFlowForExistingObject()
|
protected void |
initFlowForNewObject()
|
protected void |
initialize()
|
boolean |
isDefaultValueExpression()
Returns if the default value of this attribute is an expression. |
boolean |
isIndexed()
Returns if the attribute is indexed. |
boolean |
isMultiselectFixedChoiceList()
Returns if this attribute is a multi-select fixed choice list. |
protected boolean |
isPropertyUpdateable(java.lang.String property)
|
boolean |
isRemovable()
Returns if this attribute is removable. |
boolean |
isSearchable()
Returns if this attribute is searchable. |
boolean |
isUpdateable()
Returns if this attribute is updateable |
protected void |
postCommit()
|
protected void |
preCommit()
|
void |
removeDisplayAttr(Attribute attr)
Removes an attribute from being included in the List of Values window for context. |
void |
removeSearchAttr(Attribute attr)
Removes an attribute from being included as search criteria in addition to the selection display value. |
void |
setDatetimeDisplayType(DatetimeDisplayType displayType)
Sets the display type of a Datetime attribute. |
void |
setDecimalPlace(int value)
Sets the decimal place of this attribute. |
void |
setDefaultValue(java.lang.String value)
Sets the default value of this attribute. |
void |
setDisplayHeight(int value)
Sets the display height of this attribute. |
void |
setDisplayWidth(int value)
Sets the display width of this attribute. |
void |
setExpression(java.lang.String value)
Sets the expression of this attribute. |
void |
setFixedChoiceListLookupType(java.lang.String value)
Sets the lookup type of the fixed choice list attribute. |
void |
setFormulaType(FormulaType formulaType)
Sets the type of data the expression will be setting as this attribute value. |
void |
setIndexed(boolean value)
Sets if this attribute is indexed. |
void |
setListDisplayAttribute(Attribute dataSourceAttribute)
Sets the list display attribute. |
void |
setMaxLength(int value)
Sets the maximum length of this attribute. |
void |
setMaxValue(java.math.BigDecimal value)
Sets the maximum value of this attribute. |
void |
setMinLength(int value)
Sets the minimum length of this attribute. |
void |
setMinValue(java.math.BigDecimal value)
Sets the minimum value of this attribute. |
void |
setMultiselectFixedChoiceList(boolean value)
Sets if the attribute is a multi-select fixed choice list. |
void |
setParentChoiceList(Attribute parent,
java.util.Map<java.lang.String,java.util.List> valueMap)
Sets the parent choice list that constrains the values in this choice list. |
void |
setProperty(java.lang.String property,
java.lang.Object value)
|
protected void |
setProperty(java.lang.String property,
java.lang.Object value,
boolean checkUpdateable)
|
protected void |
setProperty(java.lang.String property,
java.lang.Object value,
java.lang.String propertyUpdateable)
|
void |
setRequired(boolean value)
Sets if value is required for this attribute. |
void |
setRequiredExpression(java.lang.String value)
Sets the expression that determine if an attribute is required. |
void |
setSearchable(boolean value)
Sets if this attribute is searchable. |
void |
setUpdateable(boolean value)
Sets if the attribute is updateable. |
void |
setUpdateableExpression(java.lang.String value)
Registers the expression that control if this attribute is updateable. |
protected void |
writeObject(oracle.jbo.Row object)
|
| Methods inherited from class oracle.adfinternal.businesseditor.objects.AttributeImpl |
|---|
addAttrToList, addDependencyAttr, addTrigger, createTrigger, createTrigger, createValidator, deleteTrigger, deleteValidator, doCommit, findTrigger, findValidator, getBusinessObjectFullName, getDependencyAttrs, getDisplayLabel, getGroupHelper, getHelpText, getTriggers, getUpdateableExpression, getValidators, isRequired, removeAttrFromList, removeDependencyAttr, renameTrigger, renameValidator, setDisplayLabel, setHelpText, setTriggerPopulated |
| Methods inherited from class oracle.adfinternal.businesseditor.objects.BusinessEditorObjectImpl |
|---|
getBusinessEditor, getBusinessEditorLogic, getBusinessEditorManager, getBusinessEditorViewLogic, getDescription, getName, getObjectKey, getProperty, setDescription, setName |
| Methods inherited from class oracle.adfinternal.businesseditor.objects.BusinessEditorBaseObjectImpl |
|---|
canPopulateChildren, checkLoadObject, containsProperty, ensureVerified, getContainer, getLocalizedString, getPropertyNoLoad, isLoaded, isNew, isNotVerified, populateChildren, readObject, removeProperty, setDirty, setNew, setNotExist, setPropertyNoLoad, setVerified, valuesDiffer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.adf.businesseditor.objects.Attribute |
|---|
addDependencyAttr, createTrigger, createTrigger, createValidator, deleteTrigger, deleteValidator, findTrigger, findValidator, getDependencyAttrs, getDescription, getDisplayLabel, getHelpText, getName, getTriggers, getUpdateableExpression, getValidators, isRequired, removeDependencyAttr, setDescription, setDisplayLabel, setHelpText |
| Constructor Detail |
|---|
protected CustomAttributeImpl(BusinessObjectImpl bo,
java.lang.String attrName,
java.lang.String type)
| Method Detail |
|---|
public java.lang.String getApiName()
CustomAttribute
getApiName in interface CustomAttributegetApiName in class AttributeImplpublic java.lang.String getType()
CustomAttribute
getType in interface CustomAttributepublic void setRequired(boolean value)
Attribute
setRequired in interface AttributesetRequired in class AttributeImplvalue - if valud is required for this attributepublic void setRequiredExpression(java.lang.String value)
CustomAttribute
setRequiredExpression in interface CustomAttributevalue - the expression to determine if an attribute is required.public java.lang.String getRequiredExpression()
CustomAttribute
getRequiredExpression in interface CustomAttributepublic void setUpdateableExpression(java.lang.String value)
Attribute
setUpdateableExpression in interface AttributesetUpdateableExpression in class AttributeImplvalue - the expression to control if this attribute is updateable.public void setDisplayWidth(int value)
CustomAttribute
setDisplayWidth in interface CustomAttributevalue - this display widthpublic int getDisplayWidth()
CustomAttribute
getDisplayWidth in interface CustomAttributepublic void setDisplayHeight(int value)
CustomAttribute
setDisplayHeight in interface CustomAttributevalue - the display heightpublic int getDisplayHeight()
CustomAttribute
getDisplayHeight in interface CustomAttributepublic void setUpdateable(boolean value)
CustomAttribute
setUpdateable in interface CustomAttributevalue - if this attribute is updateablepublic boolean isUpdateable()
CustomAttribute
isUpdateable in interface CustomAttributepublic void setSearchable(boolean value)
CustomAttribute
setSearchable in interface CustomAttributevalue - if this attribute is searchablepublic boolean isSearchable()
CustomAttribute
isSearchable in interface CustomAttributepublic void setIndexed(boolean value)
CustomAttribute
setIndexed in interface CustomAttributevalue - if this attribute is indexedpublic boolean isIndexed()
CustomAttribute
isIndexed in interface CustomAttributepublic void setMinLength(int value)
CustomAttribute
setMinLength in interface CustomAttributevalue - the minimum lengthpublic int getMinLength()
CustomAttribute
getMinLength in interface CustomAttributepublic void setMaxLength(int value)
CustomAttribute
setMaxLength in interface CustomAttributevalue - the maximum lengthpublic int getMaxLength()
CustomAttribute
getMaxLength in interface CustomAttributepublic void setMinValue(java.math.BigDecimal value)
CustomAttribute
setMinValue in interface CustomAttributevalue - the minimum valuepublic java.math.BigDecimal getMinValue()
CustomAttribute
getMinValue in interface CustomAttributepublic void setMaxValue(java.math.BigDecimal value)
CustomAttribute
setMaxValue in interface CustomAttributevalue - the maximum valuepublic java.math.BigDecimal getMaxValue()
CustomAttribute
getMaxValue in interface CustomAttributepublic void setDecimalPlace(int value)
CustomAttribute
setDecimalPlace in interface CustomAttributevalue - the decimal placepublic int getDecimalPlace()
CustomAttribute
getDecimalPlace in interface CustomAttributepublic void setDefaultValue(java.lang.String value)
CustomAttribute
setDefaultValue in interface CustomAttributevalue - the default valuepublic java.lang.String getDefaultValue()
CustomAttribute
getDefaultValue in interface CustomAttributepublic void setExpression(java.lang.String value)
CustomAttribute
setExpression in interface CustomAttributevalue - the expressionpublic java.lang.String getExpression()
CustomAttribute
getExpression in interface CustomAttributepublic boolean isDefaultValueExpression()
CustomAttribute
isDefaultValueExpression in interface CustomAttributepublic void setDatetimeDisplayType(DatetimeDisplayType displayType)
CustomAttribute
setDatetimeDisplayType in interface CustomAttributedisplayType - the display typepublic DatetimeDisplayType getDatetimeDisplayType()
CustomAttribute
getDatetimeDisplayType in interface CustomAttributepublic void setMultiselectFixedChoiceList(boolean value)
CustomAttribute
setMultiselectFixedChoiceList in interface CustomAttributevalue - if the attribute is a multi-select fixed choice listpublic boolean isMultiselectFixedChoiceList()
CustomAttribute
isMultiselectFixedChoiceList in interface CustomAttributepublic void setFixedChoiceListLookupType(java.lang.String value)
CustomAttribute
setFixedChoiceListLookupType in interface CustomAttributevalue - the lookup typepublic java.lang.String getFixedChoiceListLookupType()
CustomAttribute
getFixedChoiceListLookupType in interface CustomAttributegetFixedChoiceListLookupType in class AttributeImpl
public void setParentChoiceList(Attribute parent,
java.util.Map<java.lang.String,java.util.List> valueMap)
CustomAttribute
setParentChoiceList in interface CustomAttributeparent - the attribute of the parent choice listvalueMap - the value mapping between the parent choice list and this attributepublic AttributeImpl getParentChoiceList()
CustomAttribute
getParentChoiceList in interface CustomAttributepublic java.util.Map<java.lang.String,java.util.List> getFixedChoiceListValueMap()
CustomAttribute
getFixedChoiceListValueMap in interface CustomAttributepublic void setListDisplayAttribute(Attribute dataSourceAttribute)
CustomAttribute
setListDisplayAttribute in interface CustomAttributedataSourceAttribute - the list display attributepublic AttributeImpl getListDisplayAttribute()
CustomAttribute
getListDisplayAttribute in interface CustomAttributepublic void addDisplayAttribute(Attribute attr)
CustomAttribute
addDisplayAttribute in interface CustomAttributeattr - the attribute to be addedpublic void removeDisplayAttr(Attribute attr)
CustomAttribute
removeDisplayAttr in interface CustomAttributeattr - the attribute to be removedpublic java.util.List<java.lang.String> getDisplayAttrs()
CustomAttribute
getDisplayAttrs in interface CustomAttributepublic void addSearchAttribute(Attribute attr)
CustomAttribute
addSearchAttribute in interface CustomAttributeattr - the attribute to be addedpublic void removeSearchAttr(Attribute attr)
CustomAttribute
removeSearchAttr in interface CustomAttributeattr - the attribute to be removedpublic java.util.List<java.lang.String> getSearchAttrs()
CustomAttribute
getSearchAttrs in interface CustomAttributepublic void setFormulaType(FormulaType formulaType)
CustomAttribute
setFormulaType in interface CustomAttributeformulaType - formula typepublic FormulaType getFormulaType()
CustomAttribute
getFormulaType in interface CustomAttribute
public void setProperty(java.lang.String property,
java.lang.Object value)
setProperty in interface CustomAttributesetProperty in class BusinessEditorObjectImplpublic boolean isRemovable()
Attribute
isRemovable in interface AttributeisRemovable in class AttributeImplprotected void preCommit()
preCommit in class BusinessEditorBaseObjectImplprotected void postCommit()
postCommit in class BusinessEditorBaseObjectImplprotected void doRollback()
doRollback in class AttributeImplprotected void initFlowForNewObject()
initFlowForNewObject in class BusinessEditorBaseObjectImplprotected void initFlowForExistingObject()
initFlowForExistingObject in class BusinessEditorBaseObjectImplprotected void finishFlowForNewObject()
finishFlowForNewObject in class BusinessEditorBaseObjectImplprotected void finishFlowForExistingObject()
finishFlowForExistingObject in class BusinessEditorBaseObjectImplprotected void cancelFlowForNewObject()
cancelFlowForNewObject in class BusinessEditorBaseObjectImplprotected void cancelFlowForExistingObject()
cancelFlowForExistingObject in class BusinessEditorBaseObjectImplprotected oracle.jbo.ViewObject getViewObjectBeingEdited()
getViewObjectBeingEdited in class BusinessEditorBaseObjectImplprotected void initialize()
initialize in class BusinessEditorBaseObjectImplprotected void writeObject(oracle.jbo.Row object)
writeObject in class BusinessEditorBaseObjectImplprotected boolean isPropertyUpdateable(java.lang.String property)
protected void setProperty(java.lang.String property,
java.lang.Object value,
boolean checkUpdateable)
protected void setProperty(java.lang.String property,
java.lang.Object value,
java.lang.String propertyUpdateable)
protected java.lang.String getLogicalType()
getLogicalType in class AttributeImplprotected ObjectType getObjectType()
getObjectType in class BusinessEditorBaseObjectImpl
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model Business Editor Objects 11g Release 1 (11.1.1.7.0) E36215-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||