Package org.osgi.dto
Class DTO
- java.lang.Object
-
- org.osgi.dto.DTO
-
- Direct Known Subclasses:
BaseServletDTO
,BundleDTO
,BundleStartLevelDTO
,BundleWiringDTO
,CapabilityDTO
,CapabilityRefDTO
,ComponentConfigurationDTO
,ComponentDescriptionDTO
,FilterDTO
,FrameworkDTO
,FrameworkStartLevelDTO
,FrameworkWiringDTO
,ListenerDTO
,PreprocessorDTO
,ReferenceDTO
,RequestInfoDTO
,RequirementDTO
,RequirementRefDTO
,ResourceDTO
,ResourceDTO
,RuntimeDTO
,SatisfiedReferenceDTO
,ServiceReferenceDTO
,ServletContextDTO
,UnsatisfiedReferenceDTO
,WireDTO
,WiringDTO
public abstract class DTO extends java.lang.Object
Super type for Data Transfer Objects.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 Summary
Constructors Constructor Description DTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Return a string representation of this DTO suitable for use when debugging.
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Return a string representation of this DTO suitable for use when debugging.The format of the string representation is not specified and subject to change.
- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string representation of this DTO suitable for use when debugging.
-
-