public final class CustomAttributeImpl extends AttributeImpl implements CustomAttribute
| Modifier | Constructor and Description |
|---|---|
protected |
CustomAttributeImpl(BusinessObjectImpl bo, java.lang.String attrName, java.lang.String type) |
| Modifier and Type | Method and Description |
|---|---|
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.adf.businesseditor.model.views.NewObjectAttributeImpl |
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) |
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, setTriggerPopulatedgetBusinessEditor, getBusinessEditorLogic, getBusinessEditorManager, getBusinessEditorViewLogic, getDescription, getName, getObjectKey, getProperty, setDescription, setNamecanPopulateChildren, checkLoadObject, containsProperty, ensureVerified, getContainer, getLocalizedString, getPropertyNoLoad, isLoaded, isNew, isNotVerified, populateChildren, readObject, removeProperty, setDirty, setNew, setNotExist, setPropertyNoLoad, setVerified, valuesDifferclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDependencyAttr, createTrigger, createTrigger, createValidator, deleteTrigger, deleteValidator, findTrigger, findValidator, getDependencyAttrs, getDescription, getDisplayLabel, getHelpText, getName, getTriggers, getUpdateableExpression, getValidators, isRequired, removeDependencyAttr, setDescription, setDisplayLabel, setHelpTextprotected CustomAttributeImpl(BusinessObjectImpl bo, java.lang.String attrName, java.lang.String type)
public java.lang.String getApiName()
CustomAttributegetApiName in interface CustomAttributegetApiName in class AttributeImplpublic java.lang.String getType()
CustomAttributegetType in interface CustomAttributepublic void setRequired(boolean value)
AttributesetRequired in interface AttributesetRequired in class AttributeImplvalue - if valud is required for this attributepublic void setRequiredExpression(java.lang.String value)
CustomAttributesetRequiredExpression in interface CustomAttributevalue - the expression to determine if an attribute is required.public java.lang.String getRequiredExpression()
CustomAttributegetRequiredExpression in interface CustomAttributepublic void setUpdateableExpression(java.lang.String value)
AttributesetUpdateableExpression in interface AttributesetUpdateableExpression in class AttributeImplvalue - the expression to control if this attribute is updateable.public void setDisplayWidth(int value)
CustomAttributesetDisplayWidth in interface CustomAttributevalue - this display widthpublic int getDisplayWidth()
CustomAttributegetDisplayWidth in interface CustomAttributepublic void setDisplayHeight(int value)
CustomAttributesetDisplayHeight in interface CustomAttributevalue - the display heightpublic int getDisplayHeight()
CustomAttributegetDisplayHeight in interface CustomAttributepublic void setUpdateable(boolean value)
CustomAttributesetUpdateable in interface CustomAttributevalue - if this attribute is updateablepublic boolean isUpdateable()
CustomAttributeisUpdateable in interface CustomAttributepublic void setSearchable(boolean value)
CustomAttributesetSearchable in interface CustomAttributevalue - if this attribute is searchablepublic boolean isSearchable()
CustomAttributeisSearchable in interface CustomAttributepublic void setIndexed(boolean value)
CustomAttributesetIndexed in interface CustomAttributevalue - if this attribute is indexedpublic boolean isIndexed()
CustomAttributeisIndexed in interface CustomAttributepublic void setMinLength(int value)
CustomAttributesetMinLength in interface CustomAttributevalue - the minimum lengthpublic int getMinLength()
CustomAttributegetMinLength in interface CustomAttributepublic void setMaxLength(int value)
CustomAttributesetMaxLength in interface CustomAttributevalue - the maximum lengthpublic int getMaxLength()
CustomAttributegetMaxLength in interface CustomAttributepublic void setMinValue(java.math.BigDecimal value)
CustomAttributesetMinValue in interface CustomAttributevalue - the minimum valuepublic java.math.BigDecimal getMinValue()
CustomAttributegetMinValue in interface CustomAttributepublic void setMaxValue(java.math.BigDecimal value)
CustomAttributesetMaxValue in interface CustomAttributevalue - the maximum valuepublic java.math.BigDecimal getMaxValue()
CustomAttributegetMaxValue in interface CustomAttributepublic void setDecimalPlace(int value)
CustomAttributesetDecimalPlace in interface CustomAttributevalue - the decimal placepublic int getDecimalPlace()
CustomAttributegetDecimalPlace in interface CustomAttributepublic void setDefaultValue(java.lang.String value)
CustomAttributesetDefaultValue in interface CustomAttributevalue - the default valuepublic java.lang.String getDefaultValue()
CustomAttributegetDefaultValue in interface CustomAttributepublic void setExpression(java.lang.String value)
CustomAttributesetExpression in interface CustomAttributevalue - the expressionpublic java.lang.String getExpression()
CustomAttributegetExpression in interface CustomAttributepublic boolean isDefaultValueExpression()
CustomAttributeisDefaultValueExpression in interface CustomAttributepublic void setDatetimeDisplayType(DatetimeDisplayType displayType)
CustomAttributesetDatetimeDisplayType in interface CustomAttributedisplayType - the display typepublic DatetimeDisplayType getDatetimeDisplayType()
CustomAttributegetDatetimeDisplayType in interface CustomAttributepublic void setMultiselectFixedChoiceList(boolean value)
CustomAttributesetMultiselectFixedChoiceList in interface CustomAttributevalue - if the attribute is a multi-select fixed choice listpublic boolean isMultiselectFixedChoiceList()
CustomAttributeisMultiselectFixedChoiceList in interface CustomAttributepublic void setFixedChoiceListLookupType(java.lang.String value)
CustomAttributesetFixedChoiceListLookupType in interface CustomAttributevalue - the lookup typepublic java.lang.String getFixedChoiceListLookupType()
CustomAttributegetFixedChoiceListLookupType in interface CustomAttributegetFixedChoiceListLookupType in class AttributeImplpublic void setParentChoiceList(Attribute parent, java.util.Map<java.lang.String,java.util.List> valueMap)
CustomAttributesetParentChoiceList in interface CustomAttributeparent - the attribute of the parent choice listvalueMap - the value mapping between the parent choice list and this attributepublic AttributeImpl getParentChoiceList()
CustomAttributegetParentChoiceList in interface CustomAttributepublic java.util.Map<java.lang.String,java.util.List> getFixedChoiceListValueMap()
CustomAttributegetFixedChoiceListValueMap in interface CustomAttributepublic void setListDisplayAttribute(Attribute dataSourceAttribute)
CustomAttributesetListDisplayAttribute in interface CustomAttributedataSourceAttribute - the list display attributepublic AttributeImpl getListDisplayAttribute()
CustomAttributegetListDisplayAttribute in interface CustomAttributepublic void addDisplayAttribute(Attribute attr)
CustomAttributeaddDisplayAttribute in interface CustomAttributeattr - the attribute to be addedpublic void removeDisplayAttr(Attribute attr)
CustomAttributeremoveDisplayAttr in interface CustomAttributeattr - the attribute to be removedpublic java.util.List<java.lang.String> getDisplayAttrs()
CustomAttributegetDisplayAttrs in interface CustomAttributepublic void addSearchAttribute(Attribute attr)
CustomAttributeaddSearchAttribute in interface CustomAttributeattr - the attribute to be addedpublic void removeSearchAttr(Attribute attr)
CustomAttributeremoveSearchAttr in interface CustomAttributeattr - the attribute to be removedpublic java.util.List<java.lang.String> getSearchAttrs()
CustomAttributegetSearchAttrs in interface CustomAttributepublic void setFormulaType(FormulaType formulaType)
CustomAttributesetFormulaType in interface CustomAttributeformulaType - formula typepublic FormulaType getFormulaType()
CustomAttributegetFormulaType in interface CustomAttribute
public void setProperty(java.lang.String property,
java.lang.Object value)
setProperty in interface CustomAttributesetProperty in class BusinessEditorObjectImplpublic boolean isRemovable()
AttributeisRemovable 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.adf.businesseditor.model.views.NewObjectAttributeImpl 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