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
|
default Optional<MetadataType> |
TypeLoader.load(String typeIdentifier,
String typeAlias)
Returns the MetadataType of the specified identifier if found, optionally assigning specified type alias
|
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> |
class |
BasicTypeBuilder<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 |
---|---|
FunctionTypeBuilder |
FunctionTypeBuilder.addParameterOf(String name,
MetadataType paramType) |
ArrayTypeBuilder |
ArrayTypeBuilder.of(MetadataType typeValue) |
UnionTypeBuilder |
UnionTypeBuilder.of(MetadataType type) |
ObjectTypeBuilder |
ObjectTypeBuilder.openWith(MetadataType openRestriction) |
FunctionTypeBuilder |
FunctionTypeBuilder.returnType(MetadataType returnType) |
ObjectFieldTypeBuilder |
ObjectFieldTypeBuilder.value(MetadataType typeValue) |
Modifier and Type | Interface and Description |
---|---|
interface |
AnyType
A Top 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 + TimeZone
|
interface |
DateType
A date type with Year Month Day
|
interface |
FunctionType
A function with arguments and a return type
|
interface |
IntersectionType
For any types X and Y, the intersection, or conjunction, X&Y, of the types may be formed.
|
interface |
LocalDateTimeType
A Date + Time Type with not time zone (by convention the local timezone)
|
interface |
LocalTimeType
A time with no timezone (by convention the local timezone)
|
interface |
NothingType
A bottom type.
|
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 |
PeriodType
Represents a period of time.
|
interface |
RegexType
Represents a regex expression.
|
interface |
SimpleType |
interface |
StringType
String types
|
interface |
TimeType
Time only representation
|
interface |
TimeZoneType
Represents a timezone type
|
interface |
TupleType
Represents a finite ordered list of Types.
|
interface |
TypeParameterType
A Type Parameter used in type expressions.
|
interface |
UnionType
For any types X and Y, the union, or disjunction, X|Y, of the types may be
formed.
|
interface |
VoidType
The void type.
|
Modifier and Type | Method and Description |
---|---|
MetadataType |
ArrayType.getType()
The type of the array
|
MetadataType |
FunctionParameter.getType()
Returns the type of the parameter
|
MetadataType |
AttributeFieldType.getValue()
The value of the attribute
|
MetadataType |
ObjectFieldType.getValue()
The value of this field
|
Modifier and Type | Method and 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 types
|
List<MetadataType> |
TupleType.getTypes()
The list of elements of the tuple
|
List<MetadataType> |
UnionType.getTypes()
The list of types that belongs to this union.
|
Constructor and Description |
---|
FunctionParameter(String name,
MetadataType type) |
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 |
DefaultFunctionType |
class |
DefaultIntersectionType |
class |
DefaultLocalDateTimeType |
class |
DefaultLocalTimeType |
class |
DefaultNothingType |
class |
DefaultNullType |
class |
DefaultNumberType |
class |
DefaultObjectFieldType |
class |
DefaultObjectKeyType |
class |
DefaultObjectType |
class |
DefaultPeriodType |
class |
DefaultRegexType |
class |
DefaultStringType |
class |
DefaultTimeType |
class |
DefaultTimeZoneType |
class |
DefaultTupleType |
class |
DefaultTypeParameterType |
class |
DefaultUnionType |
class |
DefaultVoidType |
Modifier and Type | Method and Description |
---|---|
MetadataType |
DefaultArrayType.getType() |
MetadataType |
DefaultAttributeFieldType.getValue() |
MetadataType |
DefaultObjectFieldType.getValue() |
Modifier and Type | Method and Description |
---|---|
Optional<MetadataType> |
DefaultObjectType.getOpenRestriction() |
Optional<MetadataType> |
DefaultFunctionType.getReturnType() |
List<MetadataType> |
DefaultIntersectionType.getTypes() |
List<MetadataType> |
DefaultTupleType.getTypes() |
List<MetadataType> |
DefaultUnionType.getTypes() |
Constructor and 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 and 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) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataTypeUtils.TypeResolverVisitor.defaultVisit(MetadataType metadataType) |
static Optional<String> |
MetadataTypeUtils.getDefaultValue(MetadataType type)
Returns the default value of a
MetadataType if exist. |
static Optional<String> |
MetadataTypeUtils.getTypeId(MetadataType type)
Returns the type id of a
MetadataType if exist. |
static boolean |
MetadataTypeUtils.hasExposedFields(MetadataType type)
Returns if an
ObjectType has at least one exposed field or not, for any other MetadataType
returns false. |
static boolean |
MetadataTypeUtils.isCollection(MetadataType type)
Returns whether a metadata type is an instance of an
ArrayType or not. |
static boolean |
MetadataTypeUtils.isEnum(MetadataType type)
Indicates whether the give
MetadataType is an Enum or not. |
static boolean |
MetadataTypeUtils.isNullType(MetadataType type)
Returns whether a metadata type is an instance of
NullType or not. |
static boolean |
MetadataTypeUtils.isObjectType(MetadataType type)
Returns whether a metadata type is an instance of
ObjectType or not. |
static boolean |
MetadataTypeUtils.isVoid(MetadataType type)
Returns whether a metadata type is an instance of
VoidType or not. |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataTypeVisitor.defaultVisit(MetadataType metadataType)
When no method matches the specific type this method will be called.
|
protected abstract void |
BasicTypeMetadataVisitor.visitBasicType(MetadataType metadataType) |
Modifier and Type | Method and Description |
---|---|
Optional<MetadataType> |
ASTTypeLoader.load(String typeIdentifier) |
Optional<MetadataType> |
ASTTypeLoader.load(TypeMirror typeMirror)
Given a
TypeMirror introspect it an returns the correspondent MetadataType |
Modifier and Type | Field and Description |
---|---|
static Map<String,MetadataType> |
PrimitiveTypesTypeLoader.PRIMITIVE_TYPES
Unmodifiable map with the supported primitive types
|
Modifier and Type | Method and Description |
---|---|
Optional<MetadataType> |
PrimitiveTypesTypeLoader.load(String typeIdentifier) |
Optional<MetadataType> |
TypeResolver.resolveType(String reference)
Returns the
MetadataType of the specified type if found. |
Modifier and Type | Method and Description |
---|---|
MetadataType |
JavaTypeLoader.load(Type type) |
MetadataType |
JavaTypeLoader.load(Type type,
String typeAlias) |
Modifier and Type | Method and Description |
---|---|
Optional<MetadataType> |
JavaTypeLoader.load(String identifier) |
Optional<MetadataType> |
JavaTypeLoader.load(String identifier,
String typeAlias) |
Modifier and Type | Method and Description |
---|---|
static Optional<MetadataType> |
JavaTypeUtils.getGenericTypeAt(MetadataType metadataType,
int index,
ClassTypeLoader typeLoader)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Optional<MetadataType> |
JavaTypeUtils.getGenericTypeAt(MetadataType metadataType,
int index,
ClassTypeLoader typeLoader)
Deprecated.
|
static Optional<String> |
JavaTypeUtils.getId(MetadataType metadataType) |
static <T> Class<T> |
JavaTypeUtils.getType(MetadataType metadataType) |
static <T> Class<T> |
JavaTypeUtils.getType(MetadataType metadataType,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
Optional<MetadataType> |
JsonExampleTypeLoader.load(String typeIdentifier) |
Optional<MetadataType> |
JsonTypeLoader.load(String identifier) |
Optional<MetadataType> |
JsonExampleTypeLoader.load(String typeIdentifier,
String typeAlias) |
Optional<MetadataType> |
JsonTypeLoader.load(String identifier,
String typeAlias) |
Modifier and Type | Interface and Description |
---|---|
interface |
MessageMetadataType
Models a Message Type with its payload and attributes.
|
interface |
MuleEventMetadataType
Models a Mule Event MetadataType
|
Modifier and Type | Method and Description |
---|---|
Optional<MetadataType> |
MessageMetadataType.getAttributesType()
The attributes metadata type
|
Optional<MetadataType> |
MuleEventMetadataType.getErrorType()
The error metadata type
|
Optional<MetadataType> |
MessageMetadataType.getPayloadType()
The payload metadata types
|
Optional<MetadataType> |
MuleEventMetadataType.getVariableType(String varName)
Returns the metadata type of a given variable
|
Modifier and Type | Method and Description |
---|---|
MuleEventMetadataTypeBuilder |
MuleEventMetadataTypeBuilder.addVariable(String name,
MetadataType metadataType) |
MessageMetadataTypeBuilder |
MessageMetadataTypeBuilder.attributes(MetadataType payloadType) |
MuleEventMetadataTypeBuilder |
MuleEventMetadataTypeBuilder.error(MetadataType errorType) |
MessageMetadataTypeBuilder |
MessageMetadataTypeBuilder.payload(MetadataType payloadType) |
Modifier and Type | Method and Description |
---|---|
MetadataType |
ExpressionLanguageMetadataTypeResolver.getMetadataFromSample(InputStream sample,
Map<String,Object> readerProperties,
String mimeType)
Infers the metadata out of a sample data
|
MetadataType |
ExpressionLanguageMetadataTypeResolver.getOutputType(TypeBindings typeBindings,
String expression,
ExpressionLanguageMetadataTypeResolver.MessageCallback callback)
Returns the result type expression when invoked with the given
TypeBindings . |
MetadataType |
ExpressionLanguageMetadataTypeResolver.getOutputType(TypeBindings typeBindings,
String expression,
String outputMimeType,
ExpressionLanguageMetadataTypeResolver.MessageCallback callback)
Returns the result type expression when invoked with the given
TypeBindings . |
MetadataType |
ExpressionLanguageMetadataTypeResolver.substitute(MetadataType assignment,
Map<String,MetadataType> substitution)
Returns a new type with the substitution being applied
|
MetadataType |
ExpressionLanguageMetadataTypeResolver.unify(List<MetadataType> metadataTypes)
Unify all the specified types into one type.
|
Modifier and Type | Method and Description |
---|---|
Optional<MetadataType> |
ModuleDefinition.lookup(String identifier) |
Optional<MetadataType> |
TypeBindings.lookup(String name) |
Map<String,MetadataType> |
ExpressionLanguageMetadataTypeResolver.resolveAssignment(MetadataType assignment,
MetadataType expected,
ExpressionLanguageMetadataTypeResolver.MessageCallback callback)
Returns the substitution that needs to be done in order for this two types can be assigned
|
Modifier and Type | Method and Description |
---|---|
TypeBindings.Builder |
TypeBindings.Builder.addBinding(String identifier,
MetadataType metadataType) |
ModuleDefinition.Builder |
ModuleDefinition.Builder.addElement(String name,
MetadataType type) |
void |
ExpressionLanguageMetadataTypeResolver.getInputType(String expression,
MetadataType output,
MuleEventMetadataTypeBuilder builder,
ExpressionLanguageMetadataTypeResolver.MessageCallback callback)
Infers the expected input mule event type
MuleEventMetadataType for specified output type with the given script. |
boolean |
ExpressionLanguageMetadataTypeResolver.isAssignable(MetadataType assignment,
MetadataType expected,
ExpressionLanguageMetadataTypeResolver.MessageCallback callback)
Returns if the assignment type can be assigned to the expected type
|
Map<String,MetadataType> |
ExpressionLanguageMetadataTypeResolver.resolveAssignment(MetadataType assignment,
MetadataType expected,
ExpressionLanguageMetadataTypeResolver.MessageCallback callback)
Returns the substitution that needs to be done in order for this two types can be assigned
|
MetadataType |
ExpressionLanguageMetadataTypeResolver.substitute(MetadataType assignment,
Map<String,MetadataType> substitution)
Returns a new type with the substitution being applied
|
Modifier and Type | Method and Description |
---|---|
MetadataType |
ExpressionLanguageMetadataTypeResolver.substitute(MetadataType assignment,
Map<String,MetadataType> substitution)
Returns a new type with the substitution being applied
|
MetadataType |
ExpressionLanguageMetadataTypeResolver.unify(List<MetadataType> metadataTypes)
Unify all the specified types into one type.
|
Constructor and Description |
---|
ModuleDefinition(ModuleIdentifier name,
Map<String,MetadataType> declaredElements) |
Modifier and Type | Method and Description |
---|---|
Optional<MetadataType> |
JsonRamlTypeLoader.load(String typeIdentifier) |
Optional<MetadataType> |
XmlRamlTypeLoader.load(String typeIdentifier) |
Optional<MetadataType> |
JsonRamlTypeLoader.load(String typeIdentifier,
String typeAlias) |
Optional<MetadataType> |
XmlRamlTypeLoader.load(String typeIdentifier,
String typeAlias) |
Modifier and Type | Field and Description |
---|---|
static List<Class<? extends MetadataType>> |
CsvTypeLoader.VALID_FIELD_TYPES |
Modifier and Type | Method and Description |
---|---|
Optional<MetadataType> |
CsvTypeLoader.load(String typeIdentifier) |
Optional<MetadataType> |
CsvTypeLoader.load(String typeIdentifier,
String typeAlias) |
Modifier and Type | Method and Description |
---|---|
Optional<MetadataType> |
MapTypeLoader.load(String typeIdentifier) |
Optional<MetadataType> |
MapTypeLoader.load(String typeIdentifier,
String typeAlias) |
Modifier and Type | Method and Description |
---|---|
Optional<MetadataType> |
XmlTypeLoader.load(QName qName,
String typeAlias) |
Optional<MetadataType> |
XmlTypeLoader.load(String typeIdentifier) |
Optional<MetadataType> |
XmlTypeLoader.load(String typeIdentifier,
String typeAlias) |
Modifier and Type | Method and Description |
---|---|
MetadataType |
Typed.getType()
Returns the
MetadataType of the Typed component. |
Constructor and Description |
---|
SubTypesModel(MetadataType baseType,
Set<MetadataType> subTypes)
Creates a new instance
|
Constructor and Description |
---|
SubTypesModel(MetadataType baseType,
Set<MetadataType> subTypes)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
MetadataType |
OutputDeclaration.getType() |
MetadataType |
ParameterDeclaration.getType() |
MetadataType |
TypedDeclaration.getType() |
Modifier and Type | Method and Description |
---|---|
void |
ExtensionDeclaration.addSubtype(MetadataType baseType,
MetadataType subType)
Registers the given
subType as an implementation of the baseType |
void |
ExtensionDeclaration.addSubtypes(MetadataType baseType,
Collection<MetadataType> subTypes)
Registers the given
subTypes as implementations of the baseType |
T |
OutputDeclarer.ofDynamicType(MetadataType type)
Specifies that the Element being described has a
type
of dynamic kind, meaning that this Element's type is
bounded to the component 's configuration during
application design time and should be discovered using the MetadataService service |
T |
ParameterDeclarer.ofDynamicType(MetadataType type)
Specifies the type of the
ParameterModel |
T |
OutputDeclarer.ofType(MetadataType type)
Specifies that the
OutputModel has a type
of static kind. |
T |
ParameterDeclarer.ofType(MetadataType type)
Specifies the type of the
ParameterModel |
void |
OutputDeclaration.setType(MetadataType type,
boolean isDynamic)
Associates the given
MetadataType to the element being declared |
void |
ParameterDeclaration.setType(MetadataType type,
boolean isDynamic)
Associates the given
MetadataType to the element being declared |
void |
TypedDeclaration.setType(MetadataType type,
boolean isDynamic)
Associates the given
MetadataType to the element being declared |
ExtensionDeclarer |
ExtensionDeclarer.withSubType(MetadataType baseType,
MetadataType subType)
Registers the given
subType as an implementation of the baseType |
ExtensionDeclarer |
ExtensionDeclarer.withSubTypes(MetadataType baseType,
Collection<MetadataType> subTypes)
Registers the given
subTypes as implementations of the baseType |
Modifier and Type | Method and Description |
---|---|
void |
ExtensionDeclaration.addSubtypes(MetadataType baseType,
Collection<MetadataType> subTypes)
Registers the given
subTypes as implementations of the baseType |
ExtensionDeclarer |
ExtensionDeclarer.withSubTypes(MetadataType baseType,
Collection<MetadataType> subTypes)
Registers the given
subTypes as implementations of the baseType |
Modifier and Type | Method and Description |
---|---|
MetadataType |
NotificationModel.getType()
Returns the
MetadataType of the data associated to the notification. |
Modifier and Type | Method and Description |
---|---|
MetadataType |
ParameterMetadataDescriptor.getType() |
MetadataType |
TypeMetadataDescriptor.getType() |
Modifier and Type | Method and Description |
---|---|
OutputMetadataDescriptor.OutputMetadataDescriptorBuilder |
OutputMetadataDescriptor.OutputMetadataDescriptorBuilder.withAttributesType(MetadataType attributesType)
Describes that the output
Message.getAttributes() MetadataType of the component will be
|
OutputMetadataDescriptor.OutputMetadataDescriptorBuilder |
OutputMetadataDescriptor.OutputMetadataDescriptorBuilder.withReturnType(MetadataType returnType)
Describes that the return type of the component will be of
MetadataType |
ParameterMetadataDescriptor.ParameterMetadataDescriptorBuilder |
ParameterMetadataDescriptor.ParameterMetadataDescriptorBuilder.withType(MetadataType type)
Indicates that the component parameter with name
ParameterMetadataDescriptor.ParameterMetadataDescriptorBuilder.name will be of type |
TypeMetadataDescriptor.TypeMetadataDescriptorBuilder |
TypeMetadataDescriptor.TypeMetadataDescriptorBuilder.withType(MetadataType type)
Indicates that the component will be of type
|
Modifier and Type | Method and Description |
---|---|
MetadataType |
AttributesTypeResolver.getAttributesType(MetadataContext context,
K key)
Given an instance of type
K , resolves their MetadataType , which represents the type structure. |
MetadataType |
AttributesStaticTypeResolver.getAttributesType(MetadataContext context,
Object key)
This method resolves the static output type for an attributes
OutputModel proxing to the
StaticResolver.getStaticMetadata() method. |
MetadataType |
QueryEntityResolver.getEntityMetadata(MetadataContext context,
String key)
Given a
String representing the id of one of the entities, resolves the corresponding entity MetadataType , |
MetadataType |
InputTypeResolver.getInputMetadata(MetadataContext context,
K key)
Given an instance of type
K , resolves their MetadataType which represents the type structure. |
MetadataType |
InputStaticTypeResolver.getInputMetadata(MetadataContext context,
Object key)
This method resolves the static input type for a
ParameterModel proxing to the
StaticResolver.getStaticMetadata() method. |
MetadataType |
OutputTypeResolver.getOutputType(MetadataContext context,
K key)
Given an instance of type
K , resolves their MetadataType , which represents the type structure. |
MetadataType |
OutputStaticTypeResolver.getOutputType(MetadataContext context,
Object key)
This method resolves the static output type for a
OutputModel proxing to the
StaticResolver.getStaticMetadata() method. |
MetadataType |
StaticResolver.getStaticMetadata()
Creates a new
MetadataType |
Modifier and Type | Method and Description |
---|---|
MetadataType |
DynamicConfigExpirationTypeBuilder.buildDynamicConfigExpirationType() |
MetadataType |
DynamicConfigExpirationTypeBuilder.buildExpirationPolicyType() |
MetadataType |
PoolingProfileTypeBuilder.buildPoolingProfileType() |
MetadataType |
ReconnectionStrategyTypeBuilder.buildReconnectionConfigType() |
MetadataType |
ReconnectionStrategyTypeBuilder.buildReconnectionStrategyType() |
MetadataType |
RedeliveryPolicyTypeBuilder.buildRedeliveryPolicyType() |
MetadataType |
StreamingStrategyTypeBuilder.getByteStreamingStrategyType() |
MetadataType |
StreamingStrategyTypeBuilder.getObjectStreamingStrategyType() |
Modifier and Type | Method and Description |
---|---|
MetadataType |
DefaultImplementingTypeAnnotation.getDefaultType() |
Constructor and Description |
---|
DefaultImplementingTypeAnnotation(MetadataType defaultType) |
Modifier and Type | Method and Description |
---|---|
Map<MetadataType,DslElementSyntax> |
DslElementSyntax.getGenerics() |
Modifier and Type | Method and Description |
---|---|
Optional<DslElementSyntax> |
DslElementSyntax.getGeneric(MetadataType type) |
Optional<DslElementSyntax> |
XmlDslSyntaxResolver.resolve(MetadataType type)
Resolves the
DslElementSyntax for the standalone xml element for the given MetadataType |
DslElementSyntaxBuilder |
DslElementSyntaxBuilder.withGeneric(MetadataType type,
DslElementSyntax child)
Adds a
childElement declaration to this DslElementSyntax that
represents a generic type of this element. |
Constructor and Description |
---|
DslElementSyntax(String attributeName,
String elementName,
String prefix,
String namespace,
boolean isWrapped,
boolean supportsAttributeDeclaration,
boolean supportsChildDeclaration,
boolean supportsTopLevelDeclaration,
boolean requiresConfig,
Map<MetadataType,DslElementSyntax> genericsDsl,
Map<String,DslElementSyntax> containedElements)
Creates a new instance of
DslElementSyntax |
Modifier and Type | Method and Description |
---|---|
Map<MetadataType,XmlDslModel> |
DefaultImportTypesStrategy.getImportedTypes() |
Map<MetadataType,XmlDslModel> |
ImportTypesStrategy.getImportedTypes() |
Map<MetadataType,XmlDslModel> |
SingleExtensionImportTypesStrategy.getImportedTypes() |
Modifier and Type | Method and Description |
---|---|
Optional<DslElementSyntax> |
DslSyntaxResolver.resolve(MetadataType type)
Resolves the
DslElementSyntax for the standalone xml element for the given MetadataType |
Modifier and Type | Method and Description |
---|---|
MetadataType |
DeclarationOperation.getOutput() |
MetadataType |
DeclarationOperation.getOutputAttributes() |
Constructor and Description |
---|
DeclarationOperation(MetadataType output,
MetadataType outputAttributes)
Declaration Operation represents an operation of the
|
Modifier and Type | Method and Description |
---|---|
MetadataType |
NullMetadataResolver.getAttributesType(MetadataContext context,
Object key)
Null implementation of
AttributesTypeResolver , used when no implementation is provided by the connector
developer. |
MetadataType |
NullQueryMetadataResolver.getEntityMetadata(MetadataContext context,
String key) |
MetadataType |
NullMetadataResolver.getInputMetadata(MetadataContext context,
Object key)
Null implementation of
InputTypeResolver , used when no implementation is provided by the connector developer. |
MetadataType |
NullMetadataResolver.getOutputType(MetadataContext context,
Object key)
Null implementation of
OutputTypeResolver , used when no implementation is provided by the connector developer. |
MetadataType |
NullQueryMetadataResolver.getOutputType(MetadataContext context,
String key)
Null implementation of
OutputTypeResolver for Query operations, used when no implementation
is provided by the connector developer. |
Modifier and Type | Method and Description |
---|---|
MetadataType |
ImmutableOutputModel.getType() |
Constructor and Description |
---|
ImmutableOutputModel(String description,
MetadataType type,
boolean hasDynamicType,
Set<ModelProperty> modelProperties)
Creates a new instance with the given state
|
Modifier and Type | Method and Description |
---|---|
MetadataType |
ImmutableNotificationModel.getType()
Returns the
MetadataType of the data associated to the notification. |
Modifier and Type | Method and Description |
---|---|
NotificationModelBuilder |
NotificationModelBuilder.withType(MetadataType type) |
Constructor and Description |
---|
ImmutableNotificationModel(String namespace,
String identifier,
MetadataType metadataType)
Creates a new
NotificationModel . |
Modifier and Type | Method and Description |
---|---|
MetadataType |
ImmutableParameterModel.getType()
Returns the
MetadataType of the Typed component. |
Constructor and Description |
---|
ImmutableParameterModel(String name,
String description,
MetadataType type,
boolean hasDynamicType,
boolean required,
boolean isConfigOverride,
ExpressionSupport expressionSupport,
Object defaultValue,
ParameterRole role,
ParameterDslConfiguration dslConfiguration,
DisplayModel displayModel,
LayoutModel layoutModel,
ValueProviderModel valueProviderModel,
List<StereotypeModel> allowedStereotypeModels,
Set<ModelProperty> modelProperties)
Creates a new instance with the given state
|
Modifier and Type | Method and Description |
---|---|
MetadataType |
MetadataKeyIdModelProperty.getType() |
MetadataType |
DefaultImplementingTypeModelProperty.value() |
Constructor and Description |
---|
DefaultImplementingTypeModelProperty(MetadataType defaultType) |
MetadataKeyIdModelProperty(MetadataType type,
String parameterName)
Deprecated.
|
MetadataKeyIdModelProperty(MetadataType type,
String parameterName,
String categoryName) |
Modifier and Type | Method and Description |
---|---|
static MetadataType |
SoapOutputTypeBuilder.buildOutputType(MetadataType body,
MetadataType headers,
MetadataType attachments,
BaseTypeBuilder builder) |
Modifier and Type | Method and Description |
---|---|
static MetadataType |
SoapOutputTypeBuilder.buildOutputType(MetadataType body,
MetadataType headers,
MetadataType attachments,
BaseTypeBuilder builder) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ExtensionMetadataTypeUtils.acceptsReferences(MetadataType metadataType) |
static boolean |
ExtensionMetadataTypeUtils.allowsInlineDefinition(MetadataType type) |
static boolean |
ExtensionMetadataTypeUtils.allowsReferences(MetadataType type) |
static boolean |
ExtensionMetadataTypeUtils.allowsTopLevelDefinition(MetadataType type) |
static String |
ExtensionMetadataTypeUtils.getAlias(MetadataType metadataType) |
static String |
ExtensionMetadataTypeUtils.getAlias(MetadataType metadataType,
String defaultName) |
static String |
NameUtils.getAliasName(MetadataType metadataType)
This method will look for the
TypeAliasAnnotation of the MetadataType
to get the type simple name. |
static Optional<DslBaseType> |
ExtensionMetadataTypeUtils.getBaseType(MetadataType metadataType) |
static Optional<String> |
ExtensionModelUtils.getDefaultValue(String name,
MetadataType model)
Retrieves the default value of a field for a given
MetadataType |
static ExpressionSupport |
ExtensionMetadataTypeUtils.getExpressionSupport(MetadataType metadataType)
Checks the given
metadataType for the ExpressionSupportAnnotation . |
static Optional<String> |
ExtensionMetadataTypeUtils.getId(MetadataType metadataType) |
static Optional<LayoutModel> |
ExtensionMetadataTypeUtils.getLayoutModel(MetadataType metadataType) |
static Optional<SubstitutionGroup> |
ExtensionMetadataTypeUtils.getSubstitutionGroup(MetadataType metadataType) |
static String |
NameUtils.getTopLevelTypeName(MetadataType metadataType)
Returns a hypenized name of the give top level
metadataType . |
static <T> Optional<Class<T>> |
ExtensionMetadataTypeUtils.getType(MetadataType metadataType) |
static <T> Optional<Class<T>> |
ExtensionMetadataTypeUtils.getType(MetadataType metadataType,
ClassLoader classloader) |
static boolean |
ExtensionMetadataTypeUtils.isBasic(MetadataType metadataType) |
static boolean |
ExtensionMetadataTypeUtils.isFinal(MetadataType metadataType) |
static boolean |
ExtensionMetadataTypeUtils.isFlattenedParameterGroup(MetadataType type) |
static boolean |
ExtensionMetadataTypeUtils.isInfrastructure(MetadataType type)
Returns true if the type is an infrastructure type, false otherwise.
|
static boolean |
ExtensionMetadataTypeUtils.isJavaCollection(MetadataType metadataType)
Returns a
Boolean indicating whether the given MetadataType is a Java Collection or not. |
static boolean |
ExtensionMetadataTypeUtils.isMap(MetadataType metadataType) |
static boolean |
ExtensionMetadataTypeUtils.isTypedValue(MetadataType metadataType) |
static boolean |
XmlModelUtils.supportsTopLevelDeclaration(MetadataType metadataType) |
Modifier and Type | Method and Description |
---|---|
MetadataType |
Type.asMetadataType() |
default MetadataType |
MethodElement.getAttributesMetadataType() |
default MetadataType |
SourceElement.getAttributesMetadataType() |
default MetadataType |
MethodElement.getReturnMetadataType() |
default MetadataType |
SourceElement.getReturnMetadataType() |
Modifier and Type | Method and Description |
---|---|
MetadataType |
SoapOperationMetadata.getAttachmentsType() |
MetadataType |
SoapOperationMetadata.getBodyType() |
MetadataType |
SoapOperationMetadata.getHeadersType() |
Copyright © 2018. All rights reserved.