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

E22562-03

oracle.apps.fnd.applcore.flex.runtime.util
Class FlexfieldNamespace

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.runtime.util.FlexfieldNamespace
All Implemented Interfaces:
java.io.Serializable

public class FlexfieldNamespace
extends java.lang.Object
implements java.io.Serializable

Namespace of flexfield objects.

See Also:
Serialized Form

Nested Class Summary
static class FlexfieldNamespace.DefinitionScope
          The supported scope of the definition objects.
 
Constructor Summary
FlexfieldNamespace(java.lang.String packageName, java.lang.String objectNamePrefix)
          Constructs a flexfield namespace.
FlexfieldNamespace(java.lang.String packageName, java.lang.String objectNamePrefix, FlexfieldNamespace.DefinitionScope scope)
          Constructs a flexfield namespace with a definition scope.
FlexfieldNamespace(java.lang.String packageName, java.lang.String objectNamePrefix, java.lang.String effGroup)
          Constructs an extensible flexfield namespace with a definition scope.
 
Method Summary
 java.lang.String getApplicationModulePackage()
          Gets the package of the flexfield application module.
 java.lang.String getApplicationModuleShortName()
          Gets the short name of the flexfield application module.
 java.lang.String getAttributeName(java.lang.String s)
          Gets the attribute name based on the given string.
 java.lang.String getBaseViewObjectShortName()
          Gets the short name of the base view object.
 java.lang.String getBIApplicationModuleShortName()
          Gets the BI application module short name.
 java.lang.String getBIAssociationSourceEndName()
          Gets the name of the BI association source end.
 java.lang.String getBIEntityShortName()
          Gets the BI entity short name.
static java.lang.String getBIPrefix()
          Gets the prefix used to mark BI objects.
 java.lang.String getBIViewInstanceName()
          Gets the name of the BI view instance.
 java.lang.String getBIViewObjectShortName()
          Gets the BI view object short name.
 FlexfieldNamespace.DefinitionScope getDefinitionScope()
          Gets the definition scope of the objects.
static java.lang.String getFlexfieldIdentifier(FlexfieldDef ff)
          Gets the identifier for the table usage of a flexfield.
static java.lang.String getFlexfieldIdentifier(FlexfieldTableUsage ftu)
          Gets the identifier for a flexfield table usage.
static java.lang.String getFlexfieldIdentifier(java.lang.String flexfieldType, java.lang.String appShortName, java.lang.String flexfieldCode, java.lang.String usageCode, java.lang.String tableName)
          Constructs an identifier to identify a flexfield usage uniquely in an entity.
 java.lang.String getLOVViewObjectShortName(java.lang.String valueSetCode)
          Gets the short name of a LOV view object.
 java.lang.String getObjectNamePrefix()
          Gets the prefix of the objects.
 java.lang.String getPackageName()
          Gets the package name.
 java.lang.String getStaticListViewObjectShortName(java.lang.String baseName)
          Gets the short name of a static list view object.
 java.lang.String getSubTypeViewObjectShortName(java.lang.Object discrValue)
          Gets the short name of a subtype view object.
 java.lang.String getViewObjectPackage()
          Gets the package of the flexfield view objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlexfieldNamespace

public FlexfieldNamespace(java.lang.String packageName,
                          java.lang.String objectNamePrefix)
Constructs a flexfield namespace.

Parameters:
packageName - the name of the package
objectNamePrefix - the prefix of the object names

FlexfieldNamespace

public FlexfieldNamespace(java.lang.String packageName,
                          java.lang.String objectNamePrefix,
                          FlexfieldNamespace.DefinitionScope scope)
Constructs a flexfield namespace with a definition scope.

Parameters:
packageName - the name of the package
objectNamePrefix - the prefix of the object names
scope - the definition scope

FlexfieldNamespace

public FlexfieldNamespace(java.lang.String packageName,
                          java.lang.String objectNamePrefix,
                          java.lang.String effGroup)
Constructs an extensible flexfield namespace with a definition scope.

Parameters:
packageName - the name of the package
objectNamePrefix - the prefix of the object names
effGroup - the eff group name
Method Detail

getPackageName

