public interface OsidRelationshipQuery extends OsidObjectQuery, OsidTemporalQuery
This is the query interface for searching relationships. Each method
specifies an AND
term while multiple invocations of the
same method produce a nested OR.
Modifier and Type | Method and Description |
---|---|
void |
clearEndReasonIdTerms()
Clears all state
Id terms. |
void |
clearEndReasonTerms()
Clears all end reason state terms.
|
StateQuery |
getEndReasonQuery(boolean match)
Gets the query for the end reason state.
|
void |
matchAnyEndReason(boolean match)
Match any end reason state.
|
void |
matchEndReasonId(Id stateId,
boolean match)
Match the
Id of the end reason state. |
boolean |
supportsEndReasonQuery()
Tests if a
StateQuery for the end reason is available. |
clearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStateIdTerms, clearStateTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getJournalEntryQuery, getRelationshipQuery, getStateQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRelationship, matchAnyState, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRelationshipId, matchRelationshipPeerId, matchStateId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, supportsStateQuery, supportsStatisticQuery, supportsSubjectQuery, supportsSubjectRelevancyQuery
clearIdTerms, matchId
clearRecordTerms, matchAnyRecord, matchRecordType
getRecordTypes, hasRecordType
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchType
clearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDate
void matchEndReasonId(Id stateId, boolean match)
Id
of the end reason state.stateId
- Id
to matchmatch
- true
if for a positive match,
false
for a negative matchNullArgumentException
- ruleId
is
null
mandatory
- This method must be implemented. void clearEndReasonIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsEndReasonQuery()
StateQuery
for the end reason is available. true
if a end reason query is available,
false
otherwisemandatory
- This method must be implemented. StateQuery getEndReasonQuery(boolean match)
OR.
match
- true
if for a positive match,
false
for a negative matchUnimplementedException
-
supportsEndReasonQuery()
is false
optional
- This method must be implemented if
supportsEndReasonQuery()
is true.
void matchAnyEndReason(boolean match)
match
- true
to match any state, false
to match no statemandatory
- This method must be implemented. void clearEndReasonTerms()
mandatory
- This method must be implemented.