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

E22562-07

oracle.apps.fnd.applcore.oaext.model
Class KFFMViewRowImpl

java.lang.Object
  extended by oracle.jbo.server.RowImpl
      extended by oracle.jbo.server.ViewRowImpl
          extended by oracle.apps.fnd.applcore.oaext.model.OAViewRowImpl
              extended by oracle.apps.fnd.applcore.oaext.model.FlexfieldViewRowImpl
                  extended by oracle.apps.fnd.applcore.oaext.model.KFFBaseViewRowImpl
                      extended by oracle.apps.fnd.applcore.oaext.model.KFFMViewRowImpl
All Implemented Interfaces:
KFFCombinationAttributes, oracle.jbo.AttributeList, oracle.jbo.common.xml.XmlSerializable, oracle.jbo.ConsistentRow, oracle.jbo.expr.JIReservedVarNames, oracle.jbo.ExprScriptSupplier, oracle.jbo.ExprValueSupplier, oracle.jbo.ExprWrappable, oracle.jbo.JboReservedVarNames, oracle.jbo.Row, oracle.jbo.RowExprScriptSupplier, oracle.jbo.script.ExprScriptRunner, oracle.jbo.VariableManagerOwnerBase, oracle.jbo.XMLInterface

public class KFFMViewRowImpl
extends KFFBaseViewRowImpl
implements KFFCombinationAttributes

Row class for key flexfield view objects.


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.apps.fnd.applcore.oaext.model.KFFBaseViewRowImpl
KFFBaseViewRowImpl.DuplicateValueException, KFFBaseViewRowImpl.InvalidValueException
 
Nested classes/interfaces inherited from class oracle.jbo.server.ViewRowImpl
oracle.jbo.server.ViewRowImpl.PostState
 
Field Summary
 
Fields inherited from class oracle.apps.fnd.applcore.oaext.model.OAViewRowImpl
JAXB_CONTEXT_PATH, RCS_ID
 
Fields inherited from class oracle.jbo.server.ViewRowImpl
CURRENT_VERSION, ORIGINAL_VERSION, XML_POSTSTATE_REMOVE, XML_POSTSTATE_TAG
 
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
 
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
 
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
 
Constructor Summary
KFFMViewRowImpl()
           
 
Method Summary
 java.lang.Long getCodeCombinationID()
          Gets the code-combination ID.
 java.util.List<FlexfieldSegmentValue> getSegmentValues()
          Gets the segment values with the standard value attributes.
 java.util.List<FlexfieldSegmentValue> getSegmentValues(java.lang.String labelCode)
          Gets the segment values with their value attribute values for a label.
 java.util.Iterator<java.lang.String> getValueAttrCodeIterator(java.lang.String labelCode)
          Gets the iterator of the value attribute codes for a label.
 java.lang.Object getValueAttribute(java.lang.String labelCode, java.lang.String valAttrCode)
          Gets the current value of a value attribute of this combination.
 void printAllValueAttributes(java.io.PrintStream out)
          Prints the information of all value attributes.
 void setValueAttributes(java.util.Map<java.lang.String,java.lang.Object> values)
          Sets the standard value attributes.
 void setValueAttributes(java.lang.String labelCode, java.util.Map<java.lang.String,java.lang.Object> values)
          Sets the value attributes.
 
Methods inherited from class oracle.apps.fnd.applcore.oaext.model.KFFBaseViewRowImpl
getAttributeInternal, getFlexfieldViewDef, getValueRow, setFlexfieldDerivedSegmentValues
 
Methods inherited from class oracle.apps.fnd.applcore.oaext.model.FlexfieldViewRowImpl
getConcatenatedSegments, getDiscriminatorValue, getFlexfieldApplicationModule, getFlexfieldEntity, getFlexfieldParameterValue, getModelID, getSegmentAttribute, refresh, setAttributeInternal, setSegmentAttribute
 
