public abstract static class VersionedObjectSoftLinkBase.BuilderBase extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
BuilderBase()
Use
VersionedObjectSoftLink.builder() instead of protected constructor to create new builder. |
protected |
BuilderBase(VersionedObjectSoftLinkBase pObject)
Use
VersionedObjectSoftLink.builder(VersionedObjectSoftLink) instead of protected constructor to create
new builder. |
| Modifier and Type | Method and Description |
|---|---|
VersionedObjectSoftLink |
build()
Method creates a new instance of class VersionedObjectSoftLink.
|
VersionedObjectSoftLink |
buildValidated()
Method creates a new validated instance of class VersionedObjectSoftLink.
|
VersionedObjectSoftLinkBase.BuilderBase |
setDataUnit(DataUnit pDataUnit)
Method sets the association "dataUnit".
|
VersionedObjectSoftLinkBase.BuilderBase |
setEntity(Entity pEntity)
Method sets the association "entity".
|
VersionedObjectSoftLinkBase.BuilderBase |
setObjectID(long pObjectID)
Method sets the attribute "objectID".
|
protected BuilderBase()
VersionedObjectSoftLink.builder() instead of protected constructor to create new builder.protected BuilderBase(VersionedObjectSoftLinkBase pObject)
VersionedObjectSoftLink.builder(VersionedObjectSoftLink) instead of protected constructor to create
new builder.public VersionedObjectSoftLinkBase.BuilderBase setObjectID(long pObjectID)
pObjectID - Value to which the attribute "objectID" should be set.public VersionedObjectSoftLinkBase.BuilderBase setDataUnit(DataUnit pDataUnit)
pDataUnit - DataUnit to which the association "dataUnit" should be set.public VersionedObjectSoftLinkBase.BuilderBase setEntity(Entity pEntity)
pEntity - Entity to which the association "entity" should be set.public VersionedObjectSoftLink build()
public VersionedObjectSoftLink buildValidated() throws javax.validation.ConstraintViolationException
javax.validation.ConstraintViolationException - in case that one or more validations for the created object failed.Copyright © 2022. All rights reserved.