Class ChildBeanParameterType.Builder
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.ParentBeanParamType.Builder
-
- com.anaptecs.jeaf.junit.openapi.service1.ChildBeanParameterType.Builder
-
- Enclosing class:
- ChildBeanParameterType
public static class ChildBeanParameterType.Builder extends ParentBeanParamType.Builder
Class implements builder to create a new instance of classChildBeanParameterType.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()UseChildBeanParameterType.builder()instead of private constructor to create new builder.protectedBuilder(ChildBeanParameterType pObject)UseChildBeanParameterType.builder(ChildBeanParameterType)instead of private constructor to create new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChildBeanParameterTypebuild()Method creates a new instance of class ChildBeanParameterType.ChildBeanParameterTypebuildValidated()Method creates a new validated instance of class ChildBeanParameterType.ChildBeanParameterType.BuildersetChildProperty(java.lang.String pChildProperty)Method sets attributechildProperty.ChildBeanParameterType.BuildersetNovaKey(java.lang.String pNovaKey)Method sets attributeParentBeanParamType.novaKey.ChildBeanParameterType.BuildersetTkID(java.lang.String pTkID)Method sets attributeParentBeanParamType.tkID.
-
-
-
Constructor Detail
-
Builder
protected Builder()
UseChildBeanParameterType.builder()instead of private constructor to create new builder.
-
Builder
protected Builder(ChildBeanParameterType pObject)
UseChildBeanParameterType.builder(ChildBeanParameterType)instead of private constructor to create new builder.
-
-
Method Detail
-
setNovaKey
public ChildBeanParameterType.Builder setNovaKey(java.lang.String pNovaKey)
Method sets attributeParentBeanParamType.novaKey.- Overrides:
setNovaKeyin classParentBeanParamType.Builder- Parameters:
pNovaKey- Value to whichParentBeanParamType.novaKeyshould be set.- Returns:
ChildBeanParameterType.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setTkID
public ChildBeanParameterType.Builder setTkID(java.lang.String pTkID)
Method sets attributeParentBeanParamType.tkID.- Overrides:
setTkIDin classParentBeanParamType.Builder- Parameters:
pTkID- Value to whichParentBeanParamType.tkIDshould be set.- Returns:
ChildBeanParameterType.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setChildProperty
public ChildBeanParameterType.Builder setChildProperty(java.lang.String pChildProperty)
Method sets attributechildProperty.- Parameters:
pChildProperty- Value to whichchildPropertyshould be set.- Returns:
ChildBeanParameterType.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
build
public ChildBeanParameterType build()
Method creates a new instance of class ChildBeanParameterType. The object will be initialized with the values of the builder.- Overrides:
buildin classParentBeanParamType.Builder- Returns:
- ChildBeanParameterType Created object. The method never returns null.
-
buildValidated
public ChildBeanParameterType buildValidated() throws javax.validation.ConstraintViolationException
Method creates a new validated instance of class ChildBeanParameterType. The object will be initialized with the values of the builder and validated afterwards.- Overrides:
buildValidatedin classParentBeanParamType.Builder- Returns:
- ChildBeanParameterType 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.
-
-