org.mule.devkit.generation.studio.editor
Class ParameterAdapter

java.lang.Object
  extended by org.mule.devkit.generation.studio.editor.ParameterAdapter
All Implemented Interfaces:
org.mule.devkit.model.Accessible, org.mule.devkit.model.Annotable, org.mule.devkit.model.Documentable, org.mule.devkit.model.Generifiable, org.mule.devkit.model.Identifiable, org.mule.devkit.model.Parameter, org.mule.devkit.model.Parentable, org.mule.devkit.model.Variable

public class ParameterAdapter
extends Object
implements org.mule.devkit.model.Parameter

Adapts a OAuthAuthorizationParameter object to Parameter ada


Constructor Summary
ParameterAdapter(org.mule.devkit.model.module.oauth.OAuthAuthorizationParameter oAuthAuthorizationParameter)
           
 
Method Summary
 void accept(org.mule.devkit.model.visitor.ModelVisitor visitor)
           
 org.mule.devkit.model.Type asType()
           
 TypeMirror asTypeMirror()
           
 String getAlternativeName()
           
<A extends Annotation>
A
getAnnotation(Class<A> aClass)
           
 List<? extends AnnotationMirror> getAnnotationMirrors()
           
 String getDefaultValue()
           
 String getEmailDomain()
           
 org.mule.devkit.model.GenericType getGenericType()
           
 String getJavaDocParameterSummary(String paramName)
           
 String getJavaDocSummary()
           
 String getJavaDocTagContent(String tagName)
           
 String getJavaType()
           
 int getMaxSizeLimit()
           
 int getMinSizeLimit()
           
 String getName()
           
 String getPattern()
           
 String getThrowsComment(String exceptionClassName)
           
 List<org.mule.devkit.model.Type> getTypeArguments()
           
 List<org.mule.devkit.model.Type> getXmlDeclaredChilds()
           
 boolean hasDefaultEmailDomain()
           
 boolean hasDefaultValue()
           
 boolean hasEmailPattern()
           
 boolean hasJavaDocTag(String tagName)
           
 boolean hasPattern()
           
 boolean hasSizeLimit()
           
 boolean hasTypeArguments()
           
 boolean isAbstract()
           
 boolean isFinal()
           
 boolean isMetaDataKey()
           
 boolean isOptional()
           
 boolean isPrivate()
           
 boolean isProtected()
           
 boolean isPublic()
           
 boolean isRefOnly()
           
 boolean isReservedIdentifier()
           
 boolean isStatic()
           
 boolean isText()
           
 org.mule.devkit.model.Identifiable parent()
           
 boolean shouldBeIgnored()
           
 Element unwrap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterAdapter

public ParameterAdapter(org.mule.devkit.model.module.oauth.OAuthAuthorizationParameter oAuthAuthorizationParameter)
Method Detail

shouldBeIgnored

public boolean shouldBeIgnored()
Specified by:
shouldBeIgnored in interface org.mule.devkit.model.Parameter

getGenericType

public org.mule.devkit.model.GenericType getGenericType()
Specified by:
getGenericType in interface org.mule.devkit.model.Parameter

getJavaType

public String getJavaType()
Specified by:
getJavaType in interface org.mule.devkit.model.Variable

isOptional

public boolean isOptional()
Specified by:
isOptional in interface org.mule.devkit.model.Variable

hasSizeLimit

public boolean hasSizeLimit()
Specified by:
hasSizeLimit in interface org.mule.devkit.model.Variable

hasPattern

public boolean hasPattern()
Specified by:
hasPattern in interface org.mule.devkit.model.Variable

getPattern

public String getPattern()
Specified by:
getPattern in interface org.mule.devkit.model.Variable

getMinSizeLimit

public int getMinSizeLimit()
Specified by:
getMinSizeLimit in interface org.mule.devkit.model.Variable

getMaxSizeLimit

public int getMaxSizeLimit()
Specified by:
getMaxSizeLimit in interface org.mule.devkit.model.Variable

hasDefaultValue

public boolean hasDefaultValue()
Specified by:
hasDefaultValue in interface org.mule.devkit.model.Variable

getDefaultValue

public String getDefaultValue()
Specified by:
getDefaultValue in interface org.mule.devkit.model.Variable

