public class FieldWrapper extends Object implements FieldElement
| Modifier and Type | Field and Description |
|---|---|
static String |
EMPTY |
IMPLICIT_ARGUMENT_TYPES| Constructor and Description |
|---|
FieldWrapper(Field field) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAlias() |
<A extends Annotation> |
getAnnotation(Class<A> annotationClass)
Retrieves an annotation of the
WithAnnotations component |
Annotation[] |
getAnnotations() |
default String |
getDescription() |
Field |
getField() |
org.mule.metadata.api.model.MetadataType |
getMetadataType(org.mule.metadata.api.ClassTypeLoader typeLoader) |
String |
getName()
Returns the component's name
|
String |
getOwnerDescription() |
TypeWrapper |
getType() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetDeclaringElementdefaultValue, isRequired, shouldBeAdvertisedisAnnotatedWithpublic static final String EMPTY
public FieldWrapper(Field field)
public Field getField()
getField in interface FieldElementFieldpublic String getName()
getName in interface org.mule.runtime.api.meta.NamedObjectStringpublic Annotation[] getAnnotations()
getAnnotations in interface WithAnnotationsWithAnnotations component is annotated withpublic <A extends Annotation> Optional<A> getAnnotation(Class<A> annotationClass)
WithAnnotations componentgetAnnotation in interface WithAnnotationsA - The annotation typeannotationClass - Of the annotation to retrieveOptional annotation to retrievepublic TypeWrapper getType()
TypeWrapper of the represented componentpublic org.mule.metadata.api.model.MetadataType getMetadataType(org.mule.metadata.api.ClassTypeLoader typeLoader)
typeLoader - ClassTypeLoader that will load the Class and represent it as a MetadataTypeMetadataType representation of the component typepublic String getAlias()
public String getOwnerDescription()
public String getDescription()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.