public abstract class DataTo extends AbstractTransferObject
TransferObject
that only contains data without relations.
This is called DTO (data transfer object). Here data means properties that typically represent a
Datatype
and potentially for relations the ID (typically as Long
).
For actual relations you will use CTO
s to express what set of entities to transfer,
load, save, update, etc. without redundancies. It typically corresponds to an
entity
. In such case consider EntityTo
. Otherwise
if you derive from this class rather than EntityTo
use the suffix Dto
. package
JavaDoc
.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
UID for serialization.
|
Constructor and Description |
---|
DataTo()
The constructor.
|
private static final long serialVersionUID
Copyright © 2001–2014 mmm-Team. All rights reserved.