Class DefaultEvent

  • All Implemented Interfaces:
    Event

    public class DefaultEvent
    extends Object
    implements Event
    Event details
    • Constructor Detail

      • DefaultEvent

        public DefaultEvent​(EventTypes type,
                            ClassMap classMap,
                            FieldMap fieldMap,
                            Object sourceObject,
                            Object destinationObject,
                            Object destinationValue)
        Event details
        Parameters:
        type - type of event
        classMap - classmap being used by mapper
        fieldMap - fieldMap being used by mapper
        sourceObject - source being mapped
        destinationObject - destination being mapped
        destinationValue - destination value being mapped
    • Method Detail

      • getType

        public EventTypes getType()
        Returns the type of event
        Specified by:
        getType in interface Event
        Returns:
        type of event
      • getClassMap

        public ClassMap getClassMap()
        Returns the classmap being used by mapper
        Specified by:
        getClassMap in interface Event
        Returns:
        classmap being used by mapper
      • getFieldMap

        public FieldMap getFieldMap()
        Returns the fieldmap being used by mapper
        Specified by:
        getFieldMap in interface Event
        Returns:
        fieldmap being used by mapper
      • getSourceObject

        public Object getSourceObject()
        Returns the source being mapped
        Specified by:
        getSourceObject in interface Event
        Returns:
        source being mapped
      • getDestinationObject

        public Object getDestinationObject()
        Returns destination being mapped
        Specified by:
        getDestinationObject in interface Event
        Returns:
        destination being mapped
      • getDestinationValue

        public Object getDestinationValue()
        Returns destination value being mapped
        Specified by:
        getDestinationValue in interface Event
        Returns:
        destination value being mapped