@JsonObject(value="QueryDescription")
public class QueryDescription
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
QueryDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Returns
true if and only if the specified object is of type
QueryDescription and has the same ID as this. |
java.lang.String |
getDescription()
Returns an optional description or empty string if undefined.
|
long |
getId()
Returns the ID of the query.
|
java.lang.String |
getName()
Returns the name of the query.
|
java.util.List<java.lang.String> |
getParameters()
Returns the list of parameters to which values should be bound when executing the query.
|
int |
hashCode()
Returns the ID.
|
void |
setDescription(java.lang.String description) |
void |
setId(long id) |
void |
setName(java.lang.String name) |
void |
setParameters(java.util.List<java.lang.String> parameters) |
java.lang.String |
toString()
Returns the name.
|
public long getId()
public void setId(long id)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.util.List<java.lang.String> getParameters()
public void setParameters(java.util.List<java.lang.String> parameters)
public boolean equals(java.lang.Object obj)
true
if and only if the specified object is of type
QueryDescription
and has the same ID as this.equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object