Class AbstractBidQueryInspector
java.lang.Object
net.okapia.osid.jamocha.spi.AbstractOsidQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidIdentifiableQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidObjectQueryInspector
net.okapia.osid.jamocha.spi.AbstractTemporalOsidObjectQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidRelationshipQueryInspector
net.okapia.osid.jamocha.bidding.bid.spi.AbstractBidQueryInspector
- All Implemented Interfaces:
BidQueryInspector, Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector
- Direct Known Subclasses:
BidQueryUninspector
public abstract class AbstractBidQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements BidQueryInspector
A query inspector template for bids.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractTemporalOsidObjectQueryInspector
AbstractTemporalOsidObjectQueryInspector.OsidTemporalQueryInspectorModifier and TypeClassDescriptionprotected classComposed OsidTemporalQueryInspector.Nested classes/interfaces inherited from class AbstractOsidObjectQueryInspector
AbstractOsidObjectQueryInspector.OsidBrowsableQueryInspectorModifier and TypeClassDescriptionprotected classComposed BrowsableQueryInspector. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddBidQueryInspectorRecord(BidQueryInspectorRecord bidQueryInspectorRecord, Type bidRecordType) Adds a record to this bid query.IdTerm[]Gets the auction houseIdquery terms.Gets the auction house query terms.IdTerm[]Gets the auctionIdquery terms.Gets the auction query terms.IdTerm[]Gets the resourceIdquery terms.Gets the resource query terms.IdTerm[]Gets the agentIdquery terms.Gets the agent query terms.getBidQueryInspectorRecord(Type bidRecordType) Gets the record corresponding to the given bid query inspector recordType.Gets the current bid query terms.Gets the maximum bid query terms.Gets the quantity query terms.Gets the settlement amount query terms.Gets the winning bid query terms.Methods inherited from class AbstractOsidRelationshipQueryInspector
getEndReasonIdTerms, getEndReasonTermsModifier and TypeMethodDescriptionIdTerm[]Gets the end reaosn stateIdquery terms.Gets the end reason state query terms.Methods inherited from class AbstractTemporalOsidObjectQueryInspector
getDateTerms, getEffectiveTerms, getEndDateTerms, getStartDateTermsModifier and TypeMethodDescriptionGets the date query terms.Gets the effective query terms.Gets the end date query terms.Gets the start date query terms.Methods inherited from class AbstractOsidObjectQueryInspector
addRecordType, getCommentIdTerms, getCommentTerms, getCreditIdTerms, getCreditTerms, getDescriptionTerms, getDisplayNameTerms, getGenusTypeTerms, getJournalEntryIdTerms, getJournalEntryTerms, getParentGenusTypeTerms, getRecordTypes, getRecordTypeTerms, getRelationshipIdTerms, getRelationshipPeerIdTerms, getRelationshipTerms, getStateIdTerms, getStateTerms, getStatisticTerms, getSubjectIdTerms, getSubjectRelevancyTerms, getSubjectTerms, hasRecordTypeModifier and TypeMethodDescriptionprotected voidaddRecordType(Type recordType) Adds a record type.IdTerm[]Gets the commentIdquery terms.Gets the comment query terms.IdTerm[]Gets the creditIdquery terms.Gets the credit query terms.Gets the description query terms.Gets the display name query terms.TypeTerm[]Gets the genus type query terms.IdTerm[]Gets the journal entryIdquery terms.Gets the journal entry query terms.TypeTerm[]Gets the parent genus type query terms.Gets the record types available in this object.TypeTerm[]Gets the record type query terms.IdTerm[]Gets the relationshipIdquery terms.IdTerm[]Gets the relationship peerIdquery terms.Gets the relationship query terms.IdTerm[]Gets the stateIdquery terms.Gets the state query terms.Gets the statistic query terms.IdTerm[]Gets the subjectIdquery terms.Gets the relevancy query terms.Gets the subject query terms.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from class AbstractOsidIdentifiableQueryInspector
getIdTermsMethods inherited from class AbstractOsidQueryInspector
getAnyTerms, getKeywordTermsModifier and TypeMethodDescriptionGets the any query terms.Gets the keyword query terms.
-
Constructor Details
-
AbstractBidQueryInspector
public AbstractBidQueryInspector()Constructs a newAbstractBidQueryInspector.
-
-
Method Details
-
getAuctionIdTerms
Gets the auctionIdquery terms.- Specified by:
getAuctionIdTermsin interfaceBidQueryInspector- Returns:
- the query terms
-
getAuctionTerms
Gets the auction query terms.- Specified by:
getAuctionTermsin interfaceBidQueryInspector- Returns:
- the query terms
-
getBidderIdTerms
Gets the resourceIdquery terms.- Specified by:
getBidderIdTermsin interfaceBidQueryInspector- Returns:
- the query terms
-
getBidderTerms
Gets the resource query terms.- Specified by:
getBidderTermsin interfaceBidQueryInspector- Returns:
- the query terms
-
getBiddingAgentIdTerms
Gets the agentIdquery terms.- Specified by:
getBiddingAgentIdTermsin interfaceBidQueryInspector- Returns:
- the query terms
-
getBiddingAgentTerms
Gets the agent query terms.- Specified by:
getBiddingAgentTermsin interfaceBidQueryInspector- Returns:
- the query terms
-
getQuantityTerms
Gets the quantity query terms.- Specified by:
getQuantityTermsin interfaceBidQueryInspector- Returns:
- the query terms
-
getCurrentBidTerms
Gets the current bid query terms.- Specified by:
getCurrentBidTermsin interfaceBidQueryInspector- Returns:
- the query terms
-
getMaximumBidTerms
Gets the maximum bid query terms.- Specified by:
getMaximumBidTermsin interfaceBidQueryInspector- Returns:
- the query terms
-
getWinnerTerms
Gets the winning bid query terms.- Specified by:
getWinnerTermsin interfaceBidQueryInspector- Returns:
- the query terms
-
getSettlementAmountTerms
Gets the settlement amount query terms.- Specified by:
getSettlementAmountTermsin interfaceBidQueryInspector- Returns:
- the query terms
-
getAuctionHouseIdTerms
Gets the auction houseIdquery terms.- Specified by:
getAuctionHouseIdTermsin interfaceBidQueryInspector- Returns:
- the query terms
-
getAuctionHouseTerms
Gets the auction house query terms.- Specified by:
getAuctionHouseTermsin interfaceBidQueryInspector- Returns:
- the query terms
-
getBidQueryInspectorRecord
@OSID public BidQueryInspectorRecord getBidQueryInspectorRecord(Type bidRecordType) throws OperationFailedException Gets the record corresponding to the given bid query inspector recordType.This method must be used to retrieve a bid implementing the requested record.- Specified by:
getBidQueryInspectorRecordin interfaceBidQueryInspector- Parameters:
bidRecordType- a bid record type- Returns:
- the bid query inspsector record
- Throws:
NullArgumentException-bidRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(bidRecordType)isfalse
-
addBidQueryInspectorRecord
protected void addBidQueryInspectorRecord(BidQueryInspectorRecord bidQueryInspectorRecord, Type bidRecordType) Adds a record to this bid query.- Parameters:
bidQueryInspectorRecord- bid query inspector recordbidRecordType- bid record type- Throws:
NullArgumentException-recordisnull
-