Package org.projecthusky.valueset.model
Class Version.Builder
java.lang.Object
org.projecthusky.valueset.model.Version.Builder
- Enclosing class:
- Version
Builder to build
Version
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the.With label.withPublishingAuthority
(OrganizationBaseType publishingAuthority) With publishing authority.withValidFrom
(Date validFrom) With valid from.withValidTo
(Date validTo) With valid to.
-
Method Details
-
build
Builds the.- Returns:
- the version
-
withLabel
With label.- Parameters:
label
- the label- Returns:
- the builder
-
withPublishingAuthority
With publishing authority.- Parameters:
publishingAuthority
- the publishing authority- Returns:
- the builder
-
withValidFrom
With valid from.- Parameters:
validFrom
- the valid from- Returns:
- the builder
-
withValidTo
With valid to.- Parameters:
validTo
- the valid to- Returns:
- the builder
-