Package io.polygenesis.models.apiimpl
Class ServiceImplementation
- java.lang.Object
-
- io.polygenesis.models.apiimpl.ServiceImplementation
-
- All Implemented Interfaces:
io.polygenesis.core.Generatable,io.polygenesis.core.Metamodel,io.polygenesis.core.Nameable
public class ServiceImplementation extends Object implements io.polygenesis.core.Generatable, io.polygenesis.core.Metamodel
The type Service implementation.- Author:
- Christos Tsakostas
-
-
Constructor Summary
Constructors Constructor Description ServiceImplementation(io.polygenesis.models.api.Service service, Set<ServiceDependency> dependencies, Set<ServiceMethodImplementation> serviceMethodImplementations, Set<DomainObjectConverter> domainObjectConverters, io.polygenesis.models.domain.DomainObject domainObject, io.polygenesis.models.domain.DomainObject parentAggregateRoot)Instantiates a new Service implementation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DomainObjectConverterdomainObjectConverter()Domain object converter domain object converter.booleanequals(Object o)Set<ServiceDependency>getDependencies()Gets dependencies.io.polygenesis.models.domain.DomainObjectgetDomainObject()Gets domain object.Set<DomainObjectConverter>getDomainObjectConverters()Gets domain object converters.io.polygenesis.commons.valueobjects.ObjectNamegetObjectName()io.polygenesis.models.domain.DomainObjectgetParentAggregateRoot()Gets parent aggregate root.io.polygenesis.models.api.ServicegetService()Gets service.Set<ServiceMethodImplementation>getServiceMethodImplementations()Gets service method implementations.inthashCode()
-
-
-
Constructor Detail
-
ServiceImplementation
public ServiceImplementation(io.polygenesis.models.api.Service service, Set<ServiceDependency> dependencies, Set<ServiceMethodImplementation> serviceMethodImplementations, Set<DomainObjectConverter> domainObjectConverters, io.polygenesis.models.domain.DomainObject domainObject, io.polygenesis.models.domain.DomainObject parentAggregateRoot)Instantiates a new Service implementation.- Parameters:
service- the servicedependencies- the dependenciesserviceMethodImplementations- the service method implementationsdomainObjectConverters- the domain object convertersdomainObject- the domain objectparentAggregateRoot- the parent aggregate root
-
-
Method Detail
-
getObjectName
public io.polygenesis.commons.valueobjects.ObjectName getObjectName()
- Specified by:
getObjectNamein interfaceio.polygenesis.core.Nameable
-
domainObjectConverter
public DomainObjectConverter domainObjectConverter()
Domain object converter domain object converter.- Returns:
- the domain object converter
-
getService
public io.polygenesis.models.api.Service getService()
Gets service.- Returns:
- the service
-
getDependencies
public Set<ServiceDependency> getDependencies()
Gets dependencies.- Returns:
- the dependencies
-
getServiceMethodImplementations
public Set<ServiceMethodImplementation> getServiceMethodImplementations()
Gets service method implementations.- Returns:
- the service method implementations
-
getDomainObjectConverters
public Set<DomainObjectConverter> getDomainObjectConverters()
Gets domain object converters.- Returns:
- the domain object converters
-
getDomainObject
public io.polygenesis.models.domain.DomainObject getDomainObject()
Gets domain object.- Returns:
- the domain object
-
getParentAggregateRoot
public io.polygenesis.models.domain.DomainObject getParentAggregateRoot()
Gets parent aggregate root.- Returns:
- the parent aggregate root
-
-