Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

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

java.lang.Object
  extended by oracle.jbo.common.NamedObjectImpl
      extended by oracle.jbo.mom.DefinitionObject
          extended by oracle.jbo.mom.PersistableDefObject
              extended by oracle.jbo.server.DefObject
                  extended by oracle.jbo.server.MetaObject
                      extended by oracle.jbo.server.RowDef
                          extended by oracle.jbo.server.ViewDefImpl
                              extended by oracle.apps.fnd.applcore.oaext.model.FlexfieldBaseViewDefImpl
                                  extended by oracle.apps.fnd.applcore.oaext.model.FlexfieldViewDefImpl
All Implemented Interfaces:
FlexfieldSdoSupport, oracle.jbo.common.ResourceBundleOwner, oracle.jbo.common.ViewCriteriaManagerOwner, oracle.jbo.ExprValueSupplier, oracle.jbo.ExprWrappable, oracle.jbo.mom.xml.DefPersistable, oracle.jbo.mom.xml.PersistentDefinition, oracle.jbo.server.AttributeDependencyManager, oracle.jbo.server.OperationDefinitionContainer, oracle.jbo.StructureDef, oracle.jbo.VariableManagerOwner, oracle.jbo.VariableManagerOwnerBase, oracle.jbo.ViewCriteriaResolver, oracle.jbo.ViewDef
Direct Known Subclasses:
DFFViewDefImpl, KFFPViewDefImpl, KFFViewDefImpl

public class FlexfieldViewDefImpl
extends FlexfieldBaseViewDefImpl
implements FlexfieldSdoSupport

Definition class for flexfield view objects.


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.jbo.mom.PersistableDefObject
oracle.jbo.mom.PersistableDefObject.CustomizationType, oracle.jbo.mom.PersistableDefObject.PersonalizationType
 
Field Summary
 
Fields inherited from class oracle.apps.fnd.applcore.oaext.model.FlexfieldBaseViewDefImpl
PROPERTY_DEF_IMPORTS_AM
 
Fields inherited from class oracle.jbo.server.ViewDefImpl
CLAUSE_ADDITIVE, CLAUSE_GENERATE_RT, COMPOSITE_VIEW_OBJECT, COMPVO_BASE_VIEW_QUERIES_INLINED, PASSIVATE_DEFAULT, PASSIVATE_DISABLED, PASSIVATE_TRANISENTS_TOO
 
Fields inherited from class oracle.jbo.server.RowDef
mAliasName, mBindingStyle
 
Fields inherited from class oracle.jbo.server.MetaObject
mComponentClass
 
Fields inherited from class oracle.jbo.mom.DefinitionObject
DEF_MDS_CLIENT_KEY, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAP
 
Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX
 
Fields inherited from interface oracle.jbo.ViewDef
FULL_OUTER_JOIN_TYPE, INNER_JOIN_TYPE, LEFT_OUTER_JOIN_TYPE, NONE_JOIN_TYPE, RIGHT_OUTER_JOIN_TYPE
 
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable
XML_STATEMENT
 
Constructor Summary
FlexfieldViewDefImpl()
          Constructs a default view definition.
FlexfieldViewDefImpl(int scope, java.lang.String name)
          Constructs a flexfield view definition.
FlexfieldViewDefImpl(int scope, java.lang.String name, java.lang.String baseViewDefName)
          Constructs a flexfield view definition that extends a base view definition.
 
Method Summary
 java.lang.Long getApplicationID()
          Gets the application ID of the flexfield.
protected  oracle.jbo.server.ComponentOperations getComponentOperations()
           
 java.lang.String getDelimiter()
          Gets the delimiter.
static java.lang.String getDelimiter(oracle.jbo.server.ViewDefImpl viewDef)
          Gets the delimiter.
 java.lang.Character getDelimiterCharacter()
          Gets the delimiter as a character.
 oracle.jbo.AttributeDef getDiscriminatorAttribute()
          Gets the discriminator attribute.
 java.lang.String getDiscriminatorSdoPath()
          Gets the path of the discriminator
