Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.flex.dff.model.entity
Class DescriptiveFlexfieldParameterEOImpl

java.lang.Object
  extended by oracle.jbo.server.RowImpl
      extended by oracle.jbo.server.EntityImpl
          extended by oracle.apps.fnd.applcore.oaext.model.OAEntityImpl
              extended by oracle.apps.fnd.applcore.flex.dff.model.entity.DescriptiveFlexfieldParameterEOImpl
All Implemented Interfaces:
java.util.EventListener, oracle.jbo.AttributeList, oracle.jbo.domain.DomainOwnerInterface, oracle.jbo.domain.ExtDomainOwnerInterface, oracle.jbo.expr.JIReservedVarNames, oracle.jbo.ExprScriptSupplier, oracle.jbo.ExprValueSupplier, oracle.jbo.ExprWrappable, oracle.jbo.JboReservedVarNames, oracle.jbo.Row, oracle.jbo.server.Entity, oracle.jbo.server.TransactionListener, oracle.jbo.server.TransactionPostListener, oracle.jbo.server.ValidationListener, oracle.jbo.server.ValidationManager, oracle.jbo.VariableManagerOwnerBase, oracle.jbo.XMLInterface

public class DescriptiveFlexfieldParameterEOImpl
extends OAEntityImpl


Field Summary
static int APPLICATIONID
           
static int CREATEDBY
           
static int CREATIONDATE
           
static int DATATYPE
           
static int DESCRIPTION
           
static int DESCRIPTIVEFLEXFIELD
           
static int DESCRIPTIVEFLEXFIELDCODE
           
static int ENABLEDFLAG
           
static int LASTUPDATEDATE
           
static int LASTUPDATEDBY
           
static int LASTUPDATELOGIN
           
static int PARAMETERCODE
           
 
Fields inherited from class oracle.apps.fnd.applcore.oaext.model.OAEntityImpl
DELETE, INSERT, LOCK, OSN_PARAM_PRE_ENTITY_STATE, OSN_PARAM_PRE_POST_STATE, RCS_ID, SEED_DATA_USER, SELECT, UPDATE
 
Fields inherited from class oracle.jbo.server.EntityImpl
CURRENT_VERSION, DML_DELETE, DML_INSERT, DML_UPDATE, MAXATTRCONST, mOrigData, ORACLE_ROWID_COLUMN, ORIGINAL_VERSION, PROPERTY_LOOKUP_ACCESSOR, PROPERTY_LOOKUP_ATTR_NAME, PROPERTY_LOOKUP_DISPATTR, PROPERTY_LOOKUP_TYPE, SYS_EFFDT_ROW_SPLIT, XML_CI_CHANGED, XML_PK_CHANGED, XML_PK_CHANGED_YES
 
Fields inherited from interface oracle.jbo.server.Entity
STATUS_DEAD, STATUS_DELETED, STATUS_MODIFIED, STATUS_UNMODIFIED
 
Fields inherited from interface oracle.jbo.Row
EFFDT_DELETE_FUTURE_CHANGE_MODE, EFFDT_DELETE_MODE, EFFDT_DELETE_NEXT_CHANGE_MODE, EFFDT_DELETE_THIS_CHANGE_MODE, EFFDT_DELETE_ZAP_MODE, EFFDT_EXPERT_MODE, EFFDT_NONE_MODE, EFFDT_UPDATE_CHANGE_INSERT_MODE, EFFDT_UPDATE_CORRECTION, EFFDT_UPDATE_MODE, EFFDT_UPDATE_NEW_EARLIEST_CHANGE_MODE, EFFDT_UPDATE_OVERRIDE_MODE, REFRESH_CONTAINEES, REFRESH_FORGET_NEW_ROWS, REFRESH_REMOVE_NEW_ROWS, REFRESH_UNDO_CHANGES, REFRESH_WITH_DB_FORGET_CHANGES, REFRESH_WITH_DB_ONLY_IF_UNCHANGED, STATUS_INITIALIZED, STATUS_NEW
 
