Class AbstractAppointmentQueryInspector
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.personnel.appointment.spi.AbstractAppointmentQueryInspector
- All Implemented Interfaces:
Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector, AppointmentQueryInspector
- Direct Known Subclasses:
AppointmentQueryUninspector
public abstract class AbstractAppointmentQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements AppointmentQueryInspector
A query inspector template for appointments.
-
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 newAbstractAppointmentQueryInspector. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAppointmentQueryInspectorRecord(AppointmentQueryInspectorRecord appointmentQueryInspectorRecord, Type appointmentRecordType) Adds a record to this appointment query.getAppointmentQueryInspectorRecord(Type appointmentRecordType) Gets the record corresponding to the given appointment query inspector recordType.Gets the commitment query terms.IdTerm[]Gets the personIdquery terms.Gets the person query terms.IdTerm[]Gets the positionIdquery terms.Gets the position query terms.IdTerm[]Gets the realmIdquery terms.Gets the realm query terms.Gets the salary query terms.Gets the title 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
-
AbstractAppointmentQueryInspector
public AbstractAppointmentQueryInspector()Constructs a newAbstractAppointmentQueryInspector.
-
-
Method Details
-
getPersonIdTerms
Gets the personIdquery terms.- Specified by:
getPersonIdTermsin interfaceAppointmentQueryInspector- Returns:
- the person
Idterms
-
getPersonTerms
Gets the person query terms.- Specified by:
getPersonTermsin interfaceAppointmentQueryInspector- Returns:
- the person terms
-
getPositionIdTerms
Gets the positionIdquery terms.- Specified by:
getPositionIdTermsin interfaceAppointmentQueryInspector- Returns:
- the position
Idterms
-
getPositionTerms
Gets the position query terms.- Specified by:
getPositionTermsin interfaceAppointmentQueryInspector- Returns:
- the position terms
-
getCommitmentTerms
Gets the commitment query terms.- Specified by:
getCommitmentTermsin interfaceAppointmentQueryInspector- Returns:
- the commitment terms
-
getTitleTerms
Gets the title query terms.- Specified by:
getTitleTermsin interfaceAppointmentQueryInspector- Returns:
- the title terms
-
getSalaryTerms
Gets the salary query terms.- Specified by:
getSalaryTermsin interfaceAppointmentQueryInspector- Returns:
- the salary terms
-
getRealmIdTerms
Gets the realmIdquery terms.- Specified by:
getRealmIdTermsin interfaceAppointmentQueryInspector- Returns:
- the realm
Idterms
-
getRealmTerms
Gets the realm query terms.- Specified by:
getRealmTermsin interfaceAppointmentQueryInspector- Returns:
- the realm terms
-
getAppointmentQueryInspectorRecord
@OSID public AppointmentQueryInspectorRecord getAppointmentQueryInspectorRecord(Type appointmentRecordType) throws OperationFailedException Gets the record corresponding to the given appointment query inspector recordType.This method must be used to retrieve an appointment implementing the requested record.- Specified by:
getAppointmentQueryInspectorRecordin interfaceAppointmentQueryInspector- Parameters:
appointmentRecordType- an appointment record type- Returns:
- the appointment query inspsector record
- Throws:
NullArgumentException-appointmentRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(appointmentRecordType)isfalse
-
addAppointmentQueryInspectorRecord
protected void addAppointmentQueryInspectorRecord(AppointmentQueryInspectorRecord appointmentQueryInspectorRecord, Type appointmentRecordType) Adds a record to this appointment query.- Parameters:
appointmentQueryInspectorRecord- appointment query inspector recordappointmentRecordType- appointment record type- Throws:
NullArgumentException-recordisnull
-