public interface Variable<P extends Identifiable> extends Identifiable<VariableElement>, Parentable<P>
Modifier and Type | Method and Description |
---|---|
String |
getAlternativeName()
Alternative name of the attribute to be generated
|
String |
getDefaultValue()
Returns the given element's default value
|
String |
getEmailDomain()
Returns the email domain if one configured otherwise empty domain
|
String |
getJavaType()
Returns the fully qualified name of the underlying variable.
|
int |
getMaxSizeLimit()
Returns the max size limit value
|
int |
getMinSizeLimit()
Returns the min size limit value
|
String |
getPattern()
Returns the pattern
|
boolean |
hasDefaultEmailDomain()
Whether the email has an default domain or not
|
boolean |
hasDefaultValue()
Whether the given element is has a default value
|
boolean |
hasEmailPattern()
Whether the given element is has a default value
|
boolean |
hasPattern()
Whether the given element has pattern
|
boolean |
hasSizeLimit()
Whether the given element has a size limit
|
boolean |
isMetaDataKey()
If the variable is annotated with
MetaDataKeyParam |
boolean |
isMetaDataStaticKey()
If the variable is annotated with
MetaDataStaticKey |
boolean |
isOptional()
Whether the given element is marked as optional
|
boolean |
isPayload()
Whether the given element is marked with
Payload |
boolean |
isQuery()
If the variable is annotated with
Query |
boolean |
isRefOnly()
The variable can be passed by reference only.
|
boolean |
isText()
Returns true if the variable is annotated with
Text |
accept, asType, asTypeMirror, getName, isReservedIdentifier, unwrap
getAnnotation, getAnnotationMirrors, hasAnnotation
getJavaDocParameterSummary, getJavaDocSummary, getJavaDocTagContent, getThrowsComment, hasJavaDocTag
isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic
getTypeArguments, getXmlDeclaredChilds, hasTypeArguments
parent
String getJavaType()
boolean isOptional()
boolean isPayload()
Payload
boolean hasSizeLimit()
boolean hasPattern()
String getPattern()
int getMinSizeLimit()
int getMaxSizeLimit()
boolean hasDefaultValue()
String getDefaultValue()
boolean isText()
Text
String getAlternativeName()
boolean isRefOnly()
boolean hasEmailPattern()
String getEmailDomain()
boolean hasDefaultEmailDomain()
boolean isMetaDataKey()
MetaDataKeyParam
boolean isMetaDataStaticKey()
MetaDataStaticKey
boolean isQuery()
Query
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.