public class DtoFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
DtoFactory.UriFactory |
Constructor and Description |
---|
DtoFactory(CampPlatform campPlatform,
java.lang.String uriBase) |
Modifier and Type | Method and Description |
---|---|
ApplicationComponentDto |
adapt(ApplicationComponent applicationComponent) |
ApplicationComponentTemplateDto |
adapt(ApplicationComponentTemplate applicationComponentTemplate) |
AssemblyDto |
adapt(Assembly assembly) |
AssemblyTemplateDto |
adapt(AssemblyTemplate assemblyTemplate) |
PlatformComponentDto |
adapt(PlatformComponent platformComponent) |
PlatformComponentTemplateDto |
adapt(PlatformComponentTemplate platformComponentTemplate) |
PlatformDto |
adapt(PlatformRootSummary root) |
CampPlatform |
getPlatform() |
DtoFactory.UriFactory |
getUriFactory() |
java.lang.String |
uri(AbstractResource x) |
java.lang.String |
uri(java.lang.Class<? extends AbstractResource> targetType,
java.lang.String id) |
public DtoFactory(CampPlatform campPlatform, java.lang.String uriBase)
public CampPlatform getPlatform()
public DtoFactory.UriFactory getUriFactory()
public java.lang.String uri(AbstractResource x)
public java.lang.String uri(java.lang.Class<? extends AbstractResource> targetType, java.lang.String id)
public AssemblyTemplateDto adapt(AssemblyTemplate assemblyTemplate)
public PlatformComponentTemplateDto adapt(PlatformComponentTemplate platformComponentTemplate)
public ApplicationComponentTemplateDto adapt(ApplicationComponentTemplate applicationComponentTemplate)
public AssemblyDto adapt(Assembly assembly)
public PlatformComponentDto adapt(PlatformComponent platformComponent)
public ApplicationComponentDto adapt(ApplicationComponent applicationComponent)
public PlatformDto adapt(PlatformRootSummary root)