Methods inherited from class oracle.apps.fnd.applcore.oaext.model.OAViewRowImpl
create, createViewAccessorRS, findDiscriminatorForFilterRow, getApplCorePrefs, getAttribute, getAttribute, getDisplay, getEntities, getKeyFlexfieldCombination, getKeyFlexfieldCombinationID, getKeyFlexfieldViewDefImpl, getKeyFlexfieldViewObjectForQuery, getSetId, getTranslatedLanguages, isRefreshRequired, isTranslatable, isTranslatableAttribute, isTranslated, populteFilterMap, refreshViewAccessor, remove, resolveCustomSeedDataConflict, resolveStandardSeedDataConflict, sendToOsn, setAttribute, setAttribute, setAttribute, setKeyFlexfieldCombinationID, skipFilterListOnKeyAttributes, validate, validateKeyFlexfieldCombinationID
 
Methods inherited from class oracle.jbo.server.ViewRowImpl
_internal_dbg_debug_data, appendXMLElementNodes, appendXMLElementNodes, checkConsistency, checkForOuterJoins, clearAttributeException, clearAttributeException, copyFrom, createEntities, createListBinding, createMissingEntitiesFromViewDef, createViewAccessorRS, createViewRowAttrHints, doAllowsOperation, doAutoClearAttribute, entityCacheAdd, equals, findAssociatedObjects, findAttributeDef, findListBindingName, findListBindingRSI, findOrCreateLocalViewObject, findOrCreateViewAccessorRS, findOrCreateViewAccessorRS, findOrCreateViewLinkAccessorRS, findRowSetForRow, findViewAccessorDef, getApplicationModule, getApplicationModuleForViewAccessor, getAttribute, getAttribute, getAttributeCount, getAttributeHints, getAttributeHints, getAttributeIndexOf, getAttributeInternal, getAttributeNames, getAttributeValues, getAttrInvokeAccessor, getClientChangeIndicator, getCtrlHints, getDBTransaction, getEffectiveDate, getElementTagName, getEntity, getEntityAttrForAttribute, getEntityCount, getEntityForAttribute, getEntityForListBinding, getExprVarVal, getHandle, getKey, getListBindingCount, getListBindingRSI, getListBindings, getLookupDescription, getNewRowState, getOriginalAttributeValue, getOwningAccessorName, getParentVariableManager, getPreferredListBindingRSI, getPrimaryEntityReference, getPrimaryPostState, getQueryCollection, getRowOperationsScript, getRowSet, getRowStorageInternal, getStructureDef, getViewDef, getViewLogicGroupDef, getViewObject, getXMLElementTag, handleListBindingMismatch, hasAttributeException, hasDeferredExceptions, hasExtendedViewDef, hashCode, hasListBindings, initDefaults, internalGetCachedCalcAttributeValue, invokeMethod, isAttributeChanged, isAttributeUpdateable, isDead, isRefreshRequired, isSubclassRow, isViewAccessorAttribute, lock, lookupAttributeDef, markViewAccessorsDirty, populate, populateAttribute, populateAttributeAsChanged, readAttributeFromXMLElement, readXML, registerAttributeException, removeAndRetain, removeFromCollection, renderAttributeInXMLElement, renderAttributeInXMLElement, revert, revertRow, revertRowAndContainees, setAttribute, setAttributeValues, setAttrInvokeAccessor, setEffectiveDateMode, setEffectiveDateOnEntities, setEntities, setEntity, setNewRowState, setStateOnEntity, setTransientAttributeValue, shouldAddViewAccessorRSToRow, throwOnListBindingMismatch, toString, writeAsXml, writeAsXml, writeXML
 
