P - public class DictionaryTypeBuilder<P extends TypeBuilder> extends AbstractBuilder<DictionaryType> implements TypeBuilder<DictionaryType>, WithAnnotation<DictionaryTypeBuilder>
TypeBuilder that creates instances of DictionaryTypeannotations, format| Modifier | Constructor and Description |
|---|---|
protected |
DictionaryTypeBuilder(MetadataFormat format) |
| Modifier and Type | Method and Description |
|---|---|
DictionaryTypeBuilder<P> |
boundary(Optional<? extends Number> minLength,
Optional<? extends Number> maxLength) |
DictionaryType |
build() |
DictionaryTypeBuilder<P> |
description(String content) |
DictionaryTypeBuilder<P> |
description(String lang,
String content) |
DictionaryTypeBuilder<P> |
id(String typeIdentifier) |
DictionaryTypeBuilder<P> |
label(String label) |
BaseTypeBuilder<?> |
ofKey() |
DictionaryTypeBuilder<P> |
ofKey(MetadataType type) |
DictionaryTypeBuilder<P> |
ofKey(TypeBuilder builder) |
BaseTypeBuilder<?> |
ofValue() |
DictionaryTypeBuilder<P> |
ofValue(MetadataType type) |
DictionaryTypeBuilder<P> |
ofValue(TypeBuilder builder) |
DictionaryTypeBuilder<P> |
with(TypeAnnotation extension)
Contributes a builder with
TypeAnnotations |
addExtensionprotected DictionaryTypeBuilder(MetadataFormat format)
public DictionaryTypeBuilder<P> id(String typeIdentifier)
public BaseTypeBuilder<?> ofKey()
public DictionaryTypeBuilder<P> ofKey(TypeBuilder builder)
public DictionaryTypeBuilder<P> ofKey(MetadataType type)
public BaseTypeBuilder<?> ofValue()
public DictionaryTypeBuilder<P> ofValue(TypeBuilder builder)
public DictionaryTypeBuilder<P> ofValue(MetadataType type)
public DictionaryTypeBuilder<P> with(TypeAnnotation extension)
WithAnnotationTypeAnnotationswith in interface WithAnnotation<DictionaryTypeBuilder>extension - TypeAnnotation to addpublic DictionaryTypeBuilder<P> boundary(Optional<? extends Number> minLength, Optional<? extends Number> maxLength)
public DictionaryTypeBuilder<P> description(String lang, String content)
public DictionaryTypeBuilder<P> description(String content)
public DictionaryTypeBuilder<P> label(String label)
public DictionaryType build()
build in interface TypeBuilder<DictionaryType>Copyright © 2016 MuleSoft, Inc.. All rights reserved.