public class ParameterDeclaration extends AbstractParameterDeclaration<ParameterDeclaration> implements TypedDeclaration
ParameterModel. It contains raw,
unvalidated data which is used to declare the structure of a ParameterModel.
By default, getExpressionSupport() ()} returns ExpressionSupport.SUPPORTED.
layoutModel| Constructor and Description |
|---|
ParameterDeclaration(String name) |
getLayoutModel, setLayoutModelgetNameaddModelProperty, getDescription, getDisplayModel, getModelProperties, getModelProperty, setDescription, setDisplayModelpublic 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()
getType in interface TypedDeclarationMetadataType of the elementpublic void setType(org.mule.metadata.api.model.MetadataType type,
boolean isDynamic)
MetadataType to the element being declaredsetType in interface TypedDeclarationtype - the element's static MetadataTypeisDynamic - whether or not the element being declare supports a dynamic resolution
of it's type, regardless of the type statically associatedpublic boolean hasDynamicType()
hasDynamicType in interface TypedDeclarationpublic ParameterDslConfiguration getDslConfiguration()
public void setDslConfiguration(ParameterDslConfiguration dslConfiguration)
public ParameterRole getRole()
public void setParameterRole(ParameterRole parameterRole)
public boolean isConfigOverride()
public void setConfigOverride(boolean isConfigOverride)
public ValueProviderModel getValueProviderModel()
public void setValueProviderModel(ValueProviderModel valueProviderModel)
public void setAllowedStereotypeModels(List<StereotypeModel> allowedStereotypeModels)
public List<StereotypeModel> getAllowedStereotypeModels()
Copyright © 2017 MuleSoft, Inc.. All rights reserved.