protected  java.lang.String getEffectiveClientProxyClassName()
           
protected  java.lang.String getEffectiveComponentInterfaceName()
           
 java.lang.String getFlexfieldApplicationModuleDefFullName()
          Gets the full name of the flexfield application module definition.
 java.util.List<oracle.jbo.AttributeDef> getFlexfieldAttributes()
          Gets the list of flexfield attributes.
static java.util.List<oracle.jbo.AttributeDef> getFlexfieldAttributes(oracle.jbo.server.ViewDefImpl viewDef)
          Gets the list of flexfield attributes.
 java.util.List<oracle.jbo.AttributeDef> getFlexfieldAttributesForDisplay()
          Gets the list of flexfield attributes for display.
 java.lang.String getFlexfieldCode()
          Gets the flexfield code.
 oracle.jbo.server.EntityDefImpl getFlexfieldEntityDef()
          Gets the flexfield entity definition.
 java.util.List<java.lang.String> getLabelCodes(java.lang.String attrName)
          Gets the label codes for a segment attribute.
 java.util.List<oracle.jbo.AttributeDef> getLabeledAttributes(java.lang.String labelCode)
          Gets the attributes associated with a given label.
 java.lang.String getModelID()
          Gets the ID of the flexfield model where this view object belongs to.
 java.lang.String getSdoName()
          Gets the SDO name.
 java.lang.String getSdoNamespace()
          Gets the SDO namespace.
 oracle.jbo.AttributeDef getSegmentAttribute(oracle.jbo.AttributeDef displayAttr)
          Gets the segment attribute that corresponds to a given display attribute.
 oracle.jbo.AttributeDef getSegmentAttribute(java.lang.String segmentCode)
          Gets the definition of a segment attribute.
static java.lang.String getSegmentCode(oracle.jbo.AttributeDef attr)
          Gets the code of the segment an attribute represents.
static java.lang.Object getSegmentDefaultValue(oracle.jbo.AttributeDef attr)
          Gets the default value of a segment attribute.
static java.lang.String getSegmentDefaultValueType(oracle.jbo.AttributeDef attr)
          Gets the default value type of a segment attribute.
static java.lang.String getSegmentDisplayAttributeName(oracle.jbo.AttributeDef segAttr)
          Gets the name of the display attribute for a segment attribute.
 java.lang.String getSegmentSdoPath(java.lang.String segmentCode)
          Gets the path of a segment.
static boolean isGlobalSegment(oracle.jbo.AttributeDef attr)
          Returns true if the given attribute represents a global segment.
static boolean isSegmentDisplay(oracle.jbo.AttributeDef attr)
          Returns true if the given attribute is a display attribute of a segment.
static boolean isSegmentRequired(oracle.jbo.AttributeDef attr)
          Returns true if the given attribute represents a segment that is required.
protected static void loadFromXML(oracle.jbo.mom.xml.DefElement arg0, oracle.jbo.server.RemotableCompDef arg1)
           
protected  void loadOperationDefinitions(oracle.jbo.mom.xml.DefElement arg0)
           
 java.util.Map<java.lang.String,java.lang.Object> parseSegmentCombination(java.lang.String s)
          Parses a segment combination into a map of view attribute values.
 java.util.Map<java.lang.String,java.lang.Object> parseSegmentCombination(java.lang.String s, boolean nullFilled)
          Parses a segment combination into a map of view attribute values.
 
Methods inherited from class oracle.apps.fnd.applcore.oaext.model.FlexfieldBaseViewDefImpl
findDefForDiscrValues, hasExtendedDefObjects
 
