Package org.mule.metadata.api.model
Class FunctionParameter
- java.lang.Object
-
- org.mule.metadata.api.model.FunctionParameter
-
public class FunctionParameter extends Object
Represents a function parameter with a name and a Type
-
-
Constructor Summary
Constructors Constructor Description FunctionParameter(String name, MetadataType type)FunctionParameter(String name, MetadataType type, boolean optional)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()Returns the name of the parameterMetadataTypegetType()Returns the type of the parameterinthashCode()booleanisOptional()Returns optionality of the parameter
-
-
-
Constructor Detail
-
FunctionParameter
public FunctionParameter(String name, MetadataType type)
-
FunctionParameter
public FunctionParameter(String name, MetadataType type, boolean optional)
-
-
Method Detail
-
getName
public String getName()
Returns the name of the parameter- Returns:
- The name
-
getType
public MetadataType getType()
Returns the type of the parameter- Returns:
- The type of the parameter
-
isOptional
public boolean isOptional()
Returns optionality of the parameter- Returns:
- Optionality of the parameter
-
-