Class LocalBeanParamType.Builder
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.service1.LocalBeanParamType.Builder
-
- Enclosing class:
- LocalBeanParamType
public static class LocalBeanParamType.Builder extends java.lang.ObjectClass implements builder to create a new instance of classLocalBeanParamType.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()UseLocalBeanParamType.builder()instead of private constructor to create new builder.protectedBuilder(LocalBeanParamType pObject)UseLocalBeanParamType.builder(LocalBeanParamType)instead of private constructor to create new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalBeanParamTypebuild()Method creates a new instance of class LocalBeanParamType.LocalBeanParamTypebuildValidated()Method creates a new validated instance of class LocalBeanParamType.LocalBeanParamType.BuildersetAuthorization(java.lang.String pAuthorization)Method sets attributeauthorization.LocalBeanParamType.BuildersetLocalID(java.lang.String pLocalID)Method sets attributelocalID.LocalBeanParamType.BuildersetLocalKey(java.lang.String pLocalKey)Method sets attributelocalKey.
-
-
-
Constructor Detail
-
Builder
protected Builder()
UseLocalBeanParamType.builder()instead of private constructor to create new builder.
-
Builder
protected Builder(LocalBeanParamType pObject)
UseLocalBeanParamType.builder(LocalBeanParamType)instead of private constructor to create new builder.
-
-
Method Detail
-
setLocalKey
public LocalBeanParamType.Builder setLocalKey(java.lang.String pLocalKey)
Method sets attributelocalKey.- Parameters:
pLocalKey- Value to whichlocalKeyshould be set.- Returns:
LocalBeanParamType.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setLocalID
public LocalBeanParamType.Builder setLocalID(java.lang.String pLocalID)
Method sets attributelocalID.- Parameters:
pLocalID- Value to whichlocalIDshould be set.- Returns:
LocalBeanParamType.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setAuthorization
public LocalBeanParamType.Builder setAuthorization(java.lang.String pAuthorization)
Method sets attributeauthorization.- Parameters:
pAuthorization- Value to whichauthorizationshould be set.- Returns:
LocalBeanParamType.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
build
public LocalBeanParamType build()
Method creates a new instance of class LocalBeanParamType. The object will be initialized with the values of the builder.- Returns:
- LocalBeanParamType Created object. The method never returns null.
-
buildValidated
public LocalBeanParamType buildValidated() throws javax.validation.ConstraintViolationException
Method creates a new validated instance of class LocalBeanParamType. The object will be initialized with the values of the builder and validated afterwards.- Returns:
- LocalBeanParamType Created and validated object. The method never returns null.
- Throws:
javax.validation.ConstraintViolationException- in case that one or more validations for the created object failed.
-
-