public class PeriodTypeBuilder extends AbstractBuilder<PeriodType> implements TypeBuilder<PeriodType>, WithAnnotation<PeriodTypeBuilder>
annotations, format
Modifier | Constructor and Description |
---|---|
protected |
PeriodTypeBuilder(MetadataFormat format) |
Modifier and Type | Method and Description |
---|---|
PeriodType |
build() |
PeriodTypeBuilder |
id(String typeIdentifier) |
PeriodTypeBuilder |
with(TypeAnnotation extension)
Contributes a builder with
TypeAnnotation s |
addExtension
protected PeriodTypeBuilder(MetadataFormat format)
public PeriodTypeBuilder with(TypeAnnotation extension)
WithAnnotation
TypeAnnotation
swith
in interface WithAnnotation<PeriodTypeBuilder>
extension
- TypeAnnotation
to addpublic PeriodTypeBuilder id(String typeIdentifier)
public PeriodType build()
build
in interface TypeBuilder<PeriodType>
Copyright © 2018. All rights reserved.