Methods inherited from class oracle.jbo.server.ViewDefImpl
addAllEntityAttributes, addAllRowAttributes, addApplyViewCriteriaNames, addEntityAttribute, addEntityUsage, addEntityUsage, addEntityUsage, addEntityUsage, addEntityUsage, addListBindingDef, addRowAttribute, addRowSetViewAttribute, addViewAttribute, addViewLinkAccessor, addViewLinkAccessor, addViewUsage, addViewUsage, buildDefaultFrom, buildDefaultFrom, buildDefaultFrom, buildDefaultFromAttrs, buildDefaultSelect, buildDefaultSelect, createAltKey, createAttributeDef, createCompositeViewDef, createViewCriteria, createViewDef, criteriaChanged, findAttrDefByEntAttrDef, findAttributeDef, findDefObject, findDefObjectNoSub, findStructureDefByName, findViewLinkDefImpl, finishedLoading, getAccessMode, getAllDefNames, getAllViewCriteriaNames, getAllViewCriterias, getAltKeyAttrDefs, getAltKeyAttrDefs, getAttributeCount, getAttributeDef, getAttributeDefImpls, getAttributeDefs, getBaseComponentClass, getCalculatedAttributeCount, getColumnNameForQuery, getColumns, getCtrlHints, getDBSortCriteria, getDefaultFetchMode, getDefaultViewCriteria, getDefTypeId, getDefXMLElementTag, getDfltCtrlHints, getEffectiveDateTransientAttr, getEffectiveDateTransientAttrInternal, getEffectiveDateTransientAttrName, getEffectiveRowClientProxyClassName, getEJBAppProviderURL, getEJBHome, getEJBHomeJNDIName, getEntityDiscrColumns, getEntityIndex, getEntityReference, getEntityReference, getEntityReferences, getEntityReferences, getEntityRefsParentOrder, getEntityUsage, getEntityUsages, getFetchMode, getFetchSize, getFromClause, getFromClause, getFromClauseFlags, getHintValue, getIterMode, getListBindingViewDef, getMaxActiveNodes, getMaxAttrConst, getMaxFetchSize, getMaxRowsPerNode, getOrderByClause, getPrimaryKeys, getProperty, getQuery, getQueryHint, getRangePagingCacheFactor, getRangeSize, getRawAttributeDefs, getReqdVC, getRowClass, getRowClientProxyClassName, getRowInterfaceName, getRowMatch, getRows, getSdoNameSpace, getSDOPackageName, getSelectClause, getSelectClauseFlags, getSIFContextKey, getStaticListCellId, getStoredProcedureName, getVarMgrParents, getViewCriteria, getViewCriteriaManager, getViewKeyAttrDefs, getWhereClause, getWhereClause, getWhereClause, getWhereClauseFlags, getXMLElementTag, getXMLRowElementTag, hasDataSecurity, hasPrimaryEntity, hasQuery, hasVariables, isAutoRefreshEnabled, isComposite, isDynamic, isEffectiveDated, isFinderView, isFullSql, isManageRowsByKey, isPassivationEnabled, isPLSQLView, isQueryThruEntity, isReadOnly, isRuntimeSQLGeneration, isSdoDirty, isSdoGen, isSDOGeneric, isSelectAllAttributes, isServiceWarningsEnabled, isStatic, isUseGlueCode, isViewLinkAccessorRetained, loadCustomDef, loadXMLContents, lookupAttributeDef, lookupViewAccessorDef, putPDefViewCriteria, putViewCriteria, resolveDefObject, resolveReferences, setAccessMode, setAutoRefresh, setColumns, setDBSortCriteria, setDefForComponent, setEffectiveDated, setEntityDiscrColumns, setFetchMode, setFetchSize, setFromClause, setFromClauseFlags, setFullSql, setIterMode, setJoinType, setMaxActiveNodes, setMaxFetchSize, setMaxRowsPerNode, setOrderByClause, setPassivationMode, setQuery, setQueryHint, setRangePagingCacheFactor, setRangeSize, setReqdVC, setRowClass, setRowClientProxyClassName, setRowInterfaceName, setRowMatch, setRows, setSdoDirty, setSdoGen, setSdoName, setSdoNameSpace, setSelectAllAttributes, setSelectClause, setSelectClauseFlags, setServiceWarnings, setStoredProcedureName, setupForLov, setUseGlueCode, setViewLinkAccessorRetained, setWhereClause, setWhereClauseFlags, shouldPutJoinConstraintInWhereClause, unsetDefForComponent, writeChildren, writeContents
 