Fields inherited from interface oracle.jbo.XMLInterface
XML_IGNORE_DEPTH_COUNT, XML_OPT_ALL_ROWS, XML_OPT_ASSOC_CONSISTENT, XML_OPT_CHANGES_ONLY, XML_OPT_LIMIT_RANGE, XML_PASSIVATION_USE
 
Fields inherited from interface oracle.jbo.JboReservedVarNames
RESERVED_VAR_AGG_AVG, RESERVED_VAR_AGG_COUNT, RESERVED_VAR_AGG_MAX, RESERVED_VAR_AGG_MIN, RESERVED_VAR_AGG_SUM, RESERVED_VAR_AGGVAL_PREFIX, RESERVED_VAR_STRUCTURE_DEF
 
Fields inherited from interface oracle.jbo.expr.JIReservedVarNames
RESERVED_VAR_VALUE
 
Constructor Summary
DescriptiveFlexfieldParameterEOImpl()
          This is the default constructor (do not remove).
 
Method Summary
static oracle.jbo.Key createPrimaryKey(java.lang.Long applicationId, java.lang.String descriptiveFlexfieldCode, java.lang.String parameterCode)
          Creates a Key object based on given key constituents.
 java.lang.Long getApplicationId()
          Gets the attribute value for ApplicationId, using the alias name ApplicationId.
protected  java.lang.Object getAttrInvokeAccessor(int index, oracle.jbo.server.AttributeDefImpl attrDef)
          getAttrInvokeAccessor: generated method.
 java.lang.String getCreatedBy()
          Gets the attribute value for CreatedBy, using the alias name CreatedBy.
 java.sql.Timestamp getCreationDate()
          Gets the attribute value for CreationDate, using the alias name CreationDate.
 java.lang.String getDataType()
          Gets the attribute value for DataType, using the alias name DataType.
static oracle.jbo.server.EntityDefImpl getDefinitionObject()
           
 java.lang.String getDescription()
          Gets the attribute value for Description, using the alias name Description.
 DescriptiveFlexfieldEOImpl getDescriptiveFlexfield()
          Gets the associated entity DescriptiveFlexfieldEOImpl.
 java.lang.String getDescriptiveFlexfieldCode()
          Gets the attribute value for DescriptiveFlexfieldCode, using the alias name DescriptiveFlexfieldCode.
 java.lang.String getEnabledFlag()
          Gets the attribute value for EnabledFlag, using the alias name EnabledFlag.
 java.sql.Timestamp getLastUpdateDate()
          Gets the attribute value for LastUpdateDate, using the alias name LastUpdateDate.
 java.lang.String getLastUpdatedBy()
          Gets the attribute value for LastUpdatedBy, using the alias name LastUpdatedBy.
 java.lang.String getLastUpdateLogin()
          Gets the attribute value for LastUpdateLogin, using the alias name LastUpdateLogin.
 java.lang.String getParameterCode()
          Gets the attribute value for ParameterCode, using the alias name ParameterCode.
 int getSQLType()
          Returns the SQL type corresponding to this parameter.
protected  void prepareForDML(int operation, oracle.jbo.server.TransactionEvent e)
          Process a row when any operation like insert/update/delete is performed.
protected  void setAttrInvokeAccessor(int index, java.lang.Object value, oracle.jbo.server.AttributeDefImpl attrDef)
          setAttrInvokeAccessor: generated method.
 void setDataType(java.lang.String value)
          Sets value as the attribute value for DataType.
 void setDescription(java.lang.String value)
          Sets value as the attribute value for Description.
 void setDescriptiveFlexfield(DescriptiveFlexfieldEOImpl value)
          Sets value as the associated entity DescriptiveFlexfieldEOImpl.
 void setEnabledFlag(java.lang.String value)
          Sets value as the attribute value for EnabledFlag.
 void setParameterCode(java.lang.String value)
          Sets value as the attribute value for ParameterCode.
 
