Package de.brendamour.jpasskit.semantics
Class PKSeatBuilder
java.lang.Object
de.brendamour.jpasskit.semantics.PKSeatBuilder
- All Implemented Interfaces:
IPKBuilder<PKSeat>,IPKValidateable
Allows constructing and validating
PKSeat entities.- Author:
- Patrice Brend'amour
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()booleanisValid()seatDescription(String seatDescription) seatIdentifier(String seatIdentifier) seatNumber(String seatNumber) seatSection(String seatSection)
-
Constructor Details
-
PKSeatBuilder
protected PKSeatBuilder()
-
-
Method Details
-
of
- Specified by:
ofin interfaceIPKBuilder<PKSeat>
-
seatDescription
-
seatIdentifier
-
seatNumber
-
seatRow
-
seatSection
-
seatType
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceIPKValidateable
-
getValidationErrors
- Specified by:
getValidationErrorsin interfaceIPKValidateable
-
build
- Specified by:
buildin interfaceIPKBuilder<PKSeat>
-