Methods inherited from class oracle.jbo.server.RowDef
addAltKey, addExtendedDefObject, addForwardDependency, addForwardDependency, addListBindingDef, addViewAccessorDef, appendBindingNameForAttr, appendBindingSpec, appendBindingSpec, createDef, discrValuesQualify, findAltKeyDef, findAttrDefIncludingPDef, findListBindingDef, findViewAccessorDef, getAliasName, getAllProperties, getAltKeyCount, getAltKeyDef, getAltKeyIndex, getAltKeyNames, getAttributeIndexOf, getBackwardDependencies, getBackwardDependencyAttributes, getBindingStyle, getDataSourceDef, getDefFullName, getDefName, getDiscrColumns, getExprVarVal, getForwardDependencies, getForwardDependencyAttributes, getListBindingDefs, getViewAccessorDefs, loadListBindings, loadViewAccessor, loadViewAccessors, lookupAltKeyDef, lookupListBindingDef, registerDefObject, removeAltKey, removeListBindingDef, removeViewAccessorDef, resolvePropertyRaw, setAliasName, setBindingStyle, setDiscrColumns, setExprVarVal, setThrowOnListBindingMismatch, throwOnListBindingMismatch, verifyExtendedDefObjects, writeXMLContents
 
Methods inherited from class oracle.jbo.server.MetaObject
deregisterSessionObject, getMessageBundleClass, getMsgBundleDef, getPackageDef, getPackageName, getPersDef, getPersDefNoUpdateCheck, getResourceBundleDef, getResourcePrefix, loadResourceBundle, registerSessionDefObject, setMessageBundleClass, setResourceBundleDef
 
Methods inherited from class oracle.jbo.server.DefObject
ensureVariableManager, getBaseDefObject, getDefXMLNameSpace, getVariableManager, loadProperties, loadVariables, setBaseDefObject, setBaseDefObject, setName, setParent
 
Methods inherited from class oracle.jbo.mom.PersistableDefObject
addDefImport, allocatePropertyMap, checkEditable, close, createFromXML, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getEditObject, getExtendedDefObjectsInternal, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getSyncLock, guaranteePath, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isNew, isPersonalizationEnabled, isPersonalizationEnabled, loadDefImports, mergePropertyMap, objectRemoved, reapplyChanges, reapplyChangesToChildren, reapplyChangesToContents, registerClass, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, updateChildrenList, verifyVersion, writeObject, writeVersion
 
Methods inherited from class oracle.jbo.mom.DefinitionObject
addPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getContainerDef, getContainerName, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, isSuppressUpdateCheck, loadCustomProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, setDefScope, setMdsKey, setMdsReference, setObjectResolved, setPropertySetName, suppressUpdateCheck
 
Methods inherited from class oracle.jbo.common.NamedObjectImpl
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getPropertyExpressionsMap, getResourcesFromBundle, getStringFromMessageBundle, isPropertyExpression, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setFullName, setPropertiesMap, setPropertiesMap2, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.jbo.ViewDef
registerDefObject, saveXMLContents, setDefaultBaseDir, writeXMLContents
 
Methods inherited from interface oracle.jbo.StructureDef
getAttributeIndexOf, getDefFullName, getDefName, getFullName, getName
 
Methods inherited from interface oracle.jbo.VariableManagerOwner
getName
 
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable
getFullName
 

Constructor Detail

FlexfieldViewDefImpl

public FlexfieldViewDefImpl()
Constructs a default view definition.


FlexfieldViewDefImpl

public FlexfieldViewDefImpl(int scope,
                            java.lang.String name)
Constructs a flexfield view definition.

Parameters:
scope - the scope
name - the name

