Constructor and Description |
---|
RoundtripDTO() |
RoundtripDTO(Roundtrip r) |
RoundtripDTO(Roundtrip r,
BpmnDiagram leftHandSide,
BpmnDiagram rightHandSide) |
Modifier and Type | Method and Description |
---|---|
Long |
getId() |
Date |
getLastSync() |
Roundtrip.SyncMode |
getLastSyncMode() |
BpmnDiagramDTO |
getLeftHandSide() |
String |
getName() |
BpmnDiagramDTO |
getRightHandSide() |
void |
setId(Long id) |
void |
setLastSync(Date lastSync) |
void |
setLastSyncMode(Roundtrip.SyncMode lastSyncMode) |
void |
setLeftHandSide(BpmnDiagramDTO leftHandSide) |
void |
setName(String name) |
void |
setRightHandSide(BpmnDiagramDTO rightHandSide) |
static RoundtripDTO |
wrap(Roundtrip roundtrip)
Wraps a roundtrip as a data object
|
static List<RoundtripDTO> |
wrapAll(List<Roundtrip> trackers)
Wraps a list of roundtrips as a list of the respective roundtrip data objects
|
static RoundtripDTO |
wrapIncludeDiagrams(Roundtrip roundtrip)
Wraps a roundtrip as a data object including
|
public RoundtripDTO()
public RoundtripDTO(Roundtrip r)
public RoundtripDTO(Roundtrip r, BpmnDiagram leftHandSide, BpmnDiagram rightHandSide)
public Long getId()
public void setId(Long id)
public String getName()
public void setName(String name)
public Date getLastSync()
public void setLastSync(Date lastSync)
public BpmnDiagramDTO getLeftHandSide()
public void setLeftHandSide(BpmnDiagramDTO leftHandSide)
public BpmnDiagramDTO getRightHandSide()
public void setRightHandSide(BpmnDiagramDTO rightHandSide)
public static RoundtripDTO wrap(Roundtrip roundtrip)
roundtrip
- public static RoundtripDTO wrapIncludeDiagrams(Roundtrip roundtrip)
roundtrip
- public static List<RoundtripDTO> wrapAll(List<Roundtrip> trackers)
trackers
- public Roundtrip.SyncMode getLastSyncMode()
public void setLastSyncMode(Roundtrip.SyncMode lastSyncMode)
Copyright © 2015. All rights reserved.