|
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.Object oracle.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 CustomAttribute
getApiName
in class AttributeImpl
public java.lang.String getType()
CustomAttribute
getType
in interface CustomAttribute
public void setRequired(boolean value)
Attribute
setRequired
in interface Attribute
setRequired
in class AttributeImpl
value
- if valud is required for this attributepublic void setRequiredExpression(java.lang.String value)
CustomAttribute
setRequiredExpression
in interface CustomAttribute
value
- the expression to determine if an attribute is required.public java.lang.String getRequiredExpression()
CustomAttribute
getRequiredExpression
in interface CustomAttribute
public void setUpdateableExpression(java.lang.String value)
Attribute
setUpdateableExpression
in interface Attribute
setUpdateableExpression
in class AttributeImpl
value
- the expression to control if this attribute is updateable.public void setDisplayWidth(int value)
CustomAttribute
setDisplayWidth
in interface CustomAttribute
value
- this display widthpublic int getDisplayWidth()
CustomAttribute
getDisplayWidth
in interface CustomAttribute
public void setDisplayHeight(int value)
CustomAttribute
setDisplayHeight
in interface CustomAttribute
value
- the display heightpublic int getDisplayHeight()
CustomAttribute
getDisplayHeight
in interface CustomAttribute
public void setUpdateable(boolean value)
CustomAttribute
setUpdateable
in interface CustomAttribute
value
- if this attribute is updateablepublic boolean isUpdateable()
CustomAttribute
isUpdateable
in interface CustomAttribute
public void setSearchable(boolean value)
CustomAttribute
setSearchable
in interface CustomAttribute
value
- if this attribute is searchablepublic boolean isSearchable()
CustomAttribute
isSearchable
in interface CustomAttribute
public void setIndexed(boolean value)
CustomAttribute
setIndexed
in interface CustomAttribute
value
- if this attribute is indexedpublic boolean isIndexed()
CustomAttribute
isIndexed
in interface CustomAttribute
public void setMinLength(int value)
CustomAttribute
setMinLength
in interface CustomAttribute
value
- the minimum lengthpublic int getMinLength()
CustomAttribute
getMinLength
in interface CustomAttribute
public void setMaxLength(int value)
CustomAttribute
setMaxLength
in interface CustomAttribute
value
- the maximum lengthpublic int getMaxLength()
CustomAttribute
getMaxLength
in interface CustomAttribute
public void setMinValue(java.math.BigDecimal value)
CustomAttribute
setMinValue
in interface CustomAttribute
value
- the minimum valuepublic java.math.BigDecimal getMinValue()
CustomAttribute
getMinValue
in interface CustomAttribute
public void setMaxValue(java.math.BigDecimal value)
CustomAttribute
setMaxValue
in interface CustomAttribute
value
- the maximum valuepublic java.math.BigDecimal getMaxValue()
CustomAttribute
getMaxValue
in interface CustomAttribute
public void setDecimalPlace(int value)
CustomAttribute
setDecimalPlace
in interface CustomAttribute
value
- the decimal placepublic int getDecimalPlace()
CustomAttribute
getDecimalPlace
in interface CustomAttribute
public void setDefaultValue(java.lang.String value)
CustomAttribute
setDefaultValue
in interface CustomAttribute
value
- the default valuepublic java.lang.String getDefaultValue()
CustomAttribute
getDefaultValue
in interface CustomAttribute
public void setExpression(java.lang.String value)
CustomAttribute
setExpression
in interface CustomAttribute
value
- the expressionpublic java.lang.String getExpression()
CustomAttribute
getExpression
in interface CustomAttribute
public boolean isDefaultValueExpression()
CustomAttribute
isDefaultValueExpression
in interface CustomAttribute
public void setDatetimeDisplayType(DatetimeDisplayType displayType)
CustomAttribute
setDatetimeDisplayType
in interface CustomAttribute
displayType
- the display typepublic DatetimeDisplayType getDatetimeDisplayType()
CustomAttribute
getDatetimeDisplayType
in interface CustomAttribute
public void setMultiselectFixedChoiceList(boolean value)
CustomAttribute
setMultiselectFixedChoiceList
in interface CustomAttribute
value
- if the attribute is a multi-select fixed choice listpublic boolean isMultiselectFixedChoiceList()
CustomAttribute
isMultiselectFixedChoiceList
in interface CustomAttribute
public void setFixedChoiceListLookupType(java.lang.String value)
CustomAttribute
setFixedChoiceListLookupType
in interface CustomAttribute
value
- the lookup typepublic java.lang.String getFixedChoiceListLookupType()
CustomAttribute
getFixedChoiceListLookupType
in interface CustomAttribute
getFixedChoiceListLookupType
in class AttributeImpl
public void setParentChoiceList(Attribute parent, java.util.Map<java.lang.String,java.util.List> valueMap)
CustomAttribute
setParentChoiceList
in interface CustomAttribute
parent
- the attribute of the parent choice listvalueMap
- the value mapping between the parent choice list and this attributepublic AttributeImpl getParentChoiceList()
CustomAttribute
getParentChoiceList
in interface CustomAttribute
public java.util.Map<java.lang.String,java.util.List> getFixedChoiceListValueMap()
CustomAttribute
getFixedChoiceListValueMap
in interface CustomAttribute
public void setListDisplayAttribute(Attribute dataSourceAttribute)
CustomAttribute
setListDisplayAttribute
in interface CustomAttribute
dataSourceAttribute
- the list display attributepublic AttributeImpl getListDisplayAttribute()
CustomAttribute
getListDisplayAttribute
in interface CustomAttribute
public void addDisplayAttribute(Attribute attr)
CustomAttribute
addDisplayAttribute
in interface CustomAttribute
attr
- the attribute to be addedpublic void removeDisplayAttr(Attribute attr)
CustomAttribute
removeDisplayAttr
in interface CustomAttribute
attr
- the attribute to be removedpublic java.util.List<java.lang.String> getDisplayAttrs()
CustomAttribute
getDisplayAttrs
in interface CustomAttribute
public void addSearchAttribute(Attribute attr)
CustomAttribute
addSearchAttribute
in interface CustomAttribute
attr
- the attribute to be addedpublic void removeSearchAttr(Attribute attr)
CustomAttribute
removeSearchAttr
in interface CustomAttribute
attr
- the attribute to be removedpublic java.util.List<java.lang.String> getSearchAttrs()
CustomAttribute
getSearchAttrs
in interface CustomAttribute
public void setFormulaType(FormulaType formulaType)
CustomAttribute
setFormulaType
in interface CustomAttribute
formulaType
- formula typepublic FormulaType getFormulaType()
CustomAttribute
getFormulaType
in interface CustomAttribute
public void setProperty(java.lang.String property, java.lang.Object value)
setProperty
in interface CustomAttribute
setProperty
in class BusinessEditorObjectImpl
public boolean isRemovable()
Attribute
isRemovable
in interface Attribute
isRemovable
in class AttributeImpl
protected void preCommit()
preCommit
in class BusinessEditorBaseObjectImpl
protected void postCommit()
postCommit
in class BusinessEditorBaseObjectImpl
protected void doRollback()
doRollback
in class AttributeImpl
protected void initFlowForNewObject()
initFlowForNewObject
in class BusinessEditorBaseObjectImpl
protected void initFlowForExistingObject()
initFlowForExistingObject
in class BusinessEditorBaseObjectImpl
protected void finishFlowForNewObject()
finishFlowForNewObject
in class BusinessEditorBaseObjectImpl
protected void finishFlowForExistingObject()
finishFlowForExistingObject
in class BusinessEditorBaseObjectImpl
protected void cancelFlowForNewObject()
cancelFlowForNewObject
in class BusinessEditorBaseObjectImpl
protected void cancelFlowForExistingObject()
cancelFlowForExistingObject
in class BusinessEditorBaseObjectImpl
protected oracle.jbo.ViewObject getViewObjectBeingEdited()
getViewObjectBeingEdited
in class BusinessEditorBaseObjectImpl
protected void initialize()
initialize
in class BusinessEditorBaseObjectImpl
protected void writeObject(oracle.jbo.Row object)
writeObject
in class BusinessEditorBaseObjectImpl
protected 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 AttributeImpl
protected 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 |