FlexfieldViewDefImpl

public FlexfieldViewDefImpl(int scope,
                            java.lang.String name,
                            java.lang.String baseViewDefName)
Constructs a flexfield view definition that extends a base view definition.

Parameters:
scope - the scope
name - the name
baseViewDefName - the name of the base view definition
Method Detail

getModelID

public java.lang.String getModelID()
Gets the ID of the flexfield model where this view object belongs to.

Returns:
the ID of the flexfield model

getApplicationID

public java.lang.Long getApplicationID()
Gets the application ID of the flexfield.

Returns:
the application ID
Throws:
java.lang.NullPointerException - if the application ID cannot be found

getFlexfieldCode

public java.lang.String getFlexfieldCode()
Gets the flexfield code.

Returns:
the flexfield code

getFlexfieldApplicationModuleDefFullName

public java.lang.String getFlexfieldApplicationModuleDefFullName()
Gets the full name of the flexfield application module definition.

Returns:
the full name of the flexfield application module definition

getDiscriminatorAttribute

public oracle.jbo.AttributeDef getDiscriminatorAttribute()
Gets the discriminator attribute.

Returns:
the discriminator attribute

getDelimiter

public java.lang.String getDelimiter()
Gets the delimiter.

Returns:
the delimiter

getDelimiter

public static final java.lang.String getDelimiter(oracle.jbo.server.ViewDefImpl viewDef)
Gets the delimiter. This is a helper method that extracts the information without having the caller to cast a ViewDefImpl reference to FlexfieldViewDefImpl.

Parameters:
viewDef -
Returns:

getDelimiterCharacter

public java.lang.Character getDelimiterCharacter()
Gets the delimiter as a character.

Returns:
the delimiter; null if no delimiter is found
Throws:
java.lang.UnsupportedOperationException - if the delmiter has more than one character

getSegmentAttribute

public oracle.jbo.AttributeDef getSegmentAttribute(java.lang.String segmentCode)
Gets the definition of a segment attribute.

Parameters:
segmentCode - the segment code
Returns:
the corresponding attribute definition; null if no attribute is found for the given segment code
Throws:
java.lang.IllegalArgumentException - if the given segment code is null
See Also:
getFlexfieldAttributes()

getFlexfieldAttributes

public java.util.List<oracle.jbo.AttributeDef> getFlexfieldAttributes()
Gets the list of flexfield attributes. This list does not include discriminator attributes such as the context or structure segment. If this is a descriptive flexfield, the global segments are listed before the context-sensitive segments. For a key flexfield, the list includes all segments that make up a code combination.

Returns:
the list of flexfield attribute; an empty list if no flexfield attribute is found

getFlexfieldAttributesForDisplay

public java.util.List<oracle.jbo.AttributeDef> getFlexfieldAttributesForDisplay()
Gets the list of flexfield attributes for display. This list does not include discriminator attributes such as the context or structure segment. If this is a descriptive flexfield, the global segments are listed before the context-sensitive segments. For a key flexfield, the list includes all segments that make up a code combination.

The attribute (which is most likely transient) that represents the display value of a segment, if exists, is listed instead of the actual segment attribute. In this case, the return list may be a mixture of segment attributes and segment display attributes, because a segment attribute does not necessarily have a corresponding display attribute. To find out whether a flexfield attribute is a display attribute or a segment attribute, see isSegmentDisplay.

Returns:
the list of flexfield attributes; an empty list if no flexfield attribute is found
See Also:
isSegmentDisplay(oracle.jbo.AttributeDef), getSegmentAttribute(AttributeDef)

getFlexfieldAttributes

public static final java.util.List<oracle.jbo.AttributeDef> getFlexfieldAttributes(oracle.jbo.server.ViewDefImpl viewDef)
Gets the list of flexfield attributes. This list does not include discriminator attributes such as the context or structure segment. If this is a descriptive flexfield, the global segments are listed before the context-sensitive segments. For a key flexfield, the list includes all segments that make up a code combination.

