public abstract class DTO extends java.lang.Object
A Data Transfer Object (DTO) is easily serializable having only public fields of primitive types and their wrapper classes, String, enums, Version, and DTOs. List, Set, Map, and array aggregates may also be used. The aggregates must only hold objects of the listed types or aggregates. The types for Map keys are limited to primitive wrapper classes, String, enums, and Version.
The object graph from a Data Transfer Object must be a tree to simplify serialization and deserialization.
|Constructor and Description|
|Modifier and Type||Method and Description|
Return a string representation of this DTO suitable for use when debugging.
public java.lang.String toString()
The format of the string representation is not specified and subject to change.
Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0