|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.systemsx.cisd.openbis.plugin.query.shared.api.v1.dto.QueryDescription
@JsonObject(value="QueryDescription") public class QueryDescription
Description of a query. Contains everything needed on client side to show to the user what queries are available, to specify parameter bindings, and to identify a query uniquely.
Constructor Summary | |
---|---|
QueryDescription()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryDescription()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |