Uses of Interface
org.mule.metadata.api.model.MetadataType
-
-
Uses of MetadataType in org.mule.metadata.api
Methods in org.mule.metadata.api that return MetadataType Modifier and Type Method Description MetadataTypeClassTypeLoader. load(Type type)Methods in org.mule.metadata.api that return types with arguments of type MetadataType Modifier and Type Method Description Map<String,MetadataType>ListableTypeLoader. getAllTypes()Optional<MetadataType>TypeLoader. load(String typeIdentifier)Returns the MetadataType of the specified identifier if founddefault Optional<MetadataType>TypeLoader. load(String typeIdentifier, String typeAlias)Returns the MetadataType of the specified identifier if found, optionally assigning specified type aliasMethods in org.mule.metadata.api with parameters of type MetadataType Modifier and Type Method Description StringTypeWriter. toString(MetadataType structure)Returns the string representation of a MetadataType -
Uses of MetadataType in org.mule.metadata.api.builder
Classes in org.mule.metadata.api.builder with type parameters of type MetadataType Modifier and Type Class Description classAbstractBuilder<T extends MetadataType>classBasicTypeBuilder<T extends MetadataType>interfaceSimpleTypeBuilder<T extends MetadataType>interfaceTypeBuilder<T extends MetadataType>Methods in org.mule.metadata.api.builder that return MetadataType Modifier and Type Method Description MetadataTypeBaseTypeBuilder. build()Methods in org.mule.metadata.api.builder with parameters of type MetadataType Modifier and Type Method Description FunctionTypeBuilderFunctionTypeBuilder. addOptionalParameterOf(String name, MetadataType paramType)FunctionTypeBuilderFunctionTypeBuilder. addParameterOf(String name, MetadataType paramType)ArrayTypeBuilderArrayTypeBuilder. of(MetadataType typeValue)UnionTypeBuilderUnionTypeBuilder. of(MetadataType type)ObjectTypeBuilderObjectTypeBuilder. openWith(MetadataType openRestriction)FunctionTypeBuilderFunctionTypeBuilder. returnType(MetadataType returnType)ObjectFieldTypeBuilderObjectFieldTypeBuilder. value(MetadataType typeValue) -
Uses of MetadataType in org.mule.metadata.api.model
Subinterfaces of MetadataType in org.mule.metadata.api.model Modifier and Type Interface Description interfaceAnyTypeA Top Type.interfaceArrayTypeThis type represents a collection of elements of a given type.interfaceAttributeFieldTypeRepresents an Object Key attribute.interfaceAttributeKeyTypeAn attribute key.interfaceBinaryTypeRepresents Binary content typeinterfaceBooleanTypeinterfaceDateTimeTypeA Date + Time Type + TimeZoneinterfaceDateTypeA date type with Year Month DayinterfaceFunctionTypeA function with arguments and a return typeinterfaceIntersectionTypeFor any types X and Y, the intersection, or conjunction, X&Y, of the types may be formed.interfaceLocalDateTimeTypeA Date + Time Type with not time zone (by convention the local timezone)interfaceLocalTimeTypeA time with no timezone (by convention the local timezone)interfaceNothingTypeA bottom type.interfaceNullTypeThe null type.interfaceNumberTypeNumeric TypesinterfaceObjectFieldTypeRepresents a key value pair of an object field.interfaceObjectKeyTypeRepresents an object key.interfaceObjectTypeAn object type represents a list of fields that is represented by key value pairs type.interfacePeriodTypeRepresents a period of time.interfaceRegexTypeRepresents a regex expression.interfaceSimpleTypeinterfaceStringTypeString typesinterfaceTimeTypeTime only representationinterfaceTimeZoneTypeRepresents a timezone typeinterfaceTupleTypeRepresents a finite ordered list of Types.interfaceTypeParameterTypeA Type Parameter used in type expressions.interfaceUnionTypeFor any types X and Y, the union, or disjunction, X|Y, of the types may be formed.interfaceVoidTypeThe void type.Methods in org.mule.metadata.api.model that return MetadataType Modifier and Type Method Description MetadataTypeArrayType. getType()The type of the arrayMetadataTypeFunctionParameter. getType()Returns the type of the parameterMetadataTypeAttributeFieldType. getValue()The value of the attributeMetadataTypeObjectFieldType. getValue()The value of this fieldMethods in org.mule.metadata.api.model that return types with arguments of type MetadataType Modifier and Type Method Description Optional<MetadataType>ObjectType. getOpenRestriction()Returns the restriction if any specified for the open type.Optional<MetadataType>FunctionType. getReturnType()The return type of the function.List<MetadataType>IntersectionType. getTypes()The list of typesList<MetadataType>TupleType. getTypes()The list of elements of the tupleList<MetadataType>UnionType. getTypes()The list of types that belongs to this union.Constructors in org.mule.metadata.api.model with parameters of type MetadataType Constructor Description FunctionParameter(String name, MetadataType type)FunctionParameter(String name, MetadataType type, boolean optional) -
Uses of MetadataType in org.mule.metadata.api.model.impl
Classes in org.mule.metadata.api.model.impl that implement MetadataType Modifier and Type Class Description classBaseMetadataTypeclassDefaultAnyTypeclassDefaultArrayTypeclassDefaultAttributeFieldTypeclassDefaultAttributeKeyTypeclassDefaultBinaryTypeclassDefaultBooleanTypeclassDefaultDateTimeTypeclassDefaultDateTypeclassDefaultFunctionTypeclassDefaultIntersectionTypeclassDefaultLocalDateTimeTypeclassDefaultLocalTimeTypeclassDefaultNothingTypeclassDefaultNullTypeclassDefaultNumberTypeclassDefaultObjectFieldTypeclassDefaultObjectKeyTypeclassDefaultObjectTypeclassDefaultPeriodTypeclassDefaultRegexTypeclassDefaultStringTypeclassDefaultTimeTypeclassDefaultTimeZoneTypeclassDefaultTupleTypeclassDefaultTypeParameterTypeclassDefaultUnionTypeclassDefaultVoidTypeMethods in org.mule.metadata.api.model.impl that return MetadataType Modifier and Type Method Description MetadataTypeDefaultArrayType. getType()MetadataTypeDefaultAttributeFieldType. getValue()MetadataTypeDefaultObjectFieldType. getValue()Methods in org.mule.metadata.api.model.impl that return types with arguments of type MetadataType Modifier and Type Method Description Optional<MetadataType>DefaultObjectType. getOpenRestriction()Optional<MetadataType>DefaultFunctionType. getReturnType()List<MetadataType>DefaultIntersectionType. getTypes()List<MetadataType>DefaultTupleType. getTypes()List<MetadataType>DefaultUnionType. getTypes()Constructors in org.mule.metadata.api.model.impl with parameters of type MetadataType Constructor Description DefaultAttributeFieldType(AttributeKeyType key, MetadataType value, boolean required, MetadataFormat metadataFormat, Map<Class<? extends TypeAnnotation>,TypeAnnotation> extensions)DefaultObjectFieldType(ObjectKeyType key, MetadataType value, boolean isRequired, boolean isRepeated, MetadataFormat metadataFormat, Map<Class<? extends TypeAnnotation>,TypeAnnotation> annotations)DefaultObjectType(Collection<ObjectFieldType> fields, boolean ordered, MetadataType openRestriction, MetadataFormat metadataFormat, Map<Class<? extends TypeAnnotation>,TypeAnnotation> extensions)Constructor parameters in org.mule.metadata.api.model.impl with type arguments of type MetadataType Constructor Description DefaultArrayType(Supplier<MetadataType> type, MetadataFormat metadataFormat, Map<Class<? extends TypeAnnotation>,TypeAnnotation> extensions)DefaultFunctionType(MetadataFormat metadataFormat, Map<Class<? extends TypeAnnotation>,TypeAnnotation> annotations, Optional<MetadataType> returnType, List<FunctionParameter> parameters)DefaultIntersectionType(List<MetadataType> types, MetadataFormat metadataFormat, Map<Class<? extends TypeAnnotation>,TypeAnnotation> extensions)DefaultTupleType(List<MetadataType> types, MetadataFormat metadataFormat, Map<Class<? extends TypeAnnotation>,TypeAnnotation> extensions)DefaultUnionType(List<MetadataType> types, MetadataFormat metadataFormat, Map<Class<? extends TypeAnnotation>,TypeAnnotation> extensions) -
Uses of MetadataType in org.mule.metadata.api.utils
Methods in org.mule.metadata.api.utils with parameters of type MetadataType Modifier and Type Method Description voidMetadataTypeUtils.TypeResolverVisitor. defaultVisit(MetadataType metadataType)static Optional<String>MetadataTypeUtils. getDefaultValue(MetadataType type)Returns the default value of aMetadataTypeif exist.static Optional<String>MetadataTypeUtils. getTypeId(MetadataType type)Returns the type id of aMetadataTypeif exist.static booleanMetadataTypeUtils. hasExposedFields(MetadataType type)Returns if anObjectTypehas at least one exposed field or not, for any otherMetadataTypereturns false.static booleanMetadataTypeUtils. isCollection(MetadataType type)Returns whether a metadata type is an instance of anArrayTypeor not.static booleanMetadataTypeUtils. isEnum(MetadataType type)Indicates whether the giveMetadataTypeis an Enum or not.static booleanMetadataTypeUtils. isNullType(MetadataType type)Returns whether a metadata type is an instance ofNullTypeor not.static booleanMetadataTypeUtils. isObjectType(MetadataType type)Returns whether a metadata type is an instance ofObjectTypeor not.static booleanMetadataTypeUtils. isVoid(MetadataType type)Returns whether a metadata type is an instance ofVoidTypeor not. -
Uses of MetadataType in org.mule.metadata.api.visitor
Methods in org.mule.metadata.api.visitor with parameters of type MetadataType Modifier and Type Method Description protected voidMetadataTypeVisitor. defaultVisit(MetadataType metadataType)When no method matches the specific type this method will be called.protected abstract voidBasicTypeMetadataVisitor. visitBasicType(MetadataType metadataType) -
Uses of MetadataType in org.mule.metadata.internal.utils
Methods in org.mule.metadata.internal.utils with parameters of type MetadataType Modifier and Type Method Description StringMetadataTypeWriter. toString(MetadataType structure)
-