Methods inherited from class oracle.apps.fnd.applcore.oaext.model.OAEntityImpl
afterCommit, appendXMLElementNodes, bindDMLStatement, buildDMLStatement, changeSessionLanguageForTL, checkConsistency, clearInstalledLanguagesCache, containsFlexfields, create, createAuditRowForThisEntity, deleteRow, doDML, doDMLWithLOBs, doSelect, getActivityActorsGUIDs, getActivityObjectTypeNames, getActivityStreamServiceId, getAdditionalServiceIds, getAttribute, getAttributeChangesForAudit, getAttributeDef, getAttributeInternal, getAuditEnabledAttributes, getBaseLanguage, getContainerEntity, getCurrentDatabaseDate, getCurrentDBDate, getCurrentDBTime, getCurrentDBTimeWithNanos, getCurrentLanguage, getCurrentSystemDate, getCurrentTLRowLangCode, getDocSequence, getDocSequence, getDocSequenceValueWithId, getDocSequenceValueWithId, getEFFSourceContextEntity, getEntityDef, getFlexfieldParameterValue, getFlexfieldStructureCode, getFlexfieldStructureCode, getHistoryColumnsOfTLEntity, getHistoryContextForAttribute, getInstalledLanguages, getKeyAttributesIndexMap, getOsnRow, getOsnSecondaryEntity, getPostedAttribute, getSetId, getTranslatedAttributesIndexMap, getTranslatedEntityStaticInfo, getTranslatedEntityStaticInfo, getTranslatedLanguages, getWhoUser, handleEffectiveDateOperationsForSeedData, handlePostChangesError, insertRow, isActivityPublishingEnabled, isAttributeUpdateable, isCreatePrivilegeAvailable, isExtensibleFlexfield, isExtensibleTranslatableFlexfield, isPlsqlEntity, isRefreshRequired, isShadowTableRowNonAuditRelated, isSiteLevelAuditEnabled, isTranslatable, isTranslatable, isTranslatable, isTranslatableAttribute, isTranslated, lock, lockRow, notifyEventRaised, parseFlexfieldDate, parseFlexfieldDateTime, parseFlexfieldNumber, parseFlexfieldTime5, parseFlexfieldTime8, performSendToOsn, populateAttributeAsChanged, populateAttributeAsChanged, postChanges, readAttrsFromXML, refresh, refreshViewAccessor, registerOsnExternalListener, remove, secondaryEOSendToOSN, setAttribute, setAttributeInternal, setNewRowState, toFlexfieldString, toFlexfieldString, toFlexfieldStringDate, toFlexfieldStringDateTime, toFlexfieldStringTime5, toFlexfieldStringTime8, updateRow, validateEntity, validateFlexfieldDate, validateFlexfieldDateTime, validateFlexfieldMaxLength, validateFlexfieldMaxValue, validateFlexfieldMaxValue, validateFlexfieldMinValue, validateFlexfieldMinValue, validateFlexfieldNumber, validateFlexfieldNumber, validateFlexfieldNumericOnly, validateFlexfieldRange, validateFlexfieldRequired, validateFlexfieldRJZFNumber, validateFlexfieldTime5, validateFlexfieldTime8, validateFlexfieldUppercase, validateFlexfieldValue
 
