| Package | Description |
|---|---|
| org.mule.metadata.api | |
| org.mule.metadata.api.builder | |
| org.mule.metadata.api.model | |
| org.mule.metadata.api.model.impl | |
| org.mule.metadata.api.visitor | |
| org.mule.metadata.utils |
| Modifier and Type | Method and Description |
|---|---|
MetadataType |
ClassTypeLoader.load(Type type) |
| Modifier and Type | Method and Description |
|---|---|
Optional<MetadataType> |
TypeLoader.load(String typeIdentifier)
Returns the MetadataType of the specified identifier if found
|
| Modifier and Type | Method and Description |
|---|---|
String |
TypeWriter.toString(MetadataType structure)
Returns the string representation of a MetadataType
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBuilder<T extends MetadataType> |
interface |
SimpleTypeBuilder<T extends MetadataType> |
interface |
TypeBuilder<T extends MetadataType> |
| Modifier and Type | Method and Description |
|---|---|
MetadataType |
BaseTypeBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
UnionTypeBuilder<P> |
UnionTypeBuilder.of(MetadataType type) |
ArrayTypeBuilder<P> |
ArrayTypeBuilder.of(MetadataType typeValue) |
DictionaryTypeBuilder<P> |
DictionaryTypeBuilder.ofKey(MetadataType type) |
DictionaryTypeBuilder<P> |
DictionaryTypeBuilder.ofValue(MetadataType type) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AnyType
This type will match with any other Type.
|
interface |
ArrayType
This type represents a collection of elements of a given type.
|
interface |
AttributeFieldType
Represents an Object Key attribute.
|
interface |
AttributeKeyType
An attribute key.
|
interface |
BinaryType
Represents Binary content type
|
interface |
BooleanType |
interface |
DateTimeType
A Date + Time Type
|
interface |
DateType
A date type with Year Month Day
|
interface |
DictionaryType
This type represents a dictionary, also known as map.
|
interface |
IntersectionType
For any types X and Y, the intersection, or conjunction, X&Y, of the types may be formed.
|
interface |
NullType
The null type.
|
interface |
NumberType
Numeric Types
|
interface |
ObjectFieldType
Represents a key value pair of an object field.
|
interface |
ObjectKeyType
Represents an object key.
|
interface |
ObjectType
An object type represents a list of fields that is represented by key value
pairs type.
|
interface |
SimpleType |
interface |
StringType
String types
|
interface |
TimeType
Time only representation
|
interface |
TupleType
Represents a finite ordered list of Types.
|
interface |
UnionType
For any types X and Y, the union, or disjunction, X|Y, of the types may be
formed.
|
| Modifier and Type | Method and Description |
|---|---|
MetadataType |
DictionaryType.getKeyType() |
MetadataType |
ArrayType.getType()
The type of the array
|
MetadataType |
ObjectFieldType.getValue()
The value of this field
|
MetadataType |
DictionaryType.getValueType() |
| Modifier and Type | Method and Description |
|---|---|
List<MetadataType> |
UnionType.getTypes()
The list of types that belongs to this union.
|
List<MetadataType> |
TupleType.getTypes()
The list of elements of the tuple
|
List<MetadataType> |
IntersectionType.getTypes()
The list of types
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseMetadataType |
class |
DefaultAnyType |
class |
DefaultArrayType |
class |
DefaultAttributeFieldType |
class |
DefaultAttributeKeyType |
class |
DefaultBinaryType |
class |
DefaultBooleanType |
class |
DefaultDateTimeType |
class |
DefaultDateType |
class |
DefaultDictionaryType
Default implementation of
DictionaryType |
class |
DefaultIntersectionType |
class |
DefaultNullType |
class |
DefaultNumberType |
class |
DefaultObjectFieldType |
class |
DefaultObjectKeyType |
class |
DefaultObjectType |
class |
DefaultStringType |
class |
DefaultTimeType |
class |
DefaultTupleType |
class |
DefaultUnionType |
| Modifier and Type | Method and Description |
|---|---|
MetadataType |
DefaultDictionaryType.getKeyType() |
MetadataType |
DefaultArrayType.getType() |
MetadataType |
DefaultObjectFieldType.getValue() |
MetadataType |
DefaultDictionaryType.getValueType() |
| Modifier and Type | Method and Description |
|---|---|
List<MetadataType> |
DefaultTupleType.getTypes() |
List<MetadataType> |
DefaultIntersectionType.getTypes() |
List<MetadataType> |
DefaultUnionType.getTypes() |
| Constructor and Description |
|---|
DefaultDictionaryType(MetadataFormat metadataFormat,
Collection<TypeAnnotation> extensions,
MetadataType keyType,
MetadataType valueType)
Creates a new instance
|
DefaultObjectFieldType(ObjectKeyType key,
MetadataType value,
boolean isRequired,
boolean isRepeated,
MetadataFormat metadataFormat,
Collection<TypeAnnotation> annotations) |
| Constructor and Description |
|---|
DefaultArrayType(Supplier<MetadataType> type,
MetadataFormat metadataFormat,
Collection<TypeAnnotation> extensions) |
DefaultIntersectionType(List<MetadataType> types,
MetadataFormat metadataFormat,
Collection<TypeAnnotation> extensions) |
DefaultTupleType(List<MetadataType> types,
MetadataFormat metadataFormat,
Collection<TypeAnnotation> extensions) |
DefaultUnionType(List<MetadataType> types,
MetadataFormat metadataFormat,
Collection<TypeAnnotation> extensions) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
MetadataTypeVisitor.defaultVisit(MetadataType metadataType)
When no method matches the specific type this method will be called.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<String> |
MetadataTypeUtils.getDefaultValue(MetadataType metadataType) |
static <T extends TypeAnnotation> |
MetadataTypeUtils.getSingleAnnotation(MetadataType metadataType,
Class<T> annotationType) |
static Optional<String> |
MetadataTypeUtils.getTypeId(MetadataType metadataType) |
String |
MetadataTypeWriter.toString(MetadataType structure) |
Copyright © 2016 MuleSoft, Inc.. All rights reserved.