|
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 |
public interface Attribute
Base class for StandardAttribute
and CustomAttribute
.
Method Summary | |
---|---|
void |
addDependencyAttr(Attribute attr)
Adds an attribute as dependency attribute, whose data changes will cause this attribute's constraint expression to be reevaluated. |
AttributeTrigger |
createTrigger(java.lang.String name,
java.lang.String triggerDefinition)
Creates a trigger for this attribute. |
AttributeTrigger |
createTrigger(java.lang.String name,
java.lang.String triggerDefinition,
java.lang.String errorMessage)
Creates a trigger for this attribute. |
AttributeValidator |
createValidator(java.lang.String name,
java.lang.String ruleDefinition,
java.lang.String errorMessage)
Creates a validator for this attribute. |
void |
deleteTrigger(AttributeTrigger trigger)
Deletes a trigger from this attribute. |
void |
deleteValidator(AttributeValidator validator)
Deletes a validator from this attribute. |
AttributeTrigger |
findTrigger(java.lang.String name)
Retrieve the trigger of the given name. |
AttributeValidator |
findValidator(java.lang.String name)
Retrieve the validator of the given name. |
java.util.List<java.lang.String> |
getDependencyAttrs()
Returns list of dependency attributes for this attribute, whose data changes will cause this attribute's constraint expression to be reevaluated. |
java.lang.String |
getDescription()
Returns the description of the object. |
java.lang.String |
getDisplayLabel()
Returns the display label of this attribute. |
java.lang.String |
getHelpText()
Returns a description in terms an application will understand. |
java.lang.String |
getName()
Returns the name of the object. |
java.util.Collection<AttributeTrigger> |
getTriggers()
Retrieve all triggers for this attribute. |
java.lang.String |
getUpdateableExpression()
Returns the expression that determine if an attribute is updateable. |
java.util.Collection<AttributeValidator> |
getValidators()
Retrieves all validators for the attribute. |
boolean |
isRemovable()
Returns if this attribute is removable. |
boolean |
isRequired()
Returns if value is required for this attribute. |
void |
removeDependencyAttr(Attribute value)
Removes an attribute as dependency attribute, whose data changes will cause this attribute's constraint expression to be reevaluated |
void |
setDescription(java.lang.String text)
Sets the description of the object. |
void |
setDisplayLabel(java.lang.String displayLabel)
Sets the display label of this attribute. |
void |
setHelpText(java.lang.String helpText)
Sets a description in terms an application will understand. |
void |
setRequired(boolean required)
Sets if value is required for this attribute. |
void |
setUpdateableExpression(java.lang.String expression)
Registers the expression that control if this attribute is updateable. |
Method Detail |
---|
java.lang.String getName()
java.util.Collection<AttributeValidator> getValidators()
AttributeValidator findValidator(java.lang.String name)
name
- name of the validator.
AttributeValidator createValidator(java.lang.String name, java.lang.String ruleDefinition, java.lang.String errorMessage)
name
- name of the validator.ruleDefinition
- validator definition
oracle.jbo.JboException
- if an validator for the given name already exists.void deleteValidator(AttributeValidator validator)
validator
- the validator to be deleted
oracle.jbo.JboException
- if an validator is not provided.java.util.Collection<AttributeTrigger> getTriggers()
AttributeTrigger findTrigger(java.lang.String name)
name
- name of the trigger.
AttributeTrigger createTrigger(java.lang.String name, java.lang.String triggerDefinition)
name
- name of the trigger.triggerDefinition
- trigger definition of the trigger
oracle.jbo.JboException
- if an trigger for the given name already exists.AttributeTrigger createTrigger(java.lang.String name, java.lang.String triggerDefinition, java.lang.String errorMessage)
name
- name of the trigger.triggerDefinition
- trigger definition of the triggererrorMessage
- error message of the trigger
oracle.jbo.JboException
- if an trigger for the given name already exists.void deleteTrigger(AttributeTrigger trigger)
trigger
- the trigger to be deleted
oracle.jbo.JboException
- if an trigger is not provided.void setUpdateableExpression(java.lang.String expression)
expression
- the expression to control if this attribute is updateable.
oracle.jbo.JboException
- if updateable expression cannot be set for the attribute type.java.lang.String getUpdateableExpression()
void addDependencyAttr(Attribute attr)
attr
- the new dependent attributevoid removeDependencyAttr(Attribute value)
value
- the dependent attribute to be removedjava.util.List<java.lang.String> getDependencyAttrs()
void setDisplayLabel(java.lang.String displayLabel)
displayLabel
- display label of this attributejava.lang.String getDisplayLabel()
void setHelpText(java.lang.String helpText)
helpText
- a descriptionjava.lang.String getHelpText()
void setDescription(java.lang.String text)
text
- description of the object
java.lang.String getDescription()
void setRequired(boolean required)
required
- if valud is required for this attributeboolean isRequired()
boolean isRemovable()
|
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 |