public class Query
extends java.lang.Object
implements java.io.Serializable
Defines the query to run against an object.
| コンストラクタと説明 |
|---|
Query() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Selector> |
getSelectors()
List of selectors that define the query.
|
int |
hashCode() |
void |
setSelectors(java.util.Collection<Selector> selectors)
List of selectors that define the query.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Query |
withSelectors(java.util.Collection<Selector> selectors)
List of selectors that define the query.
|
Query |
withSelectors(Selector... selectors)
List of selectors that define the query.
|
public java.util.List<Selector> getSelectors()
public void setSelectors(java.util.Collection<Selector> selectors)
selectors - List of selectors that define the query. An object must satisfy all of
the selectors to match the query.public Query withSelectors(Selector... selectors)
Returns a reference to this object so that method calls can be chained together.
selectors - List of selectors that define the query. An object must satisfy all of
the selectors to match the query.public Query withSelectors(java.util.Collection<Selector> selectors)
Returns a reference to this object so that method calls can be chained together.
selectors - List of selectors that define the query. An object must satisfy all of
the selectors to match the query.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object