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 association
dataUnit. |
VersionedObjectSoftLinkBase.BuilderBase |
setEntity(Entity pEntity)
Method sets association
entity. |
VersionedObjectSoftLinkBase.BuilderBase |
setObjectID(long pObjectID)
Method sets 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)
objectID.pObjectID - Value to which objectID should be set.VersionedObjectSoftLinkBase.BuilderBase Instance of this builder to support chaining setters. Method never returns null.public VersionedObjectSoftLinkBase.BuilderBase setDataUnit(DataUnit pDataUnit)
dataUnit.pDataUnit - Value to which dataUnit should be set.VersionedObjectSoftLinkBase.BuilderBase Instance of this builder to support chaining setters. Method never returns null.public VersionedObjectSoftLinkBase.BuilderBase setEntity(Entity pEntity)
entity.pEntity - Value to which entity should be set.VersionedObjectSoftLinkBase.BuilderBase Instance of this builder to support chaining setters. Method never returns null.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 © 2023. All rights reserved.