Methods inherited from class oracle.jbo.server.EntityImpl
addToTransactionManager, addToValidationListeners, addTransactionPostListener, addTransactionPostListenerNoCheck, afterRemove, afterRollback, appendXMLElementNodesForAttrs, beforeCommit, beforeRollback, bindWhereClause, buildRefreshSQL, buildWhereClause, clearAttributeException, compare, copyChangedNonKeyAttributes, copyEffDtEntity, createArray, createAssociationAccessorRS, createAssociationAccessorVO, createBlob, createClob, createEntityAttrHints, createEntityViewLinkAccessorRS, createEntityViewLinkAccessorVO, createNClob, createRef, createStruct, createUnqualifiedRowSet, createViewAccessorRS, createViewAccessorRS, doAllowsOperation, doDMLForCascadeUpdate, domainToBeModified, donePostingAll, doRefreshSQL, doSelectForAltKey, eventsDebugOnly, fetchExprValueSupplierOverrideRow, findAssociationAccessorVO, findEntityViewLinkAccessorVO, findOrCreateAssociationAccessorRS, findOrCreateLocalViewObject, findOrCreateViewAccessorRS, findOrCreateViewAccessorRS, findViewAccessorDef, findViewAccessorVO, getAltKey, getAttribute, getAttribute, getAttribute, getAttributeChangedCount, getAttributeCount, getAttributeHints, getAttributeHints, getAttributeIndexOf, getAttributeNames, getAttributeValue, getAttributeValues, getBaseAttributeCount, getChangeIndicator, getComparator, getDBTransaction, getDynamicAttributeCount, getDynamicAttributeValue, getEffDtInitEndDateValue, getEffectiveDate, getEntityCache, getEntityCacheInternal, getEntityState, getKey, getListBindingRSI, getListBindings, getLookupDescription, getOrigData, getParentVariableManager, getPKBasedRef, getPostState, getPrimaryKey, getRefreshSQLKeyAttrs, getSQLBuilder, getStateAsString, getStructureDef, getTransactionListeners, getTransactionListenersList, getTransPostHandle, getValidationListeners, getValidationListenersList, handleActivatedRowNotFound, handleEffectiveDateOperations, handleEffectiveDateRowCreate, handleEffectiveDateRowDelete, handleEffectiveDateRowUpdate, handleListBindingMismatch, hasAttributeException, hasListBindings, hasUpdatePrivilege, initBusLogicGroupDefaults, initBusLogicGroupDfltExprAttrs, initData, initDefaultExpressionAttributes, initDefaults, initialize, isAttributeChanged, isAttributeChanged, isAttributeChangedInTransaction, isAttributePopulated, isAttributePopulated, isDead, isInCache, isInvalid, isLocked, isLookupIdValid, isOrigDataEmpty, isOrigDataPopulated, isPostedToDB, isTransientTransactionListener, isTransientTransactionPostListener, isValid, isViewAccessorAttribute, lockTopLevelEntity, markViewAccessorsDirty, notifyAttributesAndBlgChanged, notifyAttributesChanged, notifyAttributesChanged, notifyEntityActivated, outputEventString, populateAttribute, populateAttribute, populateAttribute, prepareForBatchDML, prepareVOToFetchNextEffDtRows, prepareVOToFetchNextEffDtRows, prepareVOToFetchNextEffDtSeqRows, prepareVOToFetchNextEffDtSeqRows, prepareVOToFetchPrevEffDtRows, prepareVOToFetchPrevEffDtRows, prepareVOToFetchPrevEffDtSeqRows, prepareVOToFetchPrevEffDtSeqRows, readXML, refreshFKInNewContainees, registerAttributeException, removeAndRetain, removeFromCollection, removeTransactionPostListener, resetPKBasedRef, revert, revertChangesToEffDtEntity, setAttribute, setAttribute, setAttributeChanged, setAttributeValues, setDynamicAttributeValue, setEffectiveDateMode, setEntityDef, setInvalid, setLocked, setPostedToDB, setTransPostHandle, toString, validate, validateDateEffectivity, variablesAdded, vetoRemoveWithDetails
 