Parameters:
viewDef - the flexfield view def
Returns:
the list of flexfield attribute; an empty list if no flexfield attribute is found
See Also:
getFlexfieldAttributes()

getLabeledAttributes

public java.util.List<oracle.jbo.AttributeDef> getLabeledAttributes(java.lang.String labelCode)
Gets the attributes associated with a given label.

Parameters:
labelCode - the code of the label
Returns:
the list of attributes associated with the label; an empty list if no attributes are associated with the given label
Throws:
FlexfieldJboException - if this information is not available

getLabelCodes

public java.util.List<java.lang.String> getLabelCodes(java.lang.String attrName)
Gets the label codes for a segment attribute.

Parameters:
attrName - the name of the segment attribute
Returns:
the list of label codes; empty list if the segment attribute is not labeld
Throws:
java.lang.IllegalArgumentException - if the given attribute name does not exist

isGlobalSegment

public static boolean isGlobalSegment(oracle.jbo.AttributeDef attr)
Returns true if the given attribute represents a global segment. Discriminator attributes and key attributes are not considered global segments.

Parameters:
attr - the attribute to be checked
Returns:
true if the given attribute represents a global segment

getSegmentCode

public static java.lang.String getSegmentCode(oracle.jbo.AttributeDef attr)
Gets the code of the segment an attribute represents.

Parameters:
attr - the attribute that represents a flexfield segment
Returns:
the code of the segment the given attribute represents; null if the given attribute is not a flexfield segment
Throws:
java.lang.NullPointerException - if the given attribute is null

getSegmentDefaultValue

public static java.lang.Object getSegmentDefaultValue(oracle.jbo.AttributeDef attr)
Gets the default value of a segment attribute. The default value may be a constant or a parameter code depending on the type.

Parameters:
attr - the segment attribute
Returns:
the default value, which can be a constant or a parameter code; null if the segment does not have a default value, or the given attribute is not a segment attribute
Throws:
java.lang.NullPointerException - if the given attribute definition is null
See Also:
getSegmentDefaultValueType(oracle.jbo.AttributeDef)

getSegmentDefaultValueType

public static java.lang.String getSegmentDefaultValueType(oracle.jbo.AttributeDef attr)
Gets the default value type of a segment attribute.

Parameters:
attr - the segment attribute definition
Returns:
FlexfieldProperty.DEFAULT_VALUE_TYPE_PARAMETER or FlexfieldProperty.DEFAULT_VALUE_TYPE_CONSTANT; null if the segment does not have a default value, or the given attribute is not a segment attribute
Throws:
java.lang.NullPointerException - if the given attribute definition is null
See Also:
getSegmentDefaultValue(oracle.jbo.AttributeDef)

isSegmentDisplay

public static boolean isSegmentDisplay(oracle.jbo.AttributeDef attr)
Returns true if the given attribute is a display attribute of a segment. This method returns false if the given attribute represents a segment itself, or if the given attribute is not a flexfield attribute at all.

Parameters:
attr - the attribute to be checked
Returns:
true if the given attribute is a display attribute of a segment
Throws:
java.lang.NullPointerException - if the given attribute is null
See Also:
getSegmentAttribute(AttributeDef)

getSegmentAttribute

public oracle.jbo.AttributeDef getSegmentAttribute(oracle.jbo.AttributeDef displayAttr)
Gets the segment attribute that corresponds to a given display attribute.

Parameters:
displayAttr - the display attribute
Returns:
the corresponding segment attribute. If the given attribute is the attribute that represents the actual segment (a segment attribute), then the given attribute is returned. If the given attribute is neither a display attribute nor a segment attribute, then null is returned.
Throws:
java.lang.NullPointerException - if the given attribute is null
See Also:
isSegmentDisplay(oracle.jbo.AttributeDef)

getSegmentDisplayAttributeName

public static java.lang.String getSegmentDisplayAttributeName(oracle.jbo.AttributeDef segAttr)
Gets the name of the display attribute for a segment attribute.

