public static class KeystoneProject.ProjectConcreteBuilder extends Object implements ProjectBuilder
Modifier and Type | Method and Description |
---|---|
Project |
build()
Creates and return the Model Entity M
|
ProjectBuilder |
description(String description) |
ProjectBuilder |
domain(Domain domain)
Accepts an existing domain and uses its id
|
ProjectBuilder |
domainId(String domainId) |
ProjectBuilder |
enabled(boolean enabled) |
ProjectBuilder |
from(Project in)
Creates a Builder using the param M as the default values
|
ProjectBuilder |
id(String id) |
ProjectBuilder |
links(Map<String,String> links) |
ProjectBuilder |
name(String name) |
ProjectBuilder |
parentId(String parentId) |
ProjectBuilder |
parents(String parents) |
ProjectBuilder |
setExtra(String key,
String value) |
ProjectBuilder |
subtree(String subtree) |
public ProjectBuilder id(String id)
id
in interface ProjectBuilder
KeystoneProject.getId()
public ProjectBuilder domain(Domain domain)
ProjectBuilder
domain
in interface ProjectBuilder
KeystoneProject.getDomainId()
public ProjectBuilder description(String description)
description
in interface ProjectBuilder
KeystoneProject.getDescription()
public ProjectBuilder name(String name)
name
in interface ProjectBuilder
KeystoneProject.getName()
public ProjectBuilder links(Map<String,String> links)
links
in interface ProjectBuilder
KeystoneProject.getLinks()
public ProjectBuilder parentId(String parentId)
parentId
in interface ProjectBuilder
KeystoneProject.getParentId()
public ProjectBuilder subtree(String subtree)
subtree
in interface ProjectBuilder
KeystoneProject.getSubtree()
public ProjectBuilder parents(String parents)
parents
in interface ProjectBuilder
KeystoneProject.getParents()
public ProjectBuilder setExtra(String key, String value)
setExtra
in interface ProjectBuilder
KeystoneProject.setExtra(String, String)
public ProjectBuilder enabled(boolean enabled)
enabled
in interface ProjectBuilder
KeystoneProject.isEnabled()
public Project build()
build
in interface Buildable.Builder<ProjectBuilder,Project>
public ProjectBuilder from(Project in)
from
in interface Buildable.Builder<ProjectBuilder,Project>
public ProjectBuilder domainId(String domainId)
domainId
in interface ProjectBuilder
Project.getDomainId()
Copyright © 2017. All rights reserved.