isText

public boolean isText()
Specified by:
isText in interface org.mule.devkit.model.Variable

unwrap

public Element unwrap()
Specified by:
unwrap in interface org.mule.devkit.model.Identifiable

asTypeMirror

public TypeMirror asTypeMirror()
Specified by:
asTypeMirror in interface org.mule.devkit.model.Identifiable

asType

public org.mule.devkit.model.Type asType()
Specified by:
asType in interface org.mule.devkit.model.Identifiable

getName

public String getName()
Specified by:
getName in interface org.mule.devkit.model.Identifiable

isReservedIdentifier

public boolean isReservedIdentifier()
Specified by:
isReservedIdentifier in interface org.mule.devkit.model.Identifiable

isPublic

public boolean isPublic()
Specified by:
isPublic in interface org.mule.devkit.model.Accessible

isPrivate

public boolean isPrivate()
Specified by:
isPrivate in interface org.mule.devkit.model.Accessible

isProtected

public boolean isProtected()
Specified by:
isProtected in interface org.mule.devkit.model.Accessible

isAbstract

public boolean isAbstract()
Specified by:
isAbstract in interface org.mule.devkit.model.Accessible

isFinal

public boolean isFinal()
Specified by:
isFinal in interface org.mule.devkit.model.Accessible

isStatic

public boolean isStatic()
Specified by:
isStatic in interface org.mule.devkit.model.Accessible

getAnnotationMirrors

public List<? extends AnnotationMirror> getAnnotationMirrors()
Specified by:
getAnnotationMirrors in interface org.mule.devkit.model.Annotable

getAnnotation

public <A extends Annotation> A getAnnotation(Class<A> aClass)
Specified by:
getAnnotation in interface org.mule.devkit.model.Annotable

hasJavaDocTag

public boolean hasJavaDocTag(String tagName)
Specified by:
hasJavaDocTag in interface org.mule.devkit.model.Documentable

getJavaDocSummary

public String getJavaDocSummary()
Specified by:
getJavaDocSummary in interface org.mule.devkit.model.Documentable

getJavaDocTagContent

public String getJavaDocTagContent(String tagName)
Specified by:
getJavaDocTagContent in interface org.mule.devkit.model.Documentable

getJavaDocParameterSummary

public String getJavaDocParameterSummary(String paramName)
Specified by:
getJavaDocParameterSummary in interface org.mule.devkit.model.Documentable

getThrowsComment

public String getThrowsComment(String exceptionClassName)
Specified by:
getThrowsComment in interface org.mule.devkit.model.Documentable

getTypeArguments

public List<org.mule.devkit.model.Type> getTypeArguments()
Specified by:
getTypeArguments in interface org.mule.devkit.model.Generifiable

getXmlDeclaredChilds

public List<org.mule.devkit.model.Type> getXmlDeclaredChilds()
Specified by:
getXmlDeclaredChilds in interface org.mule.devkit.model.Generifiable

hasTypeArguments

public boolean hasTypeArguments()
Specified by:
hasTypeArguments in interface org.mule.devkit.model.Generifiable

parent

public org.mule.devkit.model.Identifiable parent()
Specified by:
parent in interface org.mule.devkit.model.Parentable

accept

public void accept(org.mule.devkit.model.visitor.ModelVisitor visitor)
Specified by:
accept in interface org.mule.devkit.model.Identifiable

getAlternativeName

public String getAlternativeName()
Specified by:
getAlternativeName in interface org.mule.devkit.model.Variable

isRefOnly

public boolean isRefOnly()
Specified by:
isRefOnly in interface org.mule.devkit.model.Variable

hasEmailPattern

public boolean hasEmailPattern()
Specified by:
hasEmailPattern in interface org.mule.devkit.model.Variable

getEmailDomain

public String getEmailDomain()
Specified by:
getEmailDomain in interface org.mule.devkit.model.Variable

hasDefaultEmailDomain

public boolean hasDefaultEmailDomain()
Specified by:
hasDefaultEmailDomain in interface org.mule.devkit.model.Variable

isMetaDataKey

public boolean isMetaDataKey()
Specified by:
isMetaDataKey in interface org.mule.devkit.model.Variable


Copyright © 2010–2013 MuleSoft, Inc.. All rights reserved.