Parameters:
segAttr - the segment attribute
Returns:
the name of the display attribute; null if the segment attribute does not have a display attribute, or the given attribute is not a segment attribute

isSegmentRequired

public static boolean isSegmentRequired(oracle.jbo.AttributeDef attr)
Returns true if the given attribute represents a segment that is required.

Parameters:
attr - the attribute to be checked
Returns:
true if the given attribute represents a segment that is required

parseSegmentCombination

public java.util.Map<java.lang.String,java.lang.Object> parseSegmentCombination(java.lang.String s)
Parses a segment combination into a map of view attribute values.

Parameters:
s - the segment combination to be parsed
Returns:
the map of view attribute values
Throws:
FlexfieldCombinationException - if the given combination is null, or the number of segments found in the combination is different from the number of segments this view definition allows
java.lang.UnsupportedOperationException - if no delimiter is found

parseSegmentCombination

public java.util.Map<java.lang.String,java.lang.Object> parseSegmentCombination(java.lang.String s,
                                                                                boolean nullFilled)
Parses a segment combination into a map of view attribute values. If the number of segments found in the given combination is less than the number defined in this structure, and
  1. nullFilled is true, then it is assumed that the given combination contains only the first few segments, and the values of the rest of the segments are null.
  2. nullFilled is false, then an FlexfieldCombinationException is thrown.

Parameters:
s - the segment combination to be parsed
nullFilled - true if the last missing segments should be filled with null
Returns:
the map of view attribute values
Throws:
FlexfieldCombinationException - if the given combination is null, or the number of segments found in the combination is different from the number of segments this view definition allows
java.lang.UnsupportedOperationException - if no delimiter is found

getFlexfieldEntityDef

public oracle.jbo.server.EntityDefImpl getFlexfieldEntityDef()
Gets the flexfield entity definition. The flexfield entity is the registered entity this view object is based on.

Returns:
the flexfield entity
Throws:
FlexfieldJboException - if the name of the entity cannot be identified or the registered entity is never used by this view object

getSdoNamespace

public java.lang.String getSdoNamespace()
Description copied from interface: FlexfieldSdoSupport
Gets the SDO namespace.

Specified by:
getSdoNamespace in interface FlexfieldSdoSupport
Returns:
the SDO namespace

getSdoName

public java.lang.String getSdoName()
Description copied from interface: FlexfieldSdoSupport
Gets the SDO name.

Specified by:
getSdoName in interface FlexfieldSdoSupport
Overrides:
getSdoName in class oracle.jbo.server.ViewDefImpl
Returns:
the SDO name

getDiscriminatorSdoPath

public java.lang.String getDiscriminatorSdoPath()
Description copied from interface: FlexfieldSdoSupport
Gets the path of the discriminator

Specified by:
getDiscriminatorSdoPath in interface FlexfieldSdoSupport
Returns:
the path of the discriminator; null if this flexfield is not polymorphic, i.e. has no discriminator

getSegmentSdoPath

public java.lang.String getSegmentSdoPath(java.lang.String segmentCode)
Description copied from interface: FlexfieldSdoSupport
Gets the path of a segment.

Specified by:
getSegmentSdoPath in interface FlexfieldSdoSupport
Parameters:
segmentCode - the segment code
Returns:
the path of a segment; null if the given segment code is not recognized

getEffectiveClientProxyClassName

protected java.lang.String getEffectiveClientProxyClassName()

getEffectiveComponentInterfaceName

protected java.lang.String getEffectiveComponentInterfaceName()

loadFromXML

protected static void loadFromXML(oracle.jbo.mom.xml.DefElement arg0,
                                  oracle.jbo.server.RemotableCompDef arg1)

getComponentOperations

protected oracle.jbo.server.ComponentOperations getComponentOperations()

loadOperationDefinitions

protected void loadOperationDefinitions(oracle.jbo.mom.xml.DefElement arg0)

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.