|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.QueryPart.Relation
public static final class QueryPart.Relation
Relations that can be used in the expression
| Field Summary | |
|---|---|
static QueryPart.Relation[] |
ALL
All possible relations |
static QueryPart.Relation |
CONTAINS
Tests if a map or multi-select enumerated valued property contains the specified object. |
static QueryPart.Relation |
CONTAINS_KEY
Tests if a map valued property contains the specified key. |
static QueryPart.Relation |
CONTAINS_VALUE
Tests if a map valued property contains the specified value. |
static QueryPart.Relation |
DATE_OLDER_THAN_DAYS
True if the date is older than the specified number of days. |
static QueryPart.Relation |
DATE_OLDER_THAN_WEEKS
True if the date is older than the specified number of weeks. |
static QueryPart.Relation |
DATE_WITHIN_LAST_DAYS
True if the date falls within the last specified number of days. |
static QueryPart.Relation |
DATE_WITHIN_LAST_WEEKS
True if the date falls within the last specified number of weeks. |
static QueryPart.Relation |
EQUAL_TO
The "equal-to" relation. |
static QueryPart.Relation |
GREATER_THAN
The "greater-than" relation. |
static QueryPart.Relation |
GREATER_THAN_OR_EQUAL_TO
The "greater-than-or-equal-to" relation. |
static QueryPart.Relation |
KEY_CONTAINS_VALUE
Tests if a map valued property contains the specified key value pair. |
static QueryPart.Relation |
LESS_THAN
The "less-than" relation. |
static QueryPart.Relation |
LESS_THAN_OR_EQUAL_TO
The "less-than-or-equal-to" relation. |
static QueryPart.Relation |
NOT_EQUAL_TO
The "not-equal" relation. |
static QueryPart.Relation |
STRING_CONTAINS_TEXT
Tests if a string valued property contains the specified string. |
static QueryPart.Relation |
STRING_ENDS_WITH_TEXT
Tests if a string valued property ends with the specified string. |
static QueryPart.Relation |
STRING_STARTS_WITH_TEXT
Tests if a string valued property starts with the specified string. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
tests two relations for equality |
static QueryPart.Relation |
fromID(int id)
Gets the Relation value corresponding to the given ID. |
int |
getID()
The ID of the corresponding Relation. |
int |
hashCode()
returns the hash code for this relation |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final QueryPart.Relation LESS_THAN
public static final QueryPart.Relation LESS_THAN_OR_EQUAL_TO
public static final QueryPart.Relation EQUAL_TO
public static final QueryPart.Relation GREATER_THAN_OR_EQUAL_TO
public static final QueryPart.Relation GREATER_THAN
public static final QueryPart.Relation NOT_EQUAL_TO
public static final QueryPart.Relation DATE_WITHIN_LAST_DAYS
public static final QueryPart.Relation DATE_WITHIN_LAST_WEEKS
public static final QueryPart.Relation DATE_OLDER_THAN_DAYS
public static final QueryPart.Relation DATE_OLDER_THAN_WEEKS
public static final QueryPart.Relation STRING_CONTAINS_TEXT
public static final QueryPart.Relation STRING_STARTS_WITH_TEXT
public static final QueryPart.Relation STRING_ENDS_WITH_TEXT
public static final QueryPart.Relation CONTAINS
public static final QueryPart.Relation CONTAINS_KEY
public static final QueryPart.Relation CONTAINS_VALUE
public static final QueryPart.Relation KEY_CONTAINS_VALUE
public static final QueryPart.Relation[] ALL
| Method Detail |
|---|
public int getID()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the Relation to test for equality
public int hashCode()
hashCode in class java.lang.Objectpublic static QueryPart.Relation fromID(int id)
id - The ID of a Relation.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||