|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.cycle.web.dto.RoundtripDTO
public class RoundtripDTO
This is a data object which exposes a Roundtrip to the client via rest.
It is needed to ensure clear boundaries between a JPA managed entity (the Roundtrip)
and the json serialization mechanism.
| Constructor Summary | |
|---|---|
RoundtripDTO()
|
|
RoundtripDTO(Roundtrip r)
|
|
RoundtripDTO(Roundtrip r,
BpmnDiagram leftHandSide,
BpmnDiagram rightHandSide)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoundtripDTO()
public RoundtripDTO(Roundtrip r)
public RoundtripDTO(Roundtrip r,
BpmnDiagram leftHandSide,
BpmnDiagram rightHandSide)
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||