Methods inherited from class oracle.jbo.server.RowImpl
addListBindingsForAttribute, clearAllExceptions, clearAttributeException, clearRowExceptions, createXMLDefinition, doAutoClearAttribute, ensureVariableManager, findAttrAndGetIndex, findListBindingName, forceFilterListExecute, getAllExceptions, getAttributeInternal, getAttributeSecurityHints, getAttributeSecurityHints, getCombinedAttrNames, getEffectiveDateMode, getExprMethodVal, getExprVarVal, getGlobalScript, getHints, getMessageBundleClass, getMethodKind, getResourceBundleDef, getRowExceptions, getSecurityHints, getVariableManager, getViewAccessorResultIndex, hasAttributeException, hasDeferredExceptions, hasVariables, isRefreshRequired, isRefreshRequired, lookupListBinding, printXMLDefinition, readXML, refreshViewAccessor, refreshViewAccessor, registerRowException, setAttributeInternal, setExprVarVal, setInMultiSetter, skipFilterListOnKeyAttributes, writeXML, writeXML, writeXML, writeXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.jbo.Row
getAttributeSecurityHints, getAttributeSecurityHints, getEffectiveDateMode, getSecurityHints
 
Methods inherited from interface oracle.jbo.XMLInterface
readXML, writeXML, writeXML, writeXML, writeXML
 

Field Detail

APPLICATIONID

public static final int APPLICATIONID
See Also:
Constant Field Values

DESCRIPTIVEFLEXFIELDCODE

public static final int DESCRIPTIVEFLEXFIELDCODE
See Also:
Constant Field Values

PARAMETERCODE

public static final int PARAMETERCODE
See Also:
Constant Field Values

DESCRIPTION

public static final int DESCRIPTION
See Also:
Constant Field Values

DATATYPE

public static final int DATATYPE
See Also:
Constant Field Values

ENABLEDFLAG

public static final int ENABLEDFLAG
See Also:
Constant Field Values

CREATIONDATE

public static final int CREATIONDATE
See Also:
Constant Field Values

CREATEDBY

public static final int CREATEDBY
See Also:
Constant Field Values

LASTUPDATEDATE

public static final int LASTUPDATEDATE
See Also:
Constant Field Values

LASTUPDATEDBY

public static final int LASTUPDATEDBY
See Also:
Constant Field Values

LASTUPDATELOGIN

public static final int LASTUPDATELOGIN
See Also:
Constant Field Values

DESCRIPTIVEFLEXFIELD

public static final int DESCRIPTIVEFLEXFIELD
See Also:
Constant Field Values
Constructor Detail

DescriptiveFlexfieldParameterEOImpl

public DescriptiveFlexfieldParameterEOImpl()
This is the default constructor (do not remove).

Method Detail

getDefinitionObject

public static oracle.jbo.server.EntityDefImpl getDefinitionObject()
Returns:
the definition object for this instance class.

getApplicationId

public java.lang.Long getApplicationId()
Gets the attribute value for ApplicationId, using the alias name ApplicationId.


getDescriptiveFlexfieldCode

public java.lang.String getDescriptiveFlexfieldCode()
Gets the attribute value for DescriptiveFlexfieldCode, using the alias name DescriptiveFlexfieldCode.


getParameterCode

public java.lang.String getParameterCode()
Gets the attribute value for ParameterCode, using the alias name ParameterCode.


setParameterCode

public void setParameterCode(java.lang.String value)
Sets value as the attribute value for ParameterCode.


getDescription

public java.lang.String getDescription()
Gets the attribute value for Description, using the alias name Description.


setDescription

public void setDescription(java.lang.String value)
Sets value as the attribute value for Description.


getDataType

public java.lang.String getDataType()
Gets the attribute value for DataType, using the alias name DataType.


setDataType

public void setDataType(java.lang.String value)
Sets value as the attribute value for DataType.


getEnabledFlag

public java.lang.String getEnabledFlag()
Gets the attribute value for EnabledFlag, using the alias name EnabledFlag.


setEnabledFlag

public void setEnabledFlag(java.lang.String value)
Sets value as the attribute value for EnabledFlag.


getCreationDate

public java.sql.Timestamp getCreationDate()
Gets the attribute value for CreationDate, using the alias name CreationDate.


getCreatedBy

public java.lang.String getCreatedBy()
Gets the attribute value for CreatedBy, using the alias name CreatedBy.


