Class AbstractOsidExtensibleSearchOrder
java.lang.Object
net.okapia.osid.jamocha.spi.AbstractOsidSearchOrder
net.okapia.osid.jamocha.spi.AbstractOsidExtensibleSearchOrder
- All Implemented Interfaces:
Extensible, OsidExtensibleSearchOrder, OsidSearchOrder, Suppliable
- Direct Known Subclasses:
AbstractOsidBrowsableSearchOrder
public abstract class AbstractOsidExtensibleSearchOrder
extends AbstractOsidSearchOrder
implements OsidExtensibleSearchOrder
Defines a simple OsidSearchOrder to extend. This class
does nothing.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classDefines anExtensible. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newAbstractOsidExtensibleSearchOrder. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddRecordType(Type recordType) Adds a record type.Gets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.
-
Constructor Details
-
AbstractOsidExtensibleSearchOrder
public AbstractOsidExtensibleSearchOrder()Constructs a newAbstractOsidExtensibleSearchOrder.
-
-
Method Details
-
getRecordTypes
Gets the record types available in this object.- Specified by:
getRecordTypesin interfaceExtensible- Returns:
- the record types
-
hasRecordType
Tests if this object supports the given recordType.- Specified by:
hasRecordTypein interfaceExtensible- Parameters:
recordType- a type- Returns:
trueifrecordTypeis supported,falseotherwise- Throws:
NullArgumentException-recordTypeisnull
-
addRecordType
Adds a record type.- Parameters:
recordType- the record Type- Throws:
NullArgumentException-recordTypeisnull
-