|
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
public abstract class AttributeImpl
For internal framework use only.
Base class for StandardAttributeImpl and CustomAttributeImpl.
| Constructor Summary | |
|---|---|
protected |
AttributeImpl(BusinessObjectImpl bo,
java.lang.String attrName)
|
| Method Summary | |
|---|---|
protected void |
addAttrToList(java.lang.String property,
AttributeImpl value)
|
void |
addDependencyAttr(Attribute attr)
Adds an attribute as dependency attribute, whose data changes will cause this attribute's constraint expression to be reevaluated. |
protected void |
addTrigger(java.lang.String name)
|
AttributeTriggerImpl |
createTrigger(java.lang.String name,
java.lang.String triggerDefinition)
Creates a trigger for this attribute. |
AttributeTriggerImpl |
createTrigger(java.lang.String name,
java.lang.String triggerDefinition,
java.lang.String errorMessage)
Creates a trigger for this attribute. |
AttributeValidatorImpl |
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. |
protected void |
doCommit()
|
protected void |
doRollback()
|
AttributeTriggerImpl |
findTrigger(java.lang.String name)
Retrieve the trigger of the given name. |
AttributeValidatorImpl |
findValidator(java.lang.String name)
Retrieve the validator of the given name. |
protected java.lang.String |
getApiName()
|
protected java.lang.String |
getBusinessObjectFullName()
|
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 |
getDisplayLabel()
Returns the display label of this attribute. |
protected abstract java.lang.String |
getFixedChoiceListLookupType()
|
ObjectGroupHelper |
getGroupHelper(ObjectType type)
|
java.lang.String |
getHelpText()
Returns a description in terms an application will understand. |
protected abstract java.lang.String |
getLogicalType()
|
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. |
protected void |
removeAttrFromList(java.lang.String property,
AttributeImpl value)
|
void |
removeDependencyAttr(Attribute value)
Removes an attribute as dependency attribute, whose data changes will cause this attribute's constraint expression to be reevaluated |
protected void |
renameTrigger(AttributeTriggerImpl trigger,
java.lang.String oldName,
java.lang.String newName)
|
protected void |
renameValidator(AttributeValidatorImpl validator,
java.lang.String oldName,
java.lang.String newName)
|
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. |
protected void |
setTriggerPopulated()
|
void |
setUpdateableExpression(java.lang.String expression)
Registers the expression that control if this attribute is updateable. |
| Methods inherited from class oracle.adfinternal.businesseditor.objects.BusinessEditorObjectImpl |
|---|
getBusinessEditor, getBusinessEditorLogic, getBusinessEditorManager, getBusinessEditorViewLogic, getDescription, getName, getObjectKey, getProperty, setDescription, setName, setProperty |
| Methods inherited from class oracle.adfinternal.businesseditor.objects.BusinessEditorBaseObjectImpl |
|---|
cancelFlowForExistingObject, cancelFlowForNewObject, canPopulateChildren, checkLoadObject, containsProperty, ensureVerified, finishFlowForExistingObject, finishFlowForNewObject, getContainer, getLocalizedString, getObjectType, getPropertyNoLoad, getViewObjectBeingEdited, initFlowForExistingObject, initFlowForNewObject, initialize, isLoaded, isNew, isNotVerified, populateChildren, postCommit, preCommit, readObject, removeProperty, setDirty, setNew, setNotExist, setPropertyNoLoad, setVerified, valuesDiffer, writeObject |
| 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 |
|---|
getDescription, getName, setDescription |
| Constructor Detail |
|---|
protected AttributeImpl(BusinessObjectImpl bo,
java.lang.String attrName)
| Method Detail |
|---|
public java.util.Collection<AttributeValidator> getValidators()
Attribute
getValidators in interface Attributepublic AttributeValidatorImpl findValidator(java.lang.String name)
Attribute
findValidator in interface Attributename - name of the validator.
public AttributeValidatorImpl createValidator(java.lang.String name,
java.lang.String ruleDefinition,
java.lang.String errorMessage)
Attribute
createValidator in interface Attributename - name of the validator.ruleDefinition - validator definition
public void deleteValidator(AttributeValidator validator)
Attribute
deleteValidator in interface Attributevalidator - the validator to be deletedpublic java.util.Collection<AttributeTrigger> getTriggers()
Attribute
getTriggers in interface Attributepublic AttributeTriggerImpl findTrigger(java.lang.String name)
Attribute
findTrigger in interface Attributename - name of the trigger.
public AttributeTriggerImpl createTrigger(java.lang.String name,
java.lang.String triggerDefinition)
Attribute
createTrigger in interface Attributename - name of the trigger.triggerDefinition - trigger definition of the trigger
public AttributeTriggerImpl createTrigger(java.lang.String name,
java.lang.String triggerDefinition,
java.lang.String errorMessage)
Attribute
createTrigger in interface Attributename - name of the trigger.triggerDefinition - trigger definition of the triggererrorMessage - error message of the trigger
public void deleteTrigger(AttributeTrigger trigger)
Attribute
deleteTrigger in interface Attributetrigger - the trigger to be deletedpublic void setUpdateableExpression(java.lang.String expression)
Attribute
setUpdateableExpression in interface Attributeexpression - the expression to control if this attribute is updateable.public java.lang.String getUpdateableExpression()
Attribute
getUpdateableExpression in interface Attributepublic void addDependencyAttr(Attribute attr)
Attribute
addDependencyAttr in interface Attributeattr - the new dependent attributepublic void removeDependencyAttr(Attribute value)
Attribute
removeDependencyAttr in interface Attributevalue - the dependent attribute to be removedpublic java.util.List<java.lang.String> getDependencyAttrs()
Attribute
getDependencyAttrs in interface Attributepublic void setDisplayLabel(java.lang.String displayLabel)
Attribute
setDisplayLabel in interface AttributedisplayLabel - display label of this attributepublic java.lang.String getDisplayLabel()
Attribute
getDisplayLabel in interface Attributepublic void setHelpText(java.lang.String helpText)
Attribute
setHelpText in interface AttributehelpText - a descriptionpublic java.lang.String getHelpText()
Attribute
getHelpText in interface Attributepublic void setRequired(boolean required)
Attribute
setRequired in interface Attributerequired - if valud is required for this attributepublic boolean isRequired()
Attribute
isRequired in interface Attributepublic boolean isRemovable()
Attribute
isRemovable in interface Attributepublic ObjectGroupHelper getGroupHelper(ObjectType type)
getGroupHelper in interface ObjectGroupOwnergetGroupHelper in class BusinessEditorBaseObjectImplprotected java.lang.String getBusinessObjectFullName()
protected java.lang.String getApiName()
protected void renameValidator(AttributeValidatorImpl validator,
java.lang.String oldName,
java.lang.String newName)
protected void renameTrigger(AttributeTriggerImpl trigger,
java.lang.String oldName,
java.lang.String newName)
protected void addAttrToList(java.lang.String property,
AttributeImpl value)
protected void removeAttrFromList(java.lang.String property,
AttributeImpl value)
protected void doCommit()
doCommit in class BusinessEditorBaseObjectImplprotected void doRollback()
doRollback in class BusinessEditorBaseObjectImplprotected void addTrigger(java.lang.String name)
protected void setTriggerPopulated()
protected abstract java.lang.String getFixedChoiceListLookupType()
protected abstract java.lang.String getLogicalType()
|
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 | ||||||||