public class ParameterRoleAnnotation extends Object implements org.mule.metadata.api.annotation.TypeAnnotation
MetadataType with a ParameterRole.
Examples uses of this is an ObjectType which contains an ObjectFieldType
which has a non default ParameterRole| Constructor and Description |
|---|
ParameterRoleAnnotation(org.mule.runtime.api.meta.model.parameter.ParameterRole role)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName() |
org.mule.runtime.api.meta.model.parameter.ParameterRole |
getRole() |
int |
hashCode() |
public static final String NAME
public ParameterRoleAnnotation(org.mule.runtime.api.meta.model.parameter.ParameterRole role)
role - the assigned ParameterRolepublic String getName()
getName in interface org.mule.metadata.api.annotation.TypeAnnotationpublic org.mule.runtime.api.meta.model.parameter.ParameterRole getRole()
ParameterRoleCopyright © 2017 MuleSoft, Inc.. All rights reserved.