|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.QueryNode.WebCacheQueryNode
public static class QueryNode.WebCacheQueryNode
A QueryNode represents a boolean expression. The expression is applied to an item to determine if the query is true of the item or not.
| Constructor Summary | |
|---|---|
QueryNode.WebCacheQueryNode(ArtifactCacheManager.Context cntxt,
QueryNode.Operator anOperator)
Creates a new QueryNode of the specified type. |
|
| Method Summary | |
|---|---|
void |
appendQueryNode(QueryNode.WebCacheQueryNode node)
Add a QueryNode to the end of the list. |
void |
appendQueryPart(QueryPart.WebCacheQueryPart part)
Add a QueryPart to the end of the list. |
void |
clearQueryNodes()
A convenience method to remove all query nodes. |
void |
clearQueryParts()
A convenience method to remove all query parts. |
boolean |
equals(java.lang.Object o)
Test this object for equality with another |
QueryNode.Operator |
getOperator()
Returns the operator type for this expression. |
QueryNode.WebCacheQueryNode[] |
getQueryNodes()
Returns the QueryNodes associated with this QueryNode. |
QueryPart.WebCacheQueryPart[] |
getQueryParts()
Returns the QueryParts associated with this QueryNode. |
int |
hashCode()
Return a hash code for this object |
void |
setOperator(QueryNode.Operator anOperator)
Change the operator type for this expression. |
void |
setQueryNodes(QueryNode.WebCacheQueryNode[] nodes)
Sets the QueryNodes associated with this QueryNode. |
void |
setQueryParts(QueryPart.WebCacheQueryPart[] parts)
Changes the QueryParts associated with this QueryNode. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryNode.WebCacheQueryNode(ArtifactCacheManager.Context cntxt,
QueryNode.Operator anOperator)
anOperator - a Boolean condition of AND, OR or NOT| Method Detail |
|---|
public void appendQueryNode(QueryNode.WebCacheQueryNode node)
node - the QueryNode to append.public void appendQueryPart(QueryPart.WebCacheQueryPart part)
part - the QueryPart to appendpublic QueryNode.WebCacheQueryNode[] getQueryNodes()
public void setQueryNodes(QueryNode.WebCacheQueryNode[] nodes)
nodes - the QueryParts associated with this QueryNode.public void clearQueryNodes()
public void clearQueryParts()
public void setQueryParts(QueryPart.WebCacheQueryPart[] parts)
parts - the new QueryParts to associate with this QueryNode.public QueryPart.WebCacheQueryPart[] getQueryParts()
public QueryNode.Operator getOperator()
QueryNode.Operator.AND,
QueryNode.Operator.OR,
QueryNode.Operator.NOTpublic void setOperator(QueryNode.Operator anOperator)
anOperator - the type of condition: OP_AND or OP_OR or OP_NOTQueryNode.Operator.AND,
QueryNode.Operator.OR,
QueryNode.Operator.NOTpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to test againstpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||