Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model Business Editor Objects
11g Release 1 (11.1.1.9.0)

E52943-01


oracle.adfinternal.businesseditor.objects
Class NonCustomizableAttributeImpl

java.lang.Object
  extended by oracle.adfinternal.businesseditor.objects.NonCustomizableAttributeImpl

All Implemented Interfaces:
Attribute

public final class NonCustomizableAttributeImpl
extends java.lang.Object

Method Summary
protected  void accept(ObjectVisitor visitor)
          A visitor pattern is implemented for business object to visit all components of a business object.
 void activate()
           
protected  void addAttrToList(java.lang.String property, oracle.adfinternal.businesseditor.objects.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)
           
protected  void addValidator(java.lang.String name)
           
protected  void cancelFlow()
           
protected  void cancelFlowForExistingObject()
           
protected  void cancelFlowForNewObject()
           
 boolean canPopulateChildren()
           
protected  void checkLoadObject()
           
protected  void commitObject()
           
protected  boolean containsProperty(java.lang.String property)
           
 oracle.adfinternal.businesseditor.objects.AttributeTriggerImpl createTrigger(java.lang.String name, java.lang.String triggerDefinition)
          Creates a trigger for this attribute.
 oracle.adfinternal.businesseditor.objects.AttributeTriggerImpl createTrigger(java.lang.String name, java.lang.String triggerDefinition, java.lang.String errorMessage)
          Creates a trigger for this attribute.
 oracle.adfinternal.businesseditor.objects.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.
 void deprecate()
           
protected  void doCommit()
           
protected  void doRollback()
           
 void ensureVerified()
           
 oracle.adfinternal.businesseditor.objects.AttributeTriggerImpl findTrigger(java.lang.String name)
          Retrieve the trigger of the given name.
 oracle.adfinternal.businesseditor.objects.AttributeValidatorImpl findValidator(java.lang.String name)
          Retrieve the validator of the given name.
protected  void finishFlow()
           
protected  void finishFlowForExistingObject()
           
protected  void finishFlowForNewObject()
           
 java.lang.String getApiName()
           
protected  oracle.jbo.server.AttributeDefImpl getAttributeDef()
           
protected  java.util.List<Attribute> getAttributeListFromAttrNameList(BusinessObject bo, java.util.List<java.lang.String> attrNames)
           
protected  oracle.adf.businesseditor.model.BusinessEditorImpl getBusinessEditor()
           
protected  oracle.adf.businesseditor.model.BusinessEditorLogic getBusinessEditorLogic()
           
protected  BusinessEditorManagerImpl getBusinessEditorManager()
           
 BusinessObject getBusinessObject()
          Returns the business object that owns the attribute
protected  java.lang.String getBusinessObjectFullName()
           
protected  oracle.jbo.common.JboCompOper getCompOper(java.lang.String operator)
           
protected  oracle.adfinternal.businesseditor.objects.ObjectGroupOwner getContainer()
           
 java.util.Map<java.lang.String,java.lang.String> getCustomProperties(java.lang.String namespace)
           
 java.lang.Object getCustomProperty(java.lang.String namespace, java.lang.String name)
           
 java.util.List<Attribute> getDependencyAttributes()
          Returns list of dependency attributes for this attribute, whose data changes will cause this attribute's constraint expression to be reevaluated.
 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.
protected  java.util.Collection<oracle.adfinternal.businesseditor.objects.BusinessEditorBaseObjectImpl> getDependentObjects()
           
 java.lang.String getDescription()
           
 java.lang.String getDisplayLabel()
          Returns the display label of this attribute.
 java.lang.String getFixedChoiceListLookupType()
          Returns the fixed choice lookup type if the attribute is defined as a fixed choice list
 java.util.Map<java.lang.String,java.util.List> getFixedChoiceListValueMap()
          Gets the value map if this attribute is a cascading picklist.
 oracle.adfinternal.businesseditor.objects.ObjectGroupHelper getGroupHelper(oracle.adfinternal.businesseditor.objects.ObjectType type)
           
 java.lang.String getHelpText()
          Returns a description in terms an application will understand.
