Class AbstractEdgeQueryInspector
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.topology.edge.spi.AbstractEdgeQueryInspector
- All Implemented Interfaces:
Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector, EdgeQueryInspector
- Direct Known Subclasses:
EdgeQueryUninspector
public abstract class AbstractEdgeQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements EdgeQueryInspector
A query inspector template for edges.
-
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 voidaddEdgeQueryInspectorRecord(EdgeQueryInspectorRecord edgeQueryInspectorRecord, Type edgeRecordType) Adds a record to this edge query.Gets the bi-directional terms.Gets the cost terms.IdTerm[]Gets the related nodeIdterms.Gets the related node terms.Gets the directional terms.Gets the distance terms.getEdgeQueryInspectorRecord(Type edgeRecordType) Gets the record corresponding to the given edge query inspector recordType.IdTerm[]Gets the graphIdterms.Gets the graph terms.Gets the same node terms.IdTerm[]Gets the nodeIdterms.Gets the node 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
-
AbstractEdgeQueryInspector
public AbstractEdgeQueryInspector()Constructs a newAbstractEdgeQueryInspector.
-
-
Method Details
-
getSourceNodeIdTerms
Gets the nodeIdterms.- Specified by:
getSourceNodeIdTermsin interfaceEdgeQueryInspector- Returns:
- the node
Idterms
-
getSourceNodeTerms
Gets the node terms.- Specified by:
getSourceNodeTermsin interfaceEdgeQueryInspector- Returns:
- the node terms
-
getDestinationNodeIdTerms
Gets the related nodeIdterms.- Specified by:
getDestinationNodeIdTermsin interfaceEdgeQueryInspector- Returns:
- the node
Idterms
-
getDestinationNodeTerms
Gets the related node terms.- Specified by:
getDestinationNodeTermsin interfaceEdgeQueryInspector- Returns:
- the node terms
-
getSameNodeTerms
Gets the same node terms.- Specified by:
getSameNodeTermsin interfaceEdgeQueryInspector- Returns:
- the query terms
-
getDirectionalTerms
Gets the directional terms.- Specified by:
getDirectionalTermsin interfaceEdgeQueryInspector- Returns:
- the directional terms
-
getBiDirectionalTerms
Gets the bi-directional terms.- Specified by:
getBiDirectionalTermsin interfaceEdgeQueryInspector- Returns:
- the directional terms
-
getCostTerms
Gets the cost terms.- Specified by:
getCostTermsin interfaceEdgeQueryInspector- Returns:
- the cost terms
-
getDistanceTerms
Gets the distance terms.- Specified by:
getDistanceTermsin interfaceEdgeQueryInspector- Returns:
- the distance terms
-
getGraphIdTerms
Gets the graphIdterms.- Specified by:
getGraphIdTermsin interfaceEdgeQueryInspector- Returns:
- the graph
Idterms
-
getGraphTerms
Gets the graph terms.- Specified by:
getGraphTermsin interfaceEdgeQueryInspector- Returns:
- the graph terms
-
getEdgeQueryInspectorRecord
@OSID public EdgeQueryInspectorRecord getEdgeQueryInspectorRecord(Type edgeRecordType) throws OperationFailedException Gets the record corresponding to the given edge query inspector recordType.This method must be used to retrieve an edge implementing the requested record.- Specified by:
getEdgeQueryInspectorRecordin interfaceEdgeQueryInspector- Parameters:
edgeRecordType- an edge record type- Returns:
- the edge query inspsector record
- Throws:
NullArgumentException-edgeRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(edgeRecordType)isfalse
-
addEdgeQueryInspectorRecord
protected void addEdgeQueryInspectorRecord(EdgeQueryInspectorRecord edgeQueryInspectorRecord, Type edgeRecordType) Adds a record to this edge query.- Parameters:
edgeQueryInspectorRecord- edge query inspector recordedgeRecordType- edge record type- Throws:
NullArgumentException-recordisnull
-