@Entity public class InputParameterDescription extends Ind2uceEntity
MethodInterfaceDescription at the time
of registration at PMP.GSON_DEFAULT, GSON_PLAIN, GSON_PRETTY, version| Constructor and Description |
|---|
InputParameterDescription(String name,
String description,
Class<?> type)
Instantiates a new input parameter description.
|
InputParameterDescription(String name,
String description,
String pattern,
boolean mandatory,
Class<?> type)
Instantiates a new input parameter description.
|
InputParameterDescription(String name,
String description,
String pattern,
boolean mandatory,
Type type)
Instantiates a new input parameter description.
|
InputParameterDescription(String name,
String description,
String pattern,
boolean mandatory,
Type type,
JsonType jsonType,
List<TypeDescription> parameterTypeDescription)
Instantiates a new input parameter description.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Gets the a description about what the parameter is used for.
|
Long |
getId()
Gets the id.
|
JsonType |
getJsonType() |
String |
getName()
Gets the name.
|
List<TypeDescription> |
getParameterTypeDescription()
Gets the parameter type description.
|
String |
getPattern()
Gets the a regular expression, the parameter has to adhere to.
|
Class<?> |
getType()
Gets the parameter type.
|
String |
getTypeDescription()
Gets the type description.
|
String |
getTypeName()
Gets the type name.
|
int |
hashCode() |
boolean |
isMandatory()
Checks if is a flag, indicating whether the parameter is mandatory or not.
|
void |
setDescription(String description)
Sets the a description about what the parameter is used for.
|
void |
setId(Long id)
Sets the id.
|
void |
setJsonType(JsonType jsonType) |
void |
setMandatory(boolean mandatory)
Sets the a flag, indicating whether the parameter is mandatory or not.
|
void |
setName(String name)
Sets the name.
|
void |
setParameterTypeDescription(List<TypeDescription> parameterTypeDescription)
Sets the parameter type description.
|
void |
setPattern(String pattern)
Sets the a regular expression, the parameter has to adhere to.
|
void |
setType(Class<?> type)
Sets the parameter type.
|
void |
setTypeDescription(String typeDescription)
Sets the type description.
|
fromJson, getGson, getVersion, toJson, toStringpublic InputParameterDescription(String name, String description, Class<?> type)
name - the name of the parameterdescription - the description of the parametertype - the type of the parameterpublic InputParameterDescription(String name, String description, String pattern, boolean mandatory, Class<?> type)
name - the name of the parameterdescription - the description of the parameterpattern - the pattern the parameter value has to adhere tomandatory - indication a parameter that is mandatorytype - the type of the parameterpublic InputParameterDescription(String name, String description, String pattern, boolean mandatory, Type type)
name - the namedescription - the descriptionpattern - the patternmandatory - the mandatorytype - the typepublic InputParameterDescription(String name, String description, String pattern, boolean mandatory, Type type, JsonType jsonType, List<TypeDescription> parameterTypeDescription)
name - the namedescription - the descriptionpattern - the patternmandatory - the mandatorytype - the typejsonType - the json typeparameterTypeDescription - the parameter type descriptionpublic String getDescription()
public Long getId()
public JsonType getJsonType()
public String getName()
public List<TypeDescription> getParameterTypeDescription()
public String getPattern()
public Class<?> getType()
public String getTypeDescription()
public String getTypeName()
public boolean isMandatory()
public void setDescription(String description)
description - the new a description about what the parameter is used
forpublic void setId(Long id)
id - the new idpublic void setJsonType(JsonType jsonType)
jsonType - the jsonType to setpublic void setMandatory(boolean mandatory)
mandatory - the new a flag, indicating whether the parameter is
mandatory or notpublic void setName(String name)
name - the new namepublic void setParameterTypeDescription(List<TypeDescription> parameterTypeDescription)
parameterTypeDescription - the new parameter type descriptionpublic void setPattern(String pattern)
pattern - the new a regular expression, the parameter has to adhere topublic void setType(Class<?> type)
type - the new parameter typepublic void setTypeDescription(String typeDescription)
typeDescription - the new type descriptionCopyright © 2018. All rights reserved.