Oracle Fusion Middleware extensions for Enterprise Scheduler Service
11g Release 1 (11.1.1.5)

E22563-01

oracle.apps.fnd.applcp.migrate.modeler
Class FlexfieldNamespace

java.lang.Object
  extended by oracle.apps.fnd.applcp.migrate.modeler.FlexfieldNamespace

public class FlexfieldNamespace
extends java.lang.Object

Namespace of flexfield objects.


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.
 
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.
 FlexfieldNamespace.DefinitionScope getDefinitionScope()
          Gets the definition scope of the objects.
static java.lang.String getFlexfieldIdentifier(FlexfieldDef ff)
          Gets the identifier for the given flexfield definition.
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 uniquely identify a flexfield usage.
 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 getSubTypeViewObjectShortName(java.lang.String 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
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.String 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

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

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 uniquely identify a flexfield usage.

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 given flexfield definition.

Parameters:
ff - the flexfield
Returns:
the identifier

Oracle Fusion Middleware extensions for Enterprise Scheduler Service
11g Release 1 (11.1.1.5)

E22563-01

Copyright © 2011 Oracle. All Rights Reserved.