protected  boolean getIsCascadingPicklistEnabled()
           
protected  java.lang.String getIsDeprecatedPropertyKey()
           
protected  java.lang.String getLocalizedString(java.lang.String key, java.lang.Object... args)
           
protected  java.lang.String getLogicalType()
           
 java.lang.String getName()
           
protected  java.lang.String getObjectKey()
           
protected  java.lang.String getObjectName()
           
protected  oracle.adfinternal.businesseditor.objects.ObjectType getObjectType()
           
 oracle.adfinternal.businesseditor.objects.AttributeImpl getParentChoiceList()
          Gets the parent the choice list that constrains the values in this choice list.
protected  java.lang.String getParentChoiceListAttributeVAName()
           
 java.lang.Object getProperty(java.lang.String property)
           
protected  java.lang.Object getPropertyNoLoad(java.lang.String property)
           
 java.util.Collection<AttributeTrigger> getTriggers()
          Retrieve all triggers for this attribute.
 java.lang.String getType()
          Returns the type of 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.
protected  oracle.jbo.ViewObject getViewObjectBeingEdited()
           
protected  void initFlow()
           
protected  void initFlowForExistingObject()
           
protected  void initFlowForLoading()
           
protected  void initFlowForLoadingExistingObject()
           
protected  void initFlowForLoadingNewObject()
           
protected  void initFlowForNewObject()
           
protected  void initialize()
           
protected  boolean isCharType()
           
 boolean isCustomizable()
           
 boolean isDeprecated()
           
protected  boolean isDirty()
           
protected  boolean isLoaded()
           
protected  boolean isLobInterface()
           
protected  boolean isNew()
           
protected  boolean isNotVerified()
           
protected  boolean isPersistent()
           
protected  boolean isPicklist()
           
protected  boolean isPublished()
           
 boolean isRemovable()
          Returns if this attribute is removable.
 boolean isRequired()
          Returns if value is required for this attribute.
 boolean isSearchable()
          Returns if this attribute is searchable.
 boolean isUpdateable()
          Returns if this attribute is updateable
 void populateChildren(oracle.adfinternal.businesseditor.objects.ObjectType type)
           
protected  void populateParentChoiceListOptions()
           
protected  void postCommit()
           
protected  void preCommit()
           
protected  void readObject(oracle.jbo.Row row)
           
