|
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
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 Attribute
public AttributeValidatorImpl findValidator(java.lang.String name)
Attribute
findValidator
in interface Attribute
name
- name of the validator.
public AttributeValidatorImpl createValidator(java.lang.String name, java.lang.String ruleDefinition, java.lang.String errorMessage)
Attribute
createValidator
in interface Attribute
name
- name of the validator.ruleDefinition
- validator definition
public void deleteValidator(AttributeValidator validator)
Attribute
deleteValidator
in interface Attribute
validator
- the validator to be deletedpublic java.util.Collection<AttributeTrigger> getTriggers()
Attribute
getTriggers
in interface Attribute
public AttributeTriggerImpl findTrigger(java.lang.String name)
Attribute
findTrigger
in interface Attribute
name
- name of the trigger.
public AttributeTriggerImpl createTrigger(java.lang.String name, java.lang.String triggerDefinition)
Attribute
createTrigger
in interface Attribute
name
- 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 Attribute
name
- name of the trigger.triggerDefinition
- trigger definition of the triggererrorMessage
- error message of the trigger
public void deleteTrigger(AttributeTrigger trigger)
Attribute
deleteTrigger
in interface Attribute
trigger
- the trigger to be deletedpublic void setUpdateableExpression(java.lang.String expression)
Attribute
setUpdateableExpression
in interface Attribute
expression
- the expression to control if this attribute is updateable.public java.lang.String getUpdateableExpression()
Attribute
getUpdateableExpression
in interface Attribute
public void addDependencyAttr(Attribute attr)
Attribute
addDependencyAttr
in interface Attribute
attr
- the new dependent attributepublic void removeDependencyAttr(Attribute value)
Attribute
removeDependencyAttr
in interface Attribute
value
- the dependent attribute to be removedpublic java.util.List<java.lang.String> getDependencyAttrs()
Attribute
getDependencyAttrs
in interface Attribute
public void setDisplayLabel(java.lang.String displayLabel)
Attribute
setDisplayLabel
in interface Attribute
displayLabel
- display label of this attributepublic java.lang.String getDisplayLabel()
Attribute
getDisplayLabel
in interface Attribute
public void setHelpText(java.lang.String helpText)
Attribute
setHelpText
in interface Attribute
helpText
- a descriptionpublic java.lang.String getHelpText()
Attribute
getHelpText
in interface Attribute
public void setRequired(boolean required)
Attribute
setRequired
in interface Attribute
required
- if valud is required for this attributepublic boolean isRequired()
Attribute
isRequired
in interface Attribute
public boolean isRemovable()
Attribute
isRemovable
in interface Attribute
public ObjectGroupHelper getGroupHelper(ObjectType type)
getGroupHelper
in interface ObjectGroupOwner
getGroupHelper
in class BusinessEditorBaseObjectImpl
protected 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 BusinessEditorBaseObjectImpl
protected void doRollback()
doRollback
in class BusinessEditorBaseObjectImpl
protected 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 |