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

E22563-01

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

java.lang.Object
  extended by oracle.apps.fnd.applcp.migrate.modeler.BCModeler
Direct Known Subclasses:
AbstractBCModeler

public abstract class BCModeler
extends java.lang.Object

A modeler that creates/updates an ADF Business Component model for a flexfield.


Nested Class Summary
static class BCModeler.Arguments
          List of arguments for a modeler.
static class BCModeler.CommandLineArgs
          Deprecated.  
static class BCModeler.Option
          A modeling option.
static class BCModeler.Options
           
static class BCModeler.Parameter
          A standard parameter for the modeler.
 
Constructor Summary
BCModeler()
           
 
Method Summary
abstract  void build()
          Builds the model.
protected static java.lang.String escapeJavaString(java.lang.String str)
          Escapes special characters in a string so that it can be printed out as a Java string literal.
abstract  java.util.List<java.lang.String> getReport()
          Gets the report.
protected static boolean isDevelopmentMode()
          Whether this modeler should be run in development mode.
static void main(java.lang.String[] args)
          Builds a model for a flexfield.
static java.util.List<java.lang.String> run(BCModeler.Arguments modelerArgs)
          Builds a model based on the arugments.
static java.lang.Exception run(java.lang.String[] args, java.io.PrintStream ps)
          Runs the modeler.
static void setAttributeControlHints(oracle.jbo.server.AttributeDefImpl adi, UIHints uih)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BCModeler

public BCModeler()
Method Detail

build

public abstract void build()
Builds the model.

Throws:
BCModelerException - if any error occurs

getReport

public abstract java.util.List<java.lang.String> getReport()
Gets the report.

Returns:
the report as a list of strings

run

public static java.util.List<java.lang.String> run(BCModeler.Arguments modelerArgs)
Builds a model based on the arugments.

Parameters:
modelerArgs - the arguments
Returns:
the list of messages
Throws:
BCModelerException - if any error occurs while building the model

setAttributeControlHints

public static void setAttributeControlHints(oracle.jbo.server.AttributeDefImpl adi,
                                            UIHints uih)

run

public static java.lang.Exception run(java.lang.String[] args,
                                      java.io.PrintStream ps)
Runs the modeler.

Parameters:
args - the arguments
ps - the print stream for output messages; null if the caller is not interested in the output messages
Returns:
the first exception thrown when running the modeler; null if no exception was thrown

main

public static void main(java.lang.String[] args)
Builds a model for a flexfield.

Parameters:
args - command line arguments

isDevelopmentMode

protected static boolean isDevelopmentMode()
Whether this modeler should be run in development mode. When in development mode, the modeler produces models that facilitate the development of other components that depend on the models, such as the UI components.

Returns:
true if this modeler should be run in development mode

escapeJavaString

protected static java.lang.String escapeJavaString(java.lang.String str)
Escapes special characters in a string so that it can be printed out as a Java string literal. For example, "5'2\"" is printed as 5'2" without escaping the special characters, which will break an expression such as the following: Attribute1 == "5'2"". By escaping the special characters, "5'2\"" will be transformed into "5'2\\\"", which can be safely printed out between double quotes as a string literal: Attribute1 == "5'2\""

Parameters:
str - the string to be escaped
Returns:
the escaped string

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

E22563-01

Copyright © 2011 Oracle. All Rights Reserved.