Class AbstractOrderItemQueryInspector
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.ordering.orderitem.spi.AbstractOrderItemQueryInspector
- All Implemented Interfaces:
Extensible, OrderItemQueryInspector, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector
- Direct Known Subclasses:
OrderItemQueryUninspector
public abstract class AbstractOrderItemQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements OrderItemQueryInspector
A query inspector template for items.
-
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
ConstructorsConstructorDescriptionConstructs a newAbstractOrderItemQueryInspector. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddOrderItemQueryInspectorRecord(OrderItemQueryInspectorRecord itemQueryInspectorRecord, Type itemRecordType) Adds a record to this orderItem query.Gets the cost terms.Gets the derived terms.Gets the minimum cost terms.IdTerm[]Gets the orderIdterms.getOrderItemQueryInspectorRecord(Type itemRecordType) Gets the record corresponding to the given orderItem query inspector recordType.Gets the order terms.IdTerm[]Gets the productIdterms.Gets the product terms.Gets the quantity terms.IdTerm[]Gets the storeIdterms.Gets the store 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
-
AbstractOrderItemQueryInspector
public AbstractOrderItemQueryInspector()Constructs a newAbstractOrderItemQueryInspector.
-
-
Method Details
-
getOrderIdTerms
Gets the orderIdterms.- Specified by:
getOrderIdTermsin interfaceOrderItemQueryInspector- Returns:
- the order
Idterms
-
getOrderTerms
Gets the order terms.- Specified by:
getOrderTermsin interfaceOrderItemQueryInspector- Returns:
- the order terms
-
getDerivedTerms
Gets the derived terms.- Specified by:
getDerivedTermsin interfaceOrderItemQueryInspector- Returns:
- the derived terms
-
getProductIdTerms
Gets the productIdterms.- Specified by:
getProductIdTermsin interfaceOrderItemQueryInspector- Returns:
- the product
Idterms
-
getProductTerms
Gets the product terms.- Specified by:
getProductTermsin interfaceOrderItemQueryInspector- Returns:
- the product terms
-
getQuantityTerms
Gets the quantity terms.- Specified by:
getQuantityTermsin interfaceOrderItemQueryInspector- Returns:
- the quantity terms
-
getCostTerms
Gets the cost terms.- Specified by:
getCostTermsin interfaceOrderItemQueryInspector- Returns:
- the cost terms
-
getMinimumCostTerms
Gets the minimum cost terms.- Specified by:
getMinimumCostTermsin interfaceOrderItemQueryInspector- Returns:
- the minimum cost terms
-
getStoreIdTerms
Gets the storeIdterms.- Specified by:
getStoreIdTermsin interfaceOrderItemQueryInspector- Returns:
- the store
Idterms
-
getStoreTerms
Gets the store terms.- Specified by:
getStoreTermsin interfaceOrderItemQueryInspector- Returns:
- the store terms
-
getOrderItemQueryInspectorRecord
@OSID public OrderItemQueryInspectorRecord getOrderItemQueryInspectorRecord(Type itemRecordType) throws OperationFailedException Gets the record corresponding to the given orderItem query inspector recordType.This method must be used to retrieve an orderItem implementing the requested record.- Specified by:
getOrderItemQueryInspectorRecordin interfaceOrderItemQueryInspector- Parameters:
itemRecordType- an orderItem record type- Returns:
- the orderItem query inspsector record
- Throws:
NullArgumentException-itemRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(itemRecordType)isfalse
-
addOrderItemQueryInspectorRecord
protected void addOrderItemQueryInspectorRecord(OrderItemQueryInspectorRecord itemQueryInspectorRecord, Type itemRecordType) Adds a record to this orderItem query.- Parameters:
itemQueryInspectorRecord- orderItem query inspector recorditemRecordType- orderItem record type- Throws:
NullArgumentException-recordisnull
-