public class Parameter extends Object
Constructor and Description |
---|
Parameter() |
Parameter(String name) |
Parameter(String name,
String displayName,
String[] defaultValue,
ParameterDataType dataType,
ParameterCollectionType collectionType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ParameterCollectionType |
getCollectionType()
Collection type of the parameter.
|
ParameterDataType |
getDataType()
Data type of the parameter.
|
String[] |
getDefaultValue()
The default value that will be used,
if the parameter is not supplied with any values while running the query.
|
String |
getDisplayName()
Display name of the parameter.
|
String |
getName()
Name of the parameter used in the query.
|
int |
hashCode() |
void |
setCollectionType(ParameterCollectionType collectionType)
Collection type of the parameter.
|
void |
setDataType(ParameterDataType dataType)
Data type of the parameter.
|
void |
setDefaultValue(String[] defaultValue)
The default value that will be used,
if the parameter is not supplied with any values while running the query.
|
void |
setDisplayName(String displayName)
Display name of the parameter.
|
void |
setName(String name)
Name of the parameter used in the query.
|
String |
toString() |
public Parameter(String name)
@ConstructorProperties(value={"name","displayName","defaultValue","dataType","collectionType"}) @Generated(value="lombok") public Parameter(String name, String displayName, String[] defaultValue, ParameterDataType dataType, ParameterCollectionType collectionType)
@Generated(value="lombok") public Parameter()
@Generated(value="lombok") public String getName()
@Generated(value="lombok") public String getDisplayName()
@Generated(value="lombok") public String[] getDefaultValue()
@Generated(value="lombok") public ParameterDataType getDataType()
@Generated(value="lombok") public ParameterCollectionType getCollectionType()
@Generated(value="lombok") public void setName(String name)
@Generated(value="lombok") public void setDisplayName(String displayName)
@Generated(value="lombok") public void setDefaultValue(String[] defaultValue)
@Generated(value="lombok") public void setDataType(ParameterDataType dataType)
@Generated(value="lombok") public void setCollectionType(ParameterCollectionType collectionType)
@Generated(value="lombok") public String toString()
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.