| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Activate an attribute
|
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.
|
void |
deprecate()
Deprecate an attribute
|
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<Attribute> |
getDisplayAttributes()
Returns list of display attributes that is included in the List of
Values window for context.
|
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.
|
FormulaType |
getFormulaType()
Returns the type of data the expression will be setting as this attribute
value.
|
Attribute |
getListDisplayAttribute()
Retursn the list display attribute used by a dynamic choice list.
|
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.
|
java.lang.String |
getRequiredExpression()
Returns the expression that determine if this attribute is required.
|
java.util.List<Attribute> |
getSearchAttributes()
Return list of attributes that are included as search criteria in addition
to the selection display value.
|
java.util.List<java.lang.String> |
getSearchAttrs()
Return list of attributes that are included as search criteria in addition
to the selection display value.
|
boolean |
isDefaultValueExpression()
Returns if the default value of this attribute is an expression.
|
boolean |
isDeprecated()
Return if an attribute is deprecated
|
boolean |
isIncludedInServicePayload()
Returns if this attribute is included in the service payload
|
boolean |
isIndexed()
Returns if the attribute is indexed.
|
boolean |
isMultiselectFixedChoiceList()
Returns if this attribute is a multi-select fixed choice list.
|
boolean |
isSearchable()
Returns if this attribute is searchable.
|
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 |
setIncludedInServicePayload(boolean value)
Sets if this attribute is included in the service payload
|
void |
setIndexed(boolean value)
Sets if this attribute is indexed.
|
void |
setListDisplayAttribute(Attribute dataSourceAttribute)
Sets the list display attribute to be used by a dynamic choice list.
|
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 |
setProperty(java.lang.String property,
java.lang.Object value)
Assign a value to a property for the 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.
|
addDependencyAttr, createTrigger, createTrigger, createValidator, deleteTrigger, deleteValidator, findTrigger, findValidator, getBusinessObject, getDependencyAttributes, getDependencyAttrs, getDescription, getDisplayLabel, getFixedChoiceListLookupType, getFixedChoiceListValueMap, getHelpText, getName, getParentChoiceList, getTriggers, getType, getUpdateableExpression, getValidators, isRemovable, isRequired, isUpdateable, removeDependencyAttr, setDescription, setDisplayLabel, setHelpText, setParentChoiceList, setRequired, setUpdateableExpressionjava.lang.String getApiName()
void setRequiredExpression(java.lang.String value)
value - the expression to determine if an attribute is required.oracle.jbo.JboException - if required expression cannot be set for this attribute type.java.lang.String getRequiredExpression()
void setDisplayWidth(int value)
value - this display widthoracle.jbo.JboException - if display width cannot be set for this attribute typeint getDisplayWidth()
void setDisplayHeight(int value)
value - the display heightoracle.jbo.JboException - if display height cannot be set for the attribute typeint getDisplayHeight()
void setUpdateable(boolean value)
value - if this attribute is updateableoracle.jbo.JboException - if updateable cannot be set for the attribute typevoid setSearchable(boolean value)
value - if this attribute is searchableoracle.jbo.JboException - if searchable cannot be set for the attribute type.boolean isSearchable()
void setIndexed(boolean value)
value - if this attribute is indexedoracle.jbo.JboException - if indexed cannot be set for the attribute type.boolean isIndexed()
void setMinLength(int value)
value - the minimum lengthoracle.jbo.JboException - if minimum length cannot be set for the attribute type.int getMinLength()
void setMaxLength(int value)
value - the maximum lengthoracle.jbo.JboException - if maximum length cannot be set for the attribute type.int getMaxLength()
void setMinValue(java.math.BigDecimal value)
value - the minimum valueoracle.jbo.JboException - if minimum value cannot be set for the attribute type.java.math.BigDecimal getMinValue()
void setMaxValue(java.math.BigDecimal value)
value - the maximum valueoracle.jbo.JboException - if maximum value cannot be set for the attribute type.java.math.BigDecimal getMaxValue()
void setDecimalPlace(int value)
value - the decimal placeoracle.jbo.JboException - if decimal place cannot be set for the attribute type.int getDecimalPlace()
void setDefaultValue(java.lang.String value)
value - the default valueoracle.jbo.JboException - if default value cannot be set for the attribute type.java.lang.String getDefaultValue()
void setExpression(java.lang.String value)
value - the expressionoracle.jbo.JboException - if expression cannot be set for the attribute type.java.lang.String getExpression()
boolean isDefaultValueExpression()
void setDatetimeDisplayType(DatetimeDisplayType displayType)
displayType - the display typeoracle.jbo.JboException - if display type cannot be set for the attribute type.DatetimeDisplayType getDatetimeDisplayType()
void setMultiselectFixedChoiceList(boolean value)
value - if the attribute is a multi-select fixed choice listoracle.jbo.JboException - if multi-select fixed choice list cannot be set for the attribute type.boolean isMultiselectFixedChoiceList()
void setIncludedInServicePayload(boolean value)
value - if this attribute is included in the service payloadboolean isIncludedInServicePayload()
void setFixedChoiceListLookupType(java.lang.String value)
value - the lookup typeoracle.jbo.JboException - if lookup type of the fixed choice list attribute cannot be set for the attribute type.void setListDisplayAttribute(Attribute dataSourceAttribute)
dataSourceAttribute - the list display attributeAttribute getListDisplayAttribute()
void addDisplayAttribute(Attribute attr)
attr - the attribute to be addedvoid removeDisplayAttr(Attribute attr)
attr - the attribute to be removedjava.util.List<java.lang.String> getDisplayAttrs()
java.util.List<Attribute> getDisplayAttributes()
void addSearchAttribute(Attribute attr)
attr - the attribute to be addedvoid removeSearchAttr(Attribute attr)
attr - the attribute to be removedjava.util.List<java.lang.String> getSearchAttrs()
java.util.List<Attribute> getSearchAttributes()
void setFormulaType(FormulaType formulaType)
formulaType - formula typeFormulaType getFormulaType()
void setProperty(java.lang.String property,
java.lang.Object value)
property - the name of the property to be updatedvalue - the value of the propertyvoid deprecate()
void activate()
boolean isDeprecated()