public class StereotypeTypeAnnotation extends Object implements org.mule.metadata.api.annotation.TypeAnnotation
TypeAnnotation intended to be used on ObjectFieldType types in order to
communicate an associated StereotypeModel| Constructor and Description |
|---|
StereotypeTypeAnnotation(Class<? extends StereotypeDefinition> definitionClass)
Creates a new instance which only holds a reference to the type class.
|
StereotypeTypeAnnotation(org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotypeModel)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
org.mule.runtime.api.meta.model.stereotype.StereotypeModel |
getStereotypeModel() |
boolean |
isPublic() |
void |
resolveStereotype(Function<Class<? extends StereotypeDefinition>,org.mule.runtime.api.meta.model.stereotype.StereotypeModel> resolver) |
public static final String NAME
public StereotypeTypeAnnotation(Class<? extends StereotypeDefinition> definitionClass)
StereotypeModel through an invokation to thedefinitionClass - public StereotypeTypeAnnotation(org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotypeModel)
stereotypeModel - the reference to be communicatedpublic org.mule.runtime.api.meta.model.stereotype.StereotypeModel getStereotypeModel()
StereotypeModelpublic void resolveStereotype(Function<Class<? extends StereotypeDefinition>,org.mule.runtime.api.meta.model.stereotype.StereotypeModel> resolver)
public String getName()
getName in interface org.mule.metadata.api.annotation.TypeAnnotationNAMEpublic boolean isPublic()
isPublic in interface org.mule.metadata.api.annotation.TypeAnnotationtrueCopyright © 2017 MuleSoft, Inc.. All rights reserved.