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