Methods inherited from class oracle.jbo.server.RowImpl
addListBindingsForAttribute, clearAllExceptions, clearRowExceptions, createXMLDefinition, ensureVariableManager, findAttrAndGetIndex, forceFilterListExecute, getAllExceptions, getAttributeInternal, getAttributeSecurityHints, getAttributeSecurityHints, getCombinedAttrNames, getEffectiveDateMode, getExprMethodVal, getGlobalScript, getHints, getMessageBundleClass, getMethodKind, getResourceBundleDef, getRowExceptions, getSecurityHints, getVariableManager, getViewAccessorResultIndex, hasAttributeException, hasVariables, isRefreshRequired, lookupListBinding, printXMLDefinition, readXML, refreshViewAccessor, refreshViewAccessor, registerRowException, setAttributeInternal, setExprVarVal, setInMultiSetter, variablesAdded, writeXML, writeXML, writeXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.jbo.ExprScriptSupplier
getGlobalScript
 

Constructor Detail

KFFMViewRowImpl

public KFFMViewRowImpl()
Method Detail

getSegmentValues

public java.util.List<FlexfieldSegmentValue> getSegmentValues(java.lang.String labelCode)
Gets the segment values with their value attribute values for a label.

Specified by:
getSegmentValues in interface KFFCombinationAttributes
Parameters:
labelCode - the label code
Returns:
the segment values with value attribute values; an empty list if no segment is associated with the given label

getSegmentValues

public java.util.List<FlexfieldSegmentValue> getSegmentValues()
Gets the segment values with the standard value attributes. The codes of the standard value attributes are defined as constants in FlexfieldSegmentValue.

Specified by:
getSegmentValues in interface KFFCombinationAttributes
Returns:
the segment values with the standard value attribute values; this list should include all flexfield segments because standard value attributes exist for all segment values.

getValueAttrCodeIterator

public java.util.Iterator<java.lang.String> getValueAttrCodeIterator(java.lang.String labelCode)
Gets the iterator of the value attribute codes for a label. This method never returns null. If the label is undefined, unused or has no value attributes, an iterator with zero element is returned.

Specified by:
getValueAttrCodeIterator in interface KFFCombinationAttributes
Parameters:
labelCode - the label code
Returns:
the iterator of the value attribute codes

getValueAttribute

public java.lang.Object getValueAttribute(java.lang.String labelCode,
                                          java.lang.String valAttrCode)
Gets the current value of a value attribute of this combination.

Specified by:
getValueAttribute in interface KFFCombinationAttributes
Parameters:
labelCode - the label code; null if the given value attribute code is one of the standard value attribute codes defined in FlexfieldSegmentValue.
valAttrCode - the value attribute code
Returns:
the current value of the value attribute

setValueAttributes

public void setValueAttributes(java.lang.String labelCode,
                               java.util.Map<java.lang.String,java.lang.Object> values)
Sets the value attributes.

Specified by:
setValueAttributes in interface KFFCombinationAttributes
Parameters:
labelCode - the label code
values - the values in a map where the keys are value attribute codes and the values are value attribute values. Only the value attributes associated with the given label will be set. The map does not have to contain all value attributes associated with the label. A null value-attribute value is allowed.

setValueAttributes

public void setValueAttributes(java.util.Map<java.lang.String,java.lang.Object> values)
Sets the standard value attributes. The codes of the standard attributes are defined as constants in FlexfieldSegmentValue.

Specified by:
setValueAttributes in interface KFFCombinationAttributes
Parameters:
values - the values in a map where the keys are value attribute codes and the values are value attribute values. Only the value attributes associated with the given label will be set. The map does not have to contain all value attributes associated with the label. A null value-attribute value is allowed.

getCodeCombinationID

public java.lang.Long getCodeCombinationID()
Gets the code-combination ID.

Specified by:
getCodeCombinationID in interface KFFCombinationAttributes
Returns:
the code-combination ID

printAllValueAttributes

public void printAllValueAttributes(java.io.PrintStream out)
Prints the information of all value attributes. The information includes the labels associated with each segment and the value attributes associated with each label. This is mainly for logging or error reporting.

Specified by:
printAllValueAttributes in interface KFFCombinationAttributes
Parameters:
out - the print stream

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

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.