Package de.brendamour.jpasskit.semantics
Class PKCurrencyAmountBuilder
java.lang.Object
de.brendamour.jpasskit.semantics.PKCurrencyAmountBuilder
- All Implemented Interfaces:
IPKBuilder<PKCurrencyAmount>,IPKValidateable
public class PKCurrencyAmountBuilder
extends Object
implements IPKValidateable, IPKBuilder<PKCurrencyAmount>
Allows constructing and validating
PKCurrencyAmount entities.- Author:
- Patrice Brend'amour
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()currencyCode(String currencyCode) booleanisValid()of(PKCurrencyAmount source)
-
Constructor Details
-
PKCurrencyAmountBuilder
protected PKCurrencyAmountBuilder()
-
-
Method Details
-
of
- Specified by:
ofin interfaceIPKBuilder<PKCurrencyAmount>
-
currencyCode
-
amount
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceIPKValidateable
-
getValidationErrors
- Specified by:
getValidationErrorsin interfaceIPKValidateable
-
build
- Specified by:
buildin interfaceIPKBuilder<PKCurrencyAmount>
-