Class DefaultEvent
- java.lang.Object
-
- com.github.dozermapper.core.events.DefaultEvent
-
-
Constructor Summary
Constructors Constructor Description DefaultEvent(EventTypes type, ClassMap classMap, FieldMap fieldMap, Object sourceObject, Object destinationObject, Object destinationValue)Event details
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassMapgetClassMap()Returns the classmap being used by mapperObjectgetDestinationObject()Returns destination being mappedObjectgetDestinationValue()Returns destination value being mappedFieldMapgetFieldMap()Returns the fieldmap being used by mapperObjectgetSourceObject()Returns the source being mappedEventTypesgetType()Returns the type of eventStringtoString()
-
-
-
Constructor Detail
-
DefaultEvent
public DefaultEvent(EventTypes type, ClassMap classMap, FieldMap fieldMap, Object sourceObject, Object destinationObject, Object destinationValue)
Event details- Parameters:
type- type of eventclassMap- classmap being used by mapperfieldMap- fieldMap being used by mappersourceObject- source being mappeddestinationObject- destination being mappeddestinationValue- destination value being mapped
-
-
Method Detail
-
getType
public EventTypes getType()
Returns the type of event
-
getClassMap
public ClassMap getClassMap()
Returns the classmap being used by mapper- Specified by:
getClassMapin interfaceEvent- Returns:
- classmap being used by mapper
-
getFieldMap
public FieldMap getFieldMap()
Returns the fieldmap being used by mapper- Specified by:
getFieldMapin interfaceEvent- Returns:
- fieldmap being used by mapper
-
getSourceObject
public Object getSourceObject()
Returns the source being mapped- Specified by:
getSourceObjectin interfaceEvent- Returns:
- source being mapped
-
getDestinationObject
public Object getDestinationObject()
Returns destination being mapped- Specified by:
getDestinationObjectin interfaceEvent- Returns:
- destination being mapped
-
getDestinationValue
public Object getDestinationValue()
Returns destination value being mapped- Specified by:
getDestinationValuein interfaceEvent- Returns:
- destination value being mapped
-
-