public class AbstractParam extends Object implements Cloneable
AbstractParam class.
| Constructor and Description |
|---|
AbstractParam()
Constructor for AbstractParam.
|
AbstractParam(String displayName,
ParamType type,
boolean required)
Constructor for AbstractParam.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue()
Getter for the field
defaultValue. |
String |
getDescription()
Getter for the field
description. |
String |
getDisplayName()
Getter for the field
displayName. |
List<String> |
getEnumeration()
Getter for the field
enumeration. |
String |
getExample()
Getter for the field
example. |
BigDecimal |
getMaximum()
Getter for the field
maximum. |
Integer |
getMaxLength()
Getter for the field
maxLength. |
BigDecimal |
getMinimum()
Getter for the field
minimum. |
Integer |
getMinLength()
Getter for the field
minLength. |
String |
getPattern()
Getter for the field
pattern. |
ParamType |
getType()
Getter for the field
type. |
boolean |
isRepeat()
isRepeat.
|
boolean |
isRequired()
isRequired.
|
void |
setDefaultValue(String defaultValue)
Setter for the field
defaultValue. |
void |
setDescription(String description)
Setter for the field
description. |
void |
setDisplayName(String displayName)
Setter for the field
displayName. |
void |
setEnumeration(List<String> enumeration)
Setter for the field
enumeration. |
void |
setExample(String example)
Setter for the field
example. |
void |
setMaximum(BigDecimal maximum)
Setter for the field
maximum. |
void |
setMaxLength(Integer maxLength)
Setter for the field
maxLength. |
void |
setMinimum(BigDecimal minimum)
Setter for the field
minimum. |
void |
setMinLength(Integer minLength)
Setter for the field
minLength. |
void |
setPattern(String pattern)
Setter for the field
pattern. |
void |
setRepeat(boolean repeat)
Setter for the field
repeat. |
void |
setRequired(boolean required)
Setter for the field
required. |
void |
setType(ParamType type)
Setter for the field
type. |
boolean |
validate(String value)
validate.
|
public void setDisplayName(String displayName)
Setter for the field displayName.
displayName - a String object.public void setDescription(String description)
Setter for the field description.
description - a String object.public void setType(ParamType type)
Setter for the field type.
type - a ParamType object.public void setRequired(boolean required)
Setter for the field required.
required - a boolean.public String getDisplayName()
Getter for the field displayName.
String object.public String getDescription()
Getter for the field description.
String object.public boolean isRequired()
isRequired.
public boolean isRepeat()
isRepeat.
public void setRepeat(boolean repeat)
Setter for the field repeat.
repeat - a boolean.public String getDefaultValue()
Getter for the field defaultValue.
String object.public List<String> getEnumeration()
Getter for the field enumeration.
List object.public void setEnumeration(List<String> enumeration)
Setter for the field enumeration.
enumeration - a List object.public void setPattern(String pattern)
Setter for the field pattern.
pattern - a String object.public Integer getMinLength()
Getter for the field minLength.
Integer object.public void setMinLength(Integer minLength)
Setter for the field minLength.
minLength - a Integer object.public Integer getMaxLength()
Getter for the field maxLength.
Integer object.public void setMaxLength(Integer maxLength)
Setter for the field maxLength.
maxLength - a Integer object.public BigDecimal getMinimum()
Getter for the field minimum.
BigDecimal object.public void setMinimum(BigDecimal minimum)
Setter for the field minimum.
minimum - a BigDecimal object.public BigDecimal getMaximum()
Getter for the field maximum.
BigDecimal object.public void setMaximum(BigDecimal maximum)
Setter for the field maximum.
maximum - a BigDecimal object.public void setDefaultValue(String defaultValue)
Setter for the field defaultValue.
defaultValue - a String object.public void setExample(String example)
Setter for the field example.
example - a String object.Copyright © 2015 Mulesoft. All rights reserved.