public class ParameterDeclaration extends NamedDeclaration<ParameterDeclaration>
ParameterModel. It contains raw,
unvalidated data which is used to declare the structure of a ParameterModel.
By default, getExpressionSupport() ()} returns ExpressionSupport.SUPPORTED.
| Constructor and Description |
|---|
ParameterDeclaration(String name) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue() |
ExpressionSupport |
getExpressionSupport() |
org.mule.metadata.api.model.MetadataType |
getType() |
boolean |
hasDynamicType() |
boolean |
isRequired() |
void |
setDefaultValue(Object defaultValue) |
void |
setExpressionSupport(ExpressionSupport expressionSupport) |
void |
setRequired(boolean required) |
void |
setType(org.mule.metadata.api.model.MetadataType type,
boolean isDynamic) |
getNameaddModelProperty, getDescription, getModelProperties, getModelProperty, setDescriptionpublic ParameterDeclaration(String name)
public boolean isRequired()
public void setRequired(boolean required)
public ExpressionSupport getExpressionSupport()
public void setExpressionSupport(ExpressionSupport expressionSupport)
public Object getDefaultValue()
public void setDefaultValue(Object defaultValue)
public org.mule.metadata.api.model.MetadataType getType()
public void setType(org.mule.metadata.api.model.MetadataType type,
boolean isDynamic)
public boolean hasDynamicType()
Copyright © 2016 MuleSoft, Inc.. All rights reserved.