Modifier and Type | Class and Description |
---|---|
class |
AccessibilityAnnotation
Specify if a field is read only or write only.
|
class |
DefaultValueAnnotation
A default value for the annotated type
|
class |
DescriptionAnnotation
Adds a description to the annotated type.
|
class |
EnumAnnotation<T>
Defines the list of valid values for a given type.
|
class |
EnumLabelsAnnotation
Defines the list of labels for an enum.
|
class |
ExampleAnnotation
Represents an string example of the annotated type.
|
class |
FieldOccurrenceAnnotation
Constrain for minimum and maximum repetitions of a field.
|
class |
IntAnnotation
Applies a restriction to the annotated number type that its value should be an Integer.
|
class |
LabelAnnotation
Adds a label to the annotated type.
|
class |
LengthAnnotation
Applies a length range constrain of the annotated type.
|
class |
MarkerAnnotation
Abstract specialization of
TypeAnnotation for annotations
which are stateless and their only purpose is to just serve as markers. |
class |
NumberRangeAnnotation
Constrain for number specifying the range where this number is valid.
|
class |
RegexPatternAnnotation
Pattern constrain for string types.
|
class |
TypeAliasAnnotation
Used to specify a type alias for this type.
|
class |
TypeIdAnnotation
Used to specify the identifier in the underlying type system.
|
class |
UniquesItemsAnnotation
Constrain for Array types specifying that the array can only have unique
items.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Class<? extends TypeAnnotation>,TypeAnnotation> |
AbstractBuilder.annotations |
protected Map<Class<? extends TypeAnnotation>,TypeAnnotation> |
AbstractBuilder.annotations |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractBuilder.addExtension(TypeAnnotation extension) |
AnyTypeBuilder |
AnyTypeBuilder.with(TypeAnnotation extension) |
ArrayTypeBuilder |
ArrayTypeBuilder.with(TypeAnnotation extension) |
BinaryTypeBuilder |
BinaryTypeBuilder.with(TypeAnnotation extension) |
BooleanTypeBuilder |
BooleanTypeBuilder.with(TypeAnnotation extension) |
DateTimeBuilder |
DateTimeBuilder.with(TypeAnnotation extension) |
DateTypeBuilder |
DateTypeBuilder.with(TypeAnnotation extension) |
FunctionTypeBuilder |
FunctionTypeBuilder.with(TypeAnnotation extension) |
IntersectionTypeBuilder |
IntersectionTypeBuilder.with(TypeAnnotation extension) |
LocalDateTimeTypeBuilder |
LocalDateTimeTypeBuilder.with(TypeAnnotation extension) |
LocalTimeTypeBuilder |
LocalTimeTypeBuilder.with(TypeAnnotation extension) |
NothingTypeBuilder |
NothingTypeBuilder.with(TypeAnnotation extension) |
NumberTypeBuilder |
NumberTypeBuilder.with(TypeAnnotation extension) |
ObjectFieldTypeBuilder |
ObjectFieldTypeBuilder.with(TypeAnnotation extension) |
ObjectTypeBuilder |
ObjectTypeBuilder.with(TypeAnnotation extension) |
PeriodTypeBuilder |
PeriodTypeBuilder.with(TypeAnnotation extension) |
RegexTypeBuilder |
RegexTypeBuilder.with(TypeAnnotation extension) |
StringTypeBuilder |
StringTypeBuilder.with(TypeAnnotation extension) |
TimeTypeBuilder |
TimeTypeBuilder.with(TypeAnnotation extension) |
TimeZoneTypeBuilder |
TimeZoneTypeBuilder.with(TypeAnnotation extension) |
TupleTypeBuilder |
TupleTypeBuilder.with(TypeAnnotation extension) |
TypeParameterTypeBuilder |
TypeParameterTypeBuilder.with(TypeAnnotation extension) |
UnionTypeBuilder |
UnionTypeBuilder.with(TypeAnnotation extension) |
T |
WithAnnotation.with(TypeAnnotation typeAnnotation)
Contributes a builder with
TypeAnnotation s |
ObjectFieldTypeBuilder |
ObjectFieldTypeBuilder.withKeyAnnotation(TypeAnnotation extension) |
Modifier and Type | Method and Description |
---|---|
<T extends TypeAnnotation> |
MetadataType.getAnnotation(Class<T> annotation)
Returns an
Optional with the annotation of a given type. |
Modifier and Type | Method and Description |
---|---|
Set<TypeAnnotation> |
MetadataType.getAnnotations()
Returns all the annotations of the type.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Class<? extends TypeAnnotation>,TypeAnnotation> |
BaseMetadataType.annotations |
protected Map<Class<? extends TypeAnnotation>,TypeAnnotation> |
BaseMetadataType.annotations |
Modifier and Type | Method and Description |
---|---|
<T extends TypeAnnotation> |
BaseMetadataType.getAnnotation(Class<T> extension) |
Modifier and Type | Method and Description |
---|---|
Set<TypeAnnotation> |
BaseMetadataType.getAnnotations() |
Modifier and Type | Class and Description |
---|---|
class |
ClassInformationAnnotation |
Modifier and Type | Method and Description |
---|---|
List<TypeAnnotation> |
ParsingContext.getAnnotations() |
Modifier and Type | Method and Description |
---|---|
ParsingContext |
ParsingContext.withAnnotation(TypeAnnotation annotation) |
Modifier and Type | Class and Description |
---|---|
class |
LocationAnnotation
Adds a location to the annotated type.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Class<? extends TypeAnnotation>,TypeAnnotation> |
MessageMetadataTypeBuilder.attributesAnnotations |
protected Map<Class<? extends TypeAnnotation>,TypeAnnotation> |
MessageMetadataTypeBuilder.attributesAnnotations |
protected Map<Class<? extends TypeAnnotation>,TypeAnnotation> |
MessageMetadataTypeBuilder.payloadAnnotations |
protected Map<Class<? extends TypeAnnotation>,TypeAnnotation> |
MessageMetadataTypeBuilder.payloadAnnotations |
Modifier and Type | Method and Description |
---|---|
<T extends TypeAnnotation> |
MessageMetadataType.getAttributesAnnotation(Class<T> annotation)
The attributes annotations of provided annotation class
|
<T extends TypeAnnotation> |
MessageMetadataType.getPayloadAnnotation(Class<T> annotation)
The payload annotations of provided annotation class
|
Modifier and Type | Method and Description |
---|---|
Optional<Set<TypeAnnotation>> |
MessageMetadataType.getAttributesAnnotations()
The attributes annotations
|
Optional<Set<TypeAnnotation>> |
MessageMetadataType.getPayloadAnnotations()
The payload annotations
|
Modifier and Type | Method and Description |
---|---|
MessageMetadataTypeBuilder |
MessageMetadataTypeBuilder.with(TypeAnnotation typeAnnotation) |
MuleEventMetadataTypeBuilder |
MuleEventMetadataTypeBuilder.with(TypeAnnotation extension) |
MessageMetadataTypeBuilder |
MessageMetadataTypeBuilder.withAttributesAnnotation(TypeAnnotation extension) |
MessageMetadataTypeBuilder |
MessageMetadataTypeBuilder.withPayloadAnnotation(TypeAnnotation extension) |
Modifier and Type | Method and Description |
---|---|
Optional<Class<? extends TypeAnnotation>> |
TypeAnnotationSerializerExtenderFallback.fallbackFor(String annotationName)
This method will allow to override
MetadataType serialization to resolve the Class for a TypeAnnotation
by name in case if it was not already mapped in by TypeAnnotationSerializerExtender . |
default Map<String,Class<? extends TypeAnnotation>> |
TypeAnnotationSerializerExtender.getNameClassMapping()
The purpose of this registry is to provide a mapping between a "friendly name" (
getName() ) and
the correspondent concrete class (TypeAnnotation#getClass() ), this allows to the serialization to write a more
compact and easy to read name, instead of using the full qualifier name of the concrete class. |
Modifier and Type | Class and Description |
---|---|
class |
ConfigOverrideTypeAnnotation
Marker annotation for a field that is a
ConfigOverride . |
class |
DefaultImplementingTypeAnnotation
Declares the default
Type that will be instantiated for this ObjectFieldType
if no instance is provided as a value. |
class |
DisplayTypeAnnotation
A
TypeAnnotation that contains information about the name and summary that should be rendered in the UI for a
particular model. |
class |
ExclusiveOptionalsTypeAnnotation
* A
TypeAnnotation used to enrich an ObjectType by specifying
that the contained parameters have an exclusive relation as it is specified in ExclusiveOptionals |
class |
ExpressionSupportAnnotation
A
TypeAnnotation used to enrich a MetadataType by specifying
a certain level of ExpressionSupport it supports. |
class |
ExtensibleTypeAnnotation
Marks that the annotated type is of
Extensible kind,
declaring that a given type can be extended by others in the context
of the ExtensionModel . |
class |
FlattenedTypeAnnotation
A marker
TypeAnnotation meant to be applied on
ObjectFieldType instances which ObjectFieldType.getValue()
points to an ObjectType . |
class |
InfrastructureTypeAnnotation
A
TypeAnnotation used as a marker for ObjectType instances, signaling that such type is an Infrastructure Type. |
class |
LayoutTypeAnnotation
A
TypeAnnotation meant to be applied on ObjectFieldType instances and it contains information on how the field
should be rendered in the UI. |
class |
LiteralTypeAnnotation
TypeAnnotation indicating that the real type of the of the annotated type is a Literal |
class |
NullSafeTypeAnnotation
A
TypeAnnotation meant to be applied on ObjectFieldType instances. |
class |
ParameterDslAnnotation
Contains directives regarding syntax and semantics of the generated XML DSL
|
class |
ParameterResolverTypeAnnotation
TypeAnnotation indicating that the real type of the of the annotated type is a ParameterResolver |
class |
QNameTypeAnnotation
A
TypeAnnotation which indicates that the enriched type
relates to a QName which is not the one the extension belongs to. |
class |
StereotypeTypeAnnotation
A public
TypeAnnotation intended to be used on ObjectFieldType types in order to
communicate an associated StereotypeModel |
class |
TypeDslAnnotation
TypeAnnotation storing information defined by TypsDsl annotations |
class |
TypedValueTypeAnnotation
TypeAnnotation indicating that the real type of the of the annotated type is a TypedValue |
Copyright © 2018. All rights reserved.