public class DefaultTicketEventPopulator<SOURCE extends CsTicketEventModel,TARGET extends TicketEventData> extends java.lang.Object implements Populator<SOURCE,TARGET>
CsTicketEventModel as source and
TicketEventData as target type.| Constructor and Description |
|---|
DefaultTicketEventPopulator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
getAttachments(SOURCE source,
TARGET target) |
java.util.Map<java.lang.String,StatusData> |
getStatusMapping() |
void |
populate(SOURCE source,
TARGET target)
Populate the target instance with values from the source instance.
|
protected void |
setModifiedFields(TARGET target,
java.util.Set<CsTicketChangeEventEntryModel> entries) |
void |
setStatusMapping(java.util.Map<java.lang.String,StatusData> statusMapping) |
public void populate(SOURCE source, TARGET target)
Populatorpopulate in interface Populator<SOURCE extends CsTicketEventModel,TARGET extends TicketEventData>source - the source objecttarget - the target to fillprotected void setModifiedFields(TARGET target, java.util.Set<CsTicketChangeEventEntryModel> entries)
target - entries - protected void getAttachments(SOURCE source, TARGET target)
source - target - public java.util.Map<java.lang.String,StatusData> getStatusMapping()
public void setStatusMapping(java.util.Map<java.lang.String,StatusData> statusMapping)
statusMapping - the statusMapping to setCopyright © 2018 SAP SE. All Rights Reserved.