public static class KeystoneRole.RoleConcreteBuilder extends Object implements RoleBuilder
Modifier and Type | Method and Description |
---|---|
Role |
build()
Creates and return the Model Entity M
|
RoleBuilder |
description(String description) |
RoleBuilder |
enabled(boolean enabled) |
RoleBuilder |
from(Role in)
Creates a Builder using the param M as the default values
|
RoleBuilder |
id(String id) |
RoleBuilder |
name(String name) |
RoleBuilder |
tenantId(String tenantId) |
public RoleBuilder id(String id)
id
in interface RoleBuilder
Role.getId()
public RoleBuilder tenantId(String tenantId)
tenantId
in interface RoleBuilder
Role.getTenantId()
public RoleBuilder name(String name)
name
in interface RoleBuilder
Role.getName()
public RoleBuilder description(String description)
description
in interface RoleBuilder
Role.getDescription()
public RoleBuilder enabled(boolean enabled)
enabled
in interface RoleBuilder
Role.isEnabled()
public Role build()
Buildable.Builder
build
in interface Buildable.Builder<RoleBuilder,Role>
public RoleBuilder from(Role in)
Buildable.Builder
from
in interface Buildable.Builder<RoleBuilder,Role>
Copyright © 2017. All rights reserved.