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