public final java.lang.String getPackageName()
Gets the package name.

Returns:
the package name

getObjectNamePrefix

public final java.lang.String getObjectNamePrefix()
Gets the prefix of the objects.

Returns:
the prefix

getDefinitionScope

public final FlexfieldNamespace.DefinitionScope getDefinitionScope()
Gets the definition scope of the objects.

Returns:
the scope

getBaseViewObjectShortName

public java.lang.String getBaseViewObjectShortName()
Gets the short name of the base view object.

Returns:
the short name of the base view object

getViewObjectPackage

public java.lang.String getViewObjectPackage()
Gets the package of the flexfield view objects.

Returns:
the package of the flexfield view objects

getSubTypeViewObjectShortName

public java.lang.String getSubTypeViewObjectShortName(java.lang.Object discrValue)
Gets the short name of a subtype view object.

Parameters:
discrValue - the discriminator value
Returns:
the short name of the subtype view object

getLOVViewObjectShortName

public java.lang.String getLOVViewObjectShortName(java.lang.String valueSetCode)
Gets the short name of a LOV view object.

Parameters:
valueSetCode - the value-set code
Returns:
the short name of the LOV view object

getStaticListViewObjectShortName

public java.lang.String getStaticListViewObjectShortName(java.lang.String baseName)
Gets the short name of a static list view object.

Parameters:
baseName - the base name, usually drived from the list of static values
Returns:
the short name of the static list view object

getApplicationModuleShortName

public java.lang.String getApplicationModuleShortName()
Gets the short name of the flexfield application module.

Returns:
the short name of the flexfield application module

getApplicationModulePackage

public java.lang.String getApplicationModulePackage()
Gets the package of the flexfield application module.

Returns:
the package of the flexfield application module

getAttributeName

public java.lang.String getAttributeName(java.lang.String s)
Gets the attribute name based on the given string. The given string must have at least one character.

Parameters:
s - the base of the attribute name
Returns:
the attribute name
Throws:
java.lang.IllegalArgumentException - if the given string is empty
java.lang.NullPointerException - if the given string is null

getBIPrefix

public static java.lang.String getBIPrefix()
Gets the prefix used to mark BI objects.

Returns:
the prefix used to mark BI objects

getBIEntityShortName

public java.lang.String getBIEntityShortName()
Gets the BI entity short name.

Returns:
the BI entity short name

getBIViewObjectShortName

public java.lang.String getBIViewObjectShortName()
Gets the BI view object short name.

Returns:
the BI view object short name

getBIApplicationModuleShortName

public java.lang.String getBIApplicationModuleShortName()
Gets the BI application module short name.

Returns:
the BI application module short name

getBIAssociationSourceEndName

public java.lang.String getBIAssociationSourceEndName()
Gets the name of the BI association source end.

Returns:
the name of the BI association source end

getBIViewInstanceName

public java.lang.String getBIViewInstanceName()
Gets the name of the BI view instance.

Returns:
the name of the BI view instance

getFlexfieldIdentifier

public static final java.lang.String getFlexfieldIdentifier(java.lang.String flexfieldType,
                                                            java.lang.String appShortName,
                                                            java.lang.String flexfieldCode,
                                                            java.lang.String usageCode,
                                                            java.lang.String tableName)
Constructs an identifier to identify a flexfield usage uniquely in an entity.

Parameters:
flexfieldType - "DFF" or "KFF"
appShortName - the application short name
flexfieldCode - the flexfield code
usageCode - the usage code
tableName - the database object name
Returns:
the identifier for the given flexfield usage

getFlexfieldIdentifier

public static final java.lang.String getFlexfieldIdentifier(FlexfieldDef ff)
Gets the identifier for the table usage of a flexfield.

Parameters:
ff - the flexfield
Returns:
the identifier
See Also:
getFlexfieldIdentifier(String, String, String, String, String)

getFlexfieldIdentifier

public static final java.lang.String getFlexfieldIdentifier(FlexfieldTableUsage ftu)
Gets the identifier for a flexfield table usage.

Parameters:
ftu - the flexfield table usage
Returns:
the identifier
See Also:
getFlexfieldIdentifier(String, String, String, String, String)

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

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.