getLastUpdateDate

public java.sql.Timestamp getLastUpdateDate()
Gets the attribute value for LastUpdateDate, using the alias name LastUpdateDate.


getLastUpdatedBy

public java.lang.String getLastUpdatedBy()
Gets the attribute value for LastUpdatedBy, using the alias name LastUpdatedBy.


getLastUpdateLogin

public java.lang.String getLastUpdateLogin()
Gets the attribute value for LastUpdateLogin, using the alias name LastUpdateLogin.


getDescriptiveFlexfield

public DescriptiveFlexfieldEOImpl getDescriptiveFlexfield()
Gets the associated entity DescriptiveFlexfieldEOImpl.


setDescriptiveFlexfield

public void setDescriptiveFlexfield(DescriptiveFlexfieldEOImpl value)
Sets value as the associated entity DescriptiveFlexfieldEOImpl.


getAttrInvokeAccessor

protected java.lang.Object getAttrInvokeAccessor(int index,
                                                 oracle.jbo.server.AttributeDefImpl attrDef)
                                          throws java.lang.Exception
getAttrInvokeAccessor: generated method. Do not modify.

Overrides:
getAttrInvokeAccessor in class oracle.jbo.server.EntityImpl
Throws:
java.lang.Exception

setAttrInvokeAccessor

protected void setAttrInvokeAccessor(int index,
                                     java.lang.Object value,
                                     oracle.jbo.server.AttributeDefImpl attrDef)
                              throws java.lang.Exception
setAttrInvokeAccessor: generated method. Do not modify.

Overrides:
setAttrInvokeAccessor in class oracle.jbo.server.EntityImpl
Throws:
java.lang.Exception

getSQLType

public int getSQLType()
Returns the SQL type corresponding to this parameter.

Returns:
the SQL type corresponding to this parameter

createPrimaryKey

public static oracle.jbo.Key createPrimaryKey(java.lang.Long applicationId,
                                              java.lang.String descriptiveFlexfieldCode,
                                              java.lang.String parameterCode)
Creates a Key object based on given key constituents.


prepareForDML

protected void prepareForDML(int operation,
                             oracle.jbo.server.TransactionEvent e)
Description copied from class: OAEntityImpl
Process a row when any operation like insert/update/delete is performed. User can overwrite this method and add any custom logic, like initialize any attribute on insertion.

Example:

In the following example, we delete all the detail records, when master is marked for deletion.


 protected void prepareForDML(int operation, TransactionEvent e)
 {
   if (operation == DML_DELETE)
   {
     deleteAllDetailRecords();
   }

   super.prepareForDML(operation, e);
 }
 
Handles document sequencing. If an entity attribute has been identified that it should be populated using a document sequence (in the Applications Property Inspector panel), then at this point in the entity life cycle, we will populate the attribute with a document sequence based on the inputs, provided the sequence method is automatic. If the document sequence is manual, we will validate the document sequence. The document sequence Id corresonding to the attribute is stored in the entity's variable manager using the name as attrName+"DocSeqId". You can retrieve the docSeqId in the entity by calling: ensureVariableManager.getVariableValue(attrName+"DocSeqId"); where attrName is the name of the attribute on which document sequence property is set to true in the Applications Property Inspector panel. The docSeqId can only be retrieved after this call (prepareForDML()) is done. See parent class for complete documentation

Overrides:
prepareForDML in class OAEntityImpl
Parameters:
operation - action performed on the row. It can be one of the following:
  • DML_INSERT
  • DML_UPDATE
  • DML_DELETE
e - this Entity Object's transaction event.
See Also:
#validateDocSequence, OAEntityImpl.getDocSequenceValueWithId(java.lang.Long, java.lang.String, java.lang.Long, java.lang.String, java.sql.Timestamp, java.lang.Long, java.lang.String, java.lang.String), EntityImpl.prepareForDML(int, oracle.jbo.server.TransactionEvent)

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.