protected  void removeAttrFromList(java.lang.String property, oracle.adfinternal.businesseditor.objects.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 removeProperty(java.lang.String property)
           
protected  void renameTrigger(oracle.adfinternal.businesseditor.objects.AttributeTriggerImpl trigger, java.lang.String oldName, java.lang.String newName)
           
protected  void renameValidator(oracle.adfinternal.businesseditor.objects.AttributeValidatorImpl validator, java.lang.String oldName, java.lang.String newName)
           
protected  void setCustomizable(boolean customizable)
           
 void setCustomProperty(java.lang.String namespace, java.lang.String name, java.lang.String value)
           
 void setDescription(java.lang.String text)
           
protected  void setDirty(boolean value)
           
 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.
protected  void setLoaded()
           
protected  void setName(java.lang.String name)
           
protected  void setNew()
           
protected  void setNotExist()
           
 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.
protected  void setProperty(java.lang.String property, java.lang.Object value)
           
protected  void setPropertyNoLoad(java.lang.String property, java.lang.Object value)
           
protected  void setPublished(boolean published)
           
 void setRequired(boolean required)
          Sets if value is required for this attribute.
 void setSearchable(boolean searchable)
          Sets if this attribute is searchable.
protected  void setTriggerPopulated()
           
 void setUpdateableExpression(java.lang.String expression)
          Registers the expression that control if this attribute is updateable.
protected  void setValidatorPopulated()
           
protected  void setVerified()
           
protected  boolean valuesDiffer(java.lang.Object oldValue, java.lang.Object newValue)
           
protected  void writeObject(oracle.jbo.Row object)
           

 

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

 

Method Detail

getValidators

public java.util.Collection<AttributeValidator> getValidators()
Description copied from interface: Attribute
Retrieves all validators for the attribute.
Specified by:
getValidators in interface Attribute
Returns:
collection of validators

findValidator

public oracle.adfinternal.businesseditor.objects.AttributeValidatorImpl findValidator(java.lang.String name)
Description copied from interface: Attribute
Retrieve the validator of the given name. If no validator exists for the name, null is returned.
Specified by:
findValidator in interface Attribute
Parameters:
name - name of the validator.
Returns:
validator with the given name

getTriggers

public java.util.Collection<AttributeTrigger> getTriggers()
Description copied from interface: Attribute
Retrieve all triggers for this attribute.
Specified by:
getTriggers in interface Attribute
Returns:
collection of triggers

findTrigger

public oracle.adfinternal.businesseditor.objects.AttributeTriggerImpl findTrigger(java.lang.String name)
Description copied from interface: Attribute
Retrieve the trigger of the given name. If no trigger exists for the name, null is returned.
Specified by:
findTrigger in interface Attribute
Parameters:
name - name of the trigger.
Returns:
trigger with the given name

setParentChoiceList

public void setParentChoiceList(Attribute parent,
                                java.util.Map<java.lang.String,java.util.List> valueMap)
Description copied from interface: Attribute
Sets the parent choice list that constrains the values in this choice list.
Specified by:
setParentChoiceList in interface Attribute
Parameters:
parent - the attribute of the parent choice list
valueMap - the value mapping between the parent choice list and this attribute

getApiName

public java.lang.String getApiName()

getType

public java.lang.String getType()
Description copied from interface: Attribute
Returns the type of this attribute. Values includes Checkbox, Lookup, Picklist, Text, Number, Date, Datetime, Formula, Percentage, or custom type.
Returns:
type of this attribute

getFixedChoiceListLookupType

public java.lang.String getFixedChoiceListLookupType()
Description copied from interface: Attribute
Returns the fixed choice lookup type if the attribute is defined as a fixed choice list
Specified by:
getFixedChoiceListLookupType in interface Attribute
Returns:
the lookup type of the fixed choice list attribute

isRequired

public boolean isRequired()
Description copied from interface: Attribute
Returns if value is required for this attribute.
Specified by:
isRequired in interface Attribute
Returns:
if value is required for this attribute.

isPersistent

protected boolean isPersistent()

initialize

protected void initialize()

initFlowForNewObject

protected void initFlowForNewObject()

initFlowForExistingObject

protected void initFlowForExistingObject()

finishFlowForNewObject

protected void finishFlowForNewObject()

finishFlowForExistingObject

protected void finishFlowForExistingObject()

cancelFlowForNewObject

protected void cancelFlowForNewObject()

cancelFlowForExistingObject

protected void cancelFlowForExistingObject()

isPicklist

protected boolean isPicklist()

getViewObjectBeingEdited

protected oracle.jbo.ViewObject getViewObjectBeingEdited()

getLogicalType

protected java.lang.String getLogicalType()

getObjectType

protected oracle.adfinternal.businesseditor.objects.ObjectType getObjectType()

getIsCascadingPicklistEnabled

protected boolean getIsCascadingPicklistEnabled()

getParentChoiceListAttributeVAName

protected java.lang.String getParentChoiceListAttributeVAName()

addAttrToList

protected void addAttrToList(java.lang.String property,
                             oracle.adfinternal.businesseditor.objects.AttributeImpl value)

getProperty

public java.lang.Object getProperty(java.lang.String property)

setProperty

protected void setProperty(java.lang.String property,
                           java.lang.Object value)

createValidator

public oracle.adfinternal.businesseditor.objects.AttributeValidatorImpl createValidator(java.lang.String name,
                                                                                        java.lang.String ruleDefinition,
                                                                                        java.lang.String errorMessage)
Description copied from interface: Attribute
Creates a validator for this attribute.
Specified by:
createValidator in interface Attribute
Parameters:
name - name of the validator.
ruleDefinition - validator definition
Returns:
the validator created

deleteValidator

public void deleteValidator(AttributeValidator validator)
Description copied from interface: Attribute
Deletes a validator from this attribute.
Specified by:
deleteValidator in interface Attribute
Parameters:
validator - the validator to be deleted

createTrigger

public oracle.adfinternal.businesseditor.objects.AttributeTriggerImpl createTrigger(java.lang.String name,
                                                                                    java.lang.String triggerDefinition)
Description copied from interface: Attribute
Creates a trigger for this attribute.
Specified by:
createTrigger in interface Attribute
Parameters:
name - name of the trigger.
triggerDefinition - trigger definition of the trigger
Returns:
the trigger created for the type and name.

createTrigger

public oracle.adfinternal.businesseditor.objects.AttributeTriggerImpl createTrigger(java.lang.String name,
                                                                                    java.lang.String triggerDefinition,
                                                                                    java.lang.String errorMessage)
Description copied from interface: Attribute
Creates a trigger for this attribute.
Specified by:
createTrigger in interface Attribute
Parameters:
name - name of the trigger.
triggerDefinition - trigger definition of the trigger
errorMessage - error message of the trigger
Returns:
the trigger created for the type and name.

deleteTrigger

public void deleteTrigger(AttributeTrigger trigger)
Description copied from interface: Attribute
Deletes a trigger from this attribute.
Specified by:
deleteTrigger in interface Attribute
Parameters:
trigger - the trigger to be deleted

setUpdateableExpression

public void setUpdateableExpression(java.lang.String expression)
Description copied from interface: Attribute
Registers the expression that control if this attribute is updateable.
Specified by:
setUpdateableExpression in interface Attribute
Parameters:
expression - the expression to control if this attribute is updateable.

getUpdateableExpression

public java.lang.String getUpdateableExpression()
Description copied from interface: Attribute
Returns the expression that determine if an attribute is updateable.
Specified by:
getUpdateableExpression in interface Attribute
Returns:
the expression to determine if an attribute is updateable.

addDependencyAttr

public void addDependencyAttr(Attribute attr)
Description copied from interface: Attribute
Adds an attribute as dependency attribute, whose data changes will cause this attribute's constraint expression to be reevaluated.
Specified by:
addDependencyAttr in interface Attribute
Parameters:
attr - the new dependent attribute

removeDependencyAttr

public void removeDependencyAttr(Attribute value)
Description copied from interface: Attribute
Removes an attribute as dependency attribute, whose data changes will cause this attribute's constraint expression to be reevaluated
Specified by:
removeDependencyAttr in interface Attribute
Parameters:
value - the dependent attribute to be removed

getDependencyAttrs

public java.util.List<java.lang.String> getDependencyAttrs()
Description copied from interface: Attribute
Returns list of dependency attributes for this attribute, whose data changes will cause this attribute's constraint expression to be reevaluated.
Specified by:
getDependencyAttrs in interface Attribute
Returns:
list of dependency attributes

getDependencyAttributes

public java.util.List<Attribute> getDependencyAttributes()
Description copied from interface: Attribute
Returns list of dependency attributes for this attribute, whose data changes will cause this attribute's constraint expression to be reevaluated.
Specified by:
getDependencyAttributes in interface Attribute
Returns:
list of dependency attributes

setDisplayLabel

public void setDisplayLabel(java.lang.String displayLabel)
Description copied from interface: Attribute
Sets the display label of this attribute.
Specified by:
setDisplayLabel in interface Attribute
Parameters:
displayLabel - display label of this attribute

getDisplayLabel

public java.lang.String getDisplayLabel()
Description copied from interface: Attribute
Returns the display label of this attribute.
Specified by:
getDisplayLabel in interface Attribute
Returns:
the display label of this attribute

setHelpText

public void setHelpText(java.lang.String helpText)
Description copied from interface: Attribute
Sets a description in terms an application will understand.
Specified by:
setHelpText in interface Attribute
Parameters:
helpText - a description

getHelpText

public java.lang.String getHelpText()
Description copied from interface: Attribute
Returns a description in terms an application will understand.
Specified by:
getHelpText in interface Attribute
Returns:
a description

setRequired

public void setRequired(boolean required)
Description copied from interface: Attribute
Sets if value is required for this attribute.
Specified by:
setRequired in interface Attribute
Parameters:
required - if valud is required for this attribute

isSearchable

public boolean isSearchable()
Description copied from interface: Attribute
Returns if this attribute is searchable.
Specified by:
isSearchable in interface Attribute
Returns:
if this attribute is searchable.

setSearchable

public void setSearchable(boolean searchable)
Description copied from interface: Attribute
Sets if this attribute is searchable.
Specified by:
setSearchable in interface Attribute
Parameters:
searchable - if this attribute is searchable.

isRemovable

public boolean isRemovable()
Description copied from interface: Attribute
Returns if this attribute is removable.
Specified by:
isRemovable in interface Attribute
Returns:
if this attribute is removable

getGroupHelper

public oracle.adfinternal.businesseditor.objects.ObjectGroupHelper getGroupHelper(oracle.adfinternal.businesseditor.objects.ObjectType type)

getParentChoiceList

public oracle.adfinternal.businesseditor.objects.AttributeImpl getParentChoiceList()
Description copied from interface: Attribute
Gets the parent the choice list that constrains the values in this choice list.
Specified by:
getParentChoiceList in interface Attribute
Returns:
the attribute of the parent choice list

getFixedChoiceListValueMap

public java.util.Map<java.lang.String,java.util.List> getFixedChoiceListValueMap()
Description copied from interface: Attribute
Gets the value map if this attribute is a cascading picklist.
Specified by:
getFixedChoiceListValueMap in interface Attribute
Returns:
the value map between the parent choice list and this attribute

isUpdateable

public boolean isUpdateable()
Description copied from interface: Attribute
Returns if this attribute is updateable
Specified by:
isUpdateable in interface Attribute
Returns:
if this attribute is updateable

getBusinessObject

public BusinessObject getBusinessObject()
Description copied from interface: Attribute
Returns the business object that owns the attribute
Specified by:
getBusinessObject in interface Attribute
Returns:
the business object

getCustomProperties

public java.util.Map<java.lang.String,java.lang.String> getCustomProperties(java.lang.String namespace)

setCustomProperty

public void setCustomProperty(java.lang.String namespace,
                              java.lang.String name,
                              java.lang.String value)

getCustomProperty

public java.lang.Object getCustomProperty(java.lang.String namespace,
                                          java.lang.String name)

getBusinessObjectFullName

protected java.lang.String getBusinessObjectFullName()

renameValidator

protected void renameValidator(oracle.adfinternal.businesseditor.objects.AttributeValidatorImpl validator,
                               java.lang.String oldName,
                               java.lang.String newName)

renameTrigger

protected void renameTrigger(oracle.adfinternal.businesseditor.objects.AttributeTriggerImpl trigger,
                             java.lang.String oldName,
                             java.lang.String newName)

removeAttrFromList

protected void removeAttrFromList(java.lang.String property,
                                  oracle.adfinternal.businesseditor.objects.AttributeImpl value)

doCommit

protected void doCommit()

preCommit

protected void preCommit()

readObject

protected void readObject(oracle.jbo.Row row)

populateParentChoiceListOptions

protected void populateParentChoiceListOptions()

postCommit

protected void postCommit()

doRollback

protected void doRollback()

addTrigger

protected void addTrigger(java.lang.String name)

setTriggerPopulated

protected void setTriggerPopulated()

addValidator

protected void addValidator(java.lang.String name)

setValidatorPopulated

protected void setValidatorPopulated()

getDependentObjects

protected java.util.Collection<oracle.adfinternal.businesseditor.objects.BusinessEditorBaseObjectImpl> getDependentObjects()

accept

protected void accept(ObjectVisitor visitor)
A visitor pattern is implemented for business object to visit all components of a business object. All object that extends BusinessEditorObjectImpl needs to implement accept(ObjectVisitor) method which does the followings: 1. Call visitor.visit(this) to process the current object 2. Call accept for all its children so all children will be visited
Parameters:
visitor - ObjectVisitor instance

getAttributeListFromAttrNameList

protected java.util.List<Attribute> getAttributeListFromAttrNameList(BusinessObject bo,
                                                                     java.util.List<java.lang.String> attrNames)

getCompOper

protected oracle.jbo.common.JboCompOper getCompOper(java.lang.String operator)

isCharType

protected boolean isCharType()

isLobInterface

protected boolean isLobInterface()

getAttributeDef

protected oracle.jbo.server.AttributeDefImpl getAttributeDef()

getName

public java.lang.String getName()

setDescription

public void setDescription(java.lang.String text)

getDescription

public java.lang.String getDescription()

deprecate

public void deprecate()

activate

public void activate()

isDeprecated

public boolean isDeprecated()

isCustomizable

public boolean isCustomizable()

setName

protected void setName(java.lang.String name)

getBusinessEditorManager

protected BusinessEditorManagerImpl getBusinessEditorManager()

getBusinessEditor

protected oracle.adf.businesseditor.model.BusinessEditorImpl getBusinessEditor()

getBusinessEditorLogic

protected oracle.adf.businesseditor.model.BusinessEditorLogic getBusinessEditorLogic()

getObjectKey

protected java.lang.String getObjectKey()

getIsDeprecatedPropertyKey

protected java.lang.String getIsDeprecatedPropertyKey()

commitObject

protected void commitObject()

cancelFlow

protected void cancelFlow()

setCustomizable

protected void setCustomizable(boolean customizable)

isPublished

protected boolean isPublished()

setPublished

protected void setPublished(boolean published)

writeObject

protected void writeObject(oracle.jbo.Row object)

populateChildren

public void populateChildren(oracle.adfinternal.businesseditor.objects.ObjectType type)

valuesDiffer

protected boolean valuesDiffer(java.lang.Object oldValue,
                               java.lang.Object newValue)

ensureVerified

public void ensureVerified()

checkLoadObject

protected void checkLoadObject()

isNew

protected boolean isNew()

setNew

protected void setNew()

isLoaded

protected boolean isLoaded()

isNotVerified

protected boolean isNotVerified()

setNotExist

protected void setNotExist()

setVerified

protected void setVerified()

setLoaded

protected void setLoaded()

isDirty

protected boolean isDirty()

setDirty

protected void setDirty(boolean value)

initFlow

protected final void initFlow()

finishFlow

protected final void finishFlow()

initFlowForLoading

protected final void initFlowForLoading()

initFlowForLoadingNewObject

protected void initFlowForLoadingNewObject()

initFlowForLoadingExistingObject

protected void initFlowForLoadingExistingObject()

getPropertyNoLoad

protected java.lang.Object getPropertyNoLoad(java.lang.String property)

setPropertyNoLoad

protected void setPropertyNoLoad(java.lang.String property,
                                 java.lang.Object value)

containsProperty

protected boolean containsProperty(java.lang.String property)

removeProperty

protected void removeProperty(java.lang.String property)

canPopulateChildren

public boolean canPopulateChildren()

getContainer

protected oracle.adfinternal.businesseditor.objects.ObjectGroupOwner getContainer()

getLocalizedString

protected java.lang.String getLocalizedString(java.lang.String key,
                                              java.lang.Object... args)

getObjectName

protected java.lang.String getObjectName()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model Business Editor Objects
11g Release 1 (11.1.1.9.0)

E52943-01


Copyright © 1997, 2015, Oracle. All rights reserved.