public static class KeystoneDomain.DomainConcreteBuilder extends Object implements DomainBuilder
Constructor and Description |
---|
DomainConcreteBuilder() |
Modifier and Type | Method and Description |
---|---|
Domain |
build()
Creates and return the Model Entity M
|
DomainBuilder |
description(String description) |
DomainBuilder |
enabled(boolean enabled) |
DomainBuilder |
from(Domain in)
Creates a Builder using the param M as the default values
|
DomainBuilder |
id(String id) |
DomainBuilder |
links(Map<String,String> links) |
DomainBuilder |
name(String name) |
public Domain build()
Buildable.Builder
build
in interface Buildable.Builder<DomainBuilder,Domain>
public DomainBuilder from(Domain in)
Buildable.Builder
from
in interface Buildable.Builder<DomainBuilder,Domain>
public DomainBuilder id(String id)
id
in interface DomainBuilder
Domain.getId()
public DomainBuilder description(String description)
description
in interface DomainBuilder
Domain.getDescription()
public DomainBuilder name(String name)
name
in interface DomainBuilder
Domain.getName()
public DomainBuilder links(Map<String,String> links)
links
in interface DomainBuilder
Domain.getLinks()
public DomainBuilder enabled(boolean enabled)
enabled
in interface DomainBuilder
Domain.isEnabled()
Copyright © 2017. All rights reserved.