public abstract static class Entity.EntityBuilder<E extends Entity,SELF extends Entity.EntityBuilder<E,SELF>> extends Object
| Modifier and Type | Method and Description |
|---|---|
E |
build()
Builds the entity.
|
SELF |
creationTime(Instant creationTime)
Sets the creation time.
|
SELF |
externalId(String externalId)
Sets the external id.
|
SELF |
globalId(String globalId)
Sets the global id.
|
SELF |
id(String id)
Sets the id.
|
SELF |
modificationCreatorId(String modificationCreatorId)
Sets the modification creator id.
|
SELF |
modificationUpdaterId(String modificationUpdaterId)
Sets the modification updater id.
|
SELF |
modificationVersion(long modificationVersion)
Sets the modification version.
|
SELF |
name(String name)
Sets the name.
|
SELF |
providerId(String providerId)
Sets the provider id.
|
SELF |
tenantId(String tenantId)
Sets the tenant id.
|
SELF |
type(String type)
Sets the type.
|
SELF |
updateTime(Instant updateTime)
Sets the update time.
|
public SELF globalId(String globalId)
Sets the global id.
globalId - the global idpublic SELF externalId(String externalId)
Sets the external id.
externalId - the external idpublic SELF providerId(String providerId)
Sets the provider id.
providerId - the provider idpublic SELF tenantId(String tenantId)
Sets the tenant id.
tenantId - the tenant id, must not be nullpublic SELF creationTime(Instant creationTime)
Sets the creation time.
creationTime - the creation timepublic SELF updateTime(Instant updateTime)
Sets the update time.
updateTime - the update timepublic SELF modificationVersion(long modificationVersion)
Sets the modification version.
modificationVersion - the modification versionpublic SELF modificationCreatorId(String modificationCreatorId)
Sets the modification creator id.
modificationCreatorId - the modification creator idpublic SELF modificationUpdaterId(String modificationUpdaterId)
Sets the modification updater id.
modificationUpdaterId - the modification updater idpublic final E build()
Builds the entity.
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.