Class MergepointMapping
java.lang.Object
org.apache.torque.generator.configuration.mergepoint.MergepointMapping
A mapping between the name of an mergepoint and and the action which should
be performed at this point.
-
Constructor Summary
ConstructorsConstructorDescriptionMergepointMapping(String name) Constructor.MergepointMapping(String name, List<MergepointAction> actions) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAction(MergepointAction action) Adds an action to this mergepont mapping at the end of the action list.booleanReturns the list of actions executed at the mergepoint.getName()Returns the name of the mergepoint.inthashCode()toString()
-
Constructor Details
-
MergepointMapping
Constructor.- Parameters:
name- the name of the mergepoint, not null.- Throws:
IllegalArgumentException- if name is null.
-
MergepointMapping
Constructor.- Parameters:
name- the name of the mergepoint, not null.actions- the actions in this mergepoint.- Throws:
IllegalArgumentException- if name is null.
-
-
Method Details
-
getName
Returns the name of the mergepoint.- Returns:
- the name of the mergepoint, not null.
-
getActions
Returns the list of actions executed at the mergepoint.- Returns:
- the list of actions. Not null, may be empty.
-
addAction
Adds an action to this mergepont mapping at the end of the action list.- Parameters:
action- the action to add, not null.- Throws:
NullPointerException- if action is null.
-
toString
-
hashCode
public int hashCode() -
equals
-