Klasse MergepointMapping

java.lang.Object
org.apache.torque.generator.configuration.mergepoint.MergepointMapping

public class MergepointMapping extends Object
A mapping between the name of an mergepoint and and the action which should be performed at this point.
  • Konstruktordetails

    • MergepointMapping

      public MergepointMapping(String name)
      Constructor.
      Parameter:
      name - the name of the mergepoint, not null.
      Löst aus:
      IllegalArgumentException - if name is null.
    • MergepointMapping

      public MergepointMapping(String name, List<MergepointAction> actions)
      Constructor.
      Parameter:
      name - the name of the mergepoint, not null.
      actions - the actions in this mergepoint.
      Löst aus:
      IllegalArgumentException - if name is null.
  • Methodendetails

    • getName

      public String getName()
      Returns the name of the mergepoint.
      Gibt zurück:
      the name of the mergepoint, not null.
    • getActions

      public List<MergepointAction> getActions()
      Returns the list of actions executed at the mergepoint.
      Gibt zurück:
      the list of actions. Not null, may be empty.
    • addAction

      public void addAction(MergepointAction action)
      Adds an action to this mergepont mapping at the end of the action list.
      Parameter:
      action - the action to add, not null.
      Löst aus:
      NullPointerException - if action is null.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse Object