Class ConstantNameOutlet
java.lang.Object
org.apache.torque.generator.outlet.OutletImpl
org.apache.torque.generator.outlet.java.OutletWithoutMergepoints
org.apache.torque.generator.outlet.java.StringInputOutlet
org.apache.torque.generator.outlet.java.ConstantNameOutlet
- All Implemented Interfaces:
Outlet
Creates the name of a constant from a string. All letters in the String are
capitalized, and underscores (_) are used as separators per default.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(ControllerState controllerState) Processes the input according to the camelback rules.Methods inherited from class org.apache.torque.generator.outlet.java.StringInputOutlet
getInput, setInputOption, setInputSourceElement, setInputValue, setInputVariable, setSourceElementAttributeMethods inherited from class org.apache.torque.generator.outlet.java.OutletWithoutMergepoints
addMergepointMapping, getMergepointMappingMethods inherited from class org.apache.torque.generator.outlet.OutletImpl
afterExecute, beforeExecute, getInputClass, getInputElementName, getMergepointMappings, getName, getVariable, mergepoint, setInputClass, setInputElementName, setMergepointMapping, setVariable, setVariable, toString
-
Constructor Details
-
ConstantNameOutlet
Constructor.- Parameters:
qualifiedName- the unique name of the outlet, not null.
-
-
Method Details
-
execute
Processes the input according to the camelback rules.- Specified by:
executein interfaceOutlet- Specified by:
executein classOutletImpl- Parameters:
controllerState- the current state of the controller, not null.- Returns:
- the output of the Outlet.
- Throws:
GeneratorException- in processing fails.
-