Class OutletWithoutMergepoints
java.lang.Object
org.apache.torque.generator.outlet.OutletImpl
org.apache.torque.generator.outlet.java.OutletWithoutMergepoints
- All Implemented Interfaces:
Outlet
- Direct Known Subclasses:
NewlineOutlet,OptionOutlet,StringInputOutlet,XmlOutlet
An outlet without mergepoints.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a OutletWithoutMergepoints with the given name. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddMergepointMapping(MergepointMapping mergepointMapping) Adds an mergepoint mapping to the outlet.final MergepointMappinggetMergepointMapping(String name) Returns the mergepoint mapping for the given mergepoint name.Methods inherited from class org.apache.torque.generator.outlet.OutletImpl
afterExecute, beforeExecute, execute, getInputClass, getInputElementName, getMergepointMappings, getName, getVariable, mergepoint, setInputClass, setInputElementName, setMergepointMapping, setVariable, setVariable, toString
-
Constructor Details
-
OutletWithoutMergepoints
Constructs a OutletWithoutMergepoints with the given name.- Parameters:
name- the name of this outlet, not null.- Throws:
NullPointerException- if name is null.
-
-
Method Details
-
addMergepointMapping
public final void addMergepointMapping(MergepointMapping mergepointMapping) throws ConfigurationException Description copied from class:OutletImplAdds an mergepoint mapping to the outlet. No mergepoint mappings must exist with the given name.- Specified by:
addMergepointMappingin interfaceOutlet- Overrides:
addMergepointMappingin classOutletImpl- Parameters:
mergepointMapping- the mergepointMapping to add, not null.- Throws:
ConfigurationException- if an mergepointMapping for the given name already exists.
-
getMergepointMapping
Description copied from class:OutletImplReturns the mergepoint mapping for the given mergepoint name.- Specified by:
getMergepointMappingin interfaceOutlet- Overrides:
getMergepointMappingin classOutletImpl- Parameters:
name- the name of the mergepoint mapping.- Returns:
- the mergepoint mapping for the given name, or null if no mergepoint mapping exists for this name.
-