public static class KeystoneService.ServiceConcreteBuilder extends Object implements ServiceBuilder
Modifier and Type | Method and Description |
---|---|
Service |
build()
Creates and return the Model Entity M
|
ServiceBuilder |
description(String description) |
ServiceBuilder |
from(Service in)
Creates a Builder using the param M as the default values
|
ServiceBuilder |
name(String name) |
ServiceBuilder |
type(String type) |
public ServiceBuilder name(String name)
name
in interface ServiceBuilder
Service.getName()
public ServiceBuilder type(String type)
type
in interface ServiceBuilder
Service.getType()
public ServiceBuilder description(String description)
description
in interface ServiceBuilder
Service.getDescription()
public Service build()
Buildable.Builder
build
in interface Buildable.Builder<ServiceBuilder,Service>
public ServiceBuilder from(Service in)
Buildable.Builder
from
in interface Buildable.Builder<ServiceBuilder,Service>
Copyright © 2017. All rights reserved.