Class UICStopPlace.Builder
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.PlaceRef.Builder
-
- com.anaptecs.jeaf.junit.openapi.base.StopPlaceRef.Builder
-
- com.anaptecs.jeaf.junit.openapi.base.UICStopPlace.Builder
-
- Enclosing class:
- UICStopPlace
public static class UICStopPlace.Builder extends StopPlaceRef.Builder
Class implements builder to create a new instance of classUICStopPlace.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()UseUICStopPlace.builder()instead of private constructor to create new builder.protectedBuilder(UICStopPlace pObject)UseUICStopPlace.builder(UICStopPlace)instead of private constructor to create new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UICStopPlacebuild()Method creates a new instance of class UICStopPlace.UICStopPlacebuildValidated()Method creates a new validated instance of class UICStopPlace.UICStopPlace.BuildersetName(java.lang.String pName)Method sets attributePlaceRef.name.
-
-
-
Constructor Detail
-
Builder
protected Builder()
UseUICStopPlace.builder()instead of private constructor to create new builder.
-
Builder
protected Builder(UICStopPlace pObject)
UseUICStopPlace.builder(UICStopPlace)instead of private constructor to create new builder.
-
-
Method Detail
-
setName
public UICStopPlace.Builder setName(java.lang.String pName)
Method sets attributePlaceRef.name.- Overrides:
setNamein classStopPlaceRef.Builder- Parameters:
pName- Value to whichPlaceRef.nameshould be set.- Returns:
UICStopPlace.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
build
public UICStopPlace build()
Method creates a new instance of class UICStopPlace. The object will be initialized with the values of the builder.- Returns:
- UICStopPlace Created object. The method never returns null.
-
buildValidated
public UICStopPlace buildValidated() throws javax.validation.ConstraintViolationException
Method creates a new validated instance of class UICStopPlace. The object will be initialized with the values of the builder and validated afterwards.- Returns:
- UICStopPlace 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.
-
-