Class MappingAction

  • All Implemented Interfaces:
    Serializable

    public final class MappingAction
    extends Object
    implements Serializable
    Define the various actions that can be followed to decide what to do with any existing target instances of a mapping.
    Since:
    7.1
    Author:
    Jon van Leuven
    See Also:
    Serialized Form
    • Field Detail

      • TRANSFER

        public static final MappingAction TRANSFER
        This member defines the TRANSFER mapping action type.
      • IGNORE

        public static final MappingAction IGNORE
        This member defines the IGNORE mapping action type.
      • ERROR

        public static final MappingAction ERROR
        This member defines the ERROR mapping action type.
    • Method Detail

      • forName

        public static MappingAction forName​(String name)
        This method returns the action type for the specified name.
        Parameters:
        name - The name of the requested action type.
        Returns:
        The action type with the specified name.
      • getName

        public String getName()
        This method returns the name of the instance strategy.
        Returns:
        The name of the type.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object