OSID Logo
OSID Specifications
configuration package
Version 3.1.0
Interfaceosid.configuration.ValueQuery
Implementsosid.OsidObjectQuery
osid.OsidOperableQuery
osid.OsidSubjugateableQuery
Used Byosid.configuration.ParameterQuery
osid.configuration.ValueQuerySession
osid.configuration.ValueSearchSession
osid.configuration.rules.ValueEnablerQuery
Description

The interface to query a value.

MethodmatchPriority
Description

Adds a priority match. Multiple ranges can be added to perform a boolean OR among them.

Parameterscardinallow start priority value
cardinalhigh end priority value
booleanmatch true if a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodmatchAnyPriority
Description

Matches values with any priority.

Parametersbooleanmatch true if to match values with any priority, false to match values with no priority
Compliancemandatory This method must be implemented.
MethodclearPriorityTerms
Description

Clears the priority terms.

Compliancemandatory This method must be implemented.
MethodmatchBooleanValue
Description

Adds a boolean match.

Parametersbooleanvalue a boolean value
booleanmatch true if a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearBooleanValueTerms
Description

Clears the boolean value terms.

Compliancemandatory This method must be implemented.
MethodmatchBytesValue
Description

Adds a byte string match. Multiple byte arrays can be added to perform a boolean OR among them.

Parametersbyte[]value a byte value
booleanmatch true if a positive match, false for a negative match
booleanpartial true if for a partial match, false for complete match
Compliancemandatory This method must be implemented.
MethodclearBytesValueTerms
Description

Clears the bytes value terms.

Compliancemandatory This method must be implemented.
MethodmatchCardinalValue
Description

Adds a cardinal match within the given range inclusive. Multiple ranges can be added to perform a boolean OR among them.

Parameterscardinallow start cardinal value
cardinalhigh end cardinal value
booleanmatch true if a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearCardinalValueTerms
Description

Clears the cardinal value terms.

Compliancemandatory This method must be implemented.
MethodmatchCoordinateType
Description

Matches values for a coordinate type.

Parametersosid.type.TypecoordinateType a coordinate type
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT coordinateType is null
Compliancemandatory This method must be implemented.
MethodclearCoordinateTypeTerms
Description

Clears the coordinate type terms.

Compliancemandatory This method must be implemented.
MethodmatchCoordinateValue
Description

Adds a coordinate match for coordinates inside the specified coordinate. Multiple ranges can be added to perform a boolean OR among them.

Parametersosid.mapping.Coordinatecoordinate a coordinate value
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT coordinate is null
Compliancemandatory This method must be implemented.
MethodclearCoordinateValueTerms
Description

Clears the coordinate value terms.

Compliancemandatory This method must be implemented.
MethodmatchCurrencyType
Description

Matches values for a currency type.

Parametersosid.type.TypecurrencyType a currency type
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT currencyType is null
Compliancemandatory This method must be implemented.
MethodclearCurrencyTypeTerms
Description

Clears the currency type terms.

Compliancemandatory This method must be implemented.
MethodmatchCurrencyValue
Description

Adds a currency match within the given range inclusive. Multiple ranges can be added to perform a boolean OR among them.

Parametersosid.financials.Currencylow start currency value
osid.financials.Currencyhigh a currency value
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT low is greater than high
NULL_ARGUMENT low or high is null
Compliancemandatory This method must be implemented.
MethodclearCurrencyValueTerms
Description

Clears the currency value terms.

Compliancemandatory This method must be implemented.
MethodmatchCalendarType
Description

Matches values for a calendar type.

Parametersosid.type.TypecalendarType a calendar type
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT calendarType is null
Compliancemandatory This method must be implemented.
MethodclearCalendarTypeTerms
Description

Clears the calendar type terms.

Compliancemandatory This method must be implemented.
MethodmatchTimeType
Description

Matches values for a time type.

Parametersosid.type.TypetimeType a time type
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT timeType is null
Compliancemandatory This method must be implemented.
MethodclearTimeTypeTerms
Description

Clears the time type terms.

Compliancemandatory This method must be implemented.
MethodmatchDateTimeValue
Description

Adds a DateTime range match within the given range inclusive. Multiple ranges can be added to perform a boolean OR among them.

Parametersosid.calendaring.DateTimelow start datetime value
osid.calendaring.DateTimehigh end datetime value
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT low is greater than high
NULL_ARGUMENT low or high is null
Compliancemandatory This method must be implemented.
MethodclearDateTimeValueTerms
Description

Clears the date time value terms.

Compliancemandatory This method must be implemented.
MethodmatchDecimalValue
Description

Adds a decimal match within the given range inclusive. Multiple ranges can be added to perform a boolean OR among them.

Parametersdecimallow start decimal value
decimalhigh end decimal value
booleanmatch true if a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearDecimalValueTerms
Description

Clears the decimal value terms.

Compliancemandatory This method must be implemented.
MethodmatchLanguageType
Description

Matches values for a language type.

Parametersosid.type.TypelanguageType a language type
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT languageType is null
Compliancemandatory This method must be implemented.
MethodclearLanguageTypeTerms
Description

Clears the language type terms.

Compliancemandatory This method must be implemented.
MethodmatchScriptType
Description

Matches values for a script type.

Parametersosid.type.TypescriptType a script type
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT scriptType is null
Compliancemandatory This method must be implemented.
MethodclearScriptTypeTerms
Description

Clears the script type terms.

Compliancemandatory This method must be implemented.
MethodmatchFormatType
Description

Matches values for a format type.

Parametersosid.type.TypeformatType a format type
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT formatType is null
Compliancemandatory This method must be implemented.
MethodclearFormatTypeTerms
Description

Clears the format type terms.

Compliancemandatory This method must be implemented.
MethodmatchDistanceValue
Description

Adds a Distance range match within the given range inclusive. Multiple ranges can be added to perform a boolean OR among them.

Parametersosid.mapping.Distancelow start distance value
osid.mapping.Distancehigh end distance value
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT low is greater than high
NULL_ARGUMENT low or high is null
Compliancemandatory This method must be implemented.
MethodclearDistanceValueTerms
Description

Clears the distance value terms.

Compliancemandatory This method must be implemented.
MethodmatchDurationValue
Description

Adds a Duration range match within the given range inclusive. Multiple ranges can be added to perform a boolean OR among them.

Parametersosid.calendaring.Durationlow start duration value
osid.calendaring.Durationhigh end duration value
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT low is greater than high
NULL_ARGUMENT low or high is null
Compliancemandatory This method must be implemented.
MethodclearDurationValueTerms
Description

Clears the duration value terms.

Compliancemandatory This method must be implemented.
MethodmatchHeadingType
Description

Matches values for a heading type.

Parametersosid.type.TypeheadingType a heading type
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT headingType is null
Compliancemandatory This method must be implemented.
MethodclearHeadingTypeTerms
Description

Clears the heading type terms.

Compliancemandatory This method must be implemented.
MethodmatchHeadingValue
Description

Adds a Heading range match within the given range inclusive. Multiple ranges can be added to perform a boolean OR among them.

Parametersosid.mapping.Headinglow start heading value
osid.mapping.Headinghigh end heading value
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT low is greater than high
NULL_ARGUMENT low or high is null
Compliancemandatory This method must be implemented.
MethodclearHeadingValueTerms
Description

Clears the heading value terms.

Compliancemandatory This method must be implemented.
MethodmatchIdValue
Description

Adds an Id to match. Multiple Ids can be added to perform a boolean OR among them.

Parametersosid.id.Idvalue an Id value
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT value is null
Compliancemandatory This method must be implemented.
MethodclearIdValueTerms
Description

Clears the Id value terms.

Compliancemandatory This method must be implemented.
MethodmatchIntegerValue
Description

Adds an integer match within the given range inclusive. Multiple ranges can be added to perform a boolean OR among them.

Parametersintegerlow start integer value
integerhigh end integer value
booleanmatch true if a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearIntegerValueTerms
Description

Clears the integer value terms.

Compliancemandatory This method must be implemented.
MethodmatchSpatialUnitValue
Description

Adds a spatial unit match within the given spatial unit inclusive. Multiple ranges can be added to perform a boolean OR among them.

Parametersosid.mapping.SpatialUnitvalue a spatial unit
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT value is null
Compliancemandatory This method must be implemented.
MethodclearSpatialUnitValueTerms
Description

Clears the spatial unit value terms.

Compliancemandatory This method must be implemented.
MethodmatchSpeedValue
Description

Adds a speed match within the given range inclusive. Multiple ranges can be added to perform a boolean OR among them.

Parametersosid.mapping.Speedlow start speed value
osid.mapping.Speedhigh end speed value
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT low is greater than high
NULL_ARGUMENT low or high is null
Compliancemandatory This method must be implemented.
MethodclearSpeedValueTerms
Description

Clears the speed value terms.

Compliancemandatory This method must be implemented.
MethodmatchStringValue
Description

Adds a string match. Multiple strings can be added to perform a boolean OR among them.

Parametersstringvalue string to match
osid.type.TypestringMatchType the string match type
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT value is not of stringMatchType
NULL_ARGUMENT value or stringMatchType is null
UNSUPPORTED supportsStringMatchType(stringMatchType) is false
Compliancemandatory This method must be implemented.
MethodclearStringValueTerms
Description

Clears the string value terms.

Compliancemandatory This method must be implemented.
MethodmatchTimeValue
Description

Adds a time match within the given range inclusive. Multiple ranges can be added to perform a boolean OR among them.

Parametersosid.calendaring.Timelow start time value
osid.calendaring.Timehigh end time value
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT low is greater than high
NULL_ARGUMENT low or high is null
Compliancemandatory This method must be implemented.
MethodclearTimeValueTerms
Description

Clears the time value terms.

Compliancemandatory This method must be implemented.
MethodmatchTypeValue
Description

Adds a Type match. Multiple types can be added to perform a boolean OR among them.

Parametersosid.type.Typevalue type to match
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT value is null
Compliancemandatory This method must be implemented.
MethodclearTypeValueTerms
Description

Clears the type value terms.

Compliancemandatory This method must be implemented.
MethodmatchVersionScheme
Description

Metahces values of a version scheme type.

Parametersosid.type.Typescheme scheme to match
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT scheme is null
Compliancemandatory This method must be implemented.
MethodclearVersionSchemeTerms
Description

Clears the version scheme terms.

Compliancemandatory This method must be implemented.
MethodmatchVersionValue
Description

Adds a Version match within the given range inclusive. Multiple queries can be added to perform a boolean OR among them.

Parametersosid.installation.Versionlow start version value
osid.installation.Versionhigh end version value
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT low is greater than high
NULL_ARGUMENT low or high is null
Compliancemandatory This method must be implemented.
MethodclearVersionValueTerms
Description

Clears the version value terms.

Compliancemandatory This method must be implemented.
MethodmatchObjectType
Description

Adds a Type to match on the type of object. Multiple types can be added to perform a boolean OR among them.

Parametersosid.type.TypeobjectType type to match
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT objectType is null
Compliancemandatory This method must be implemented.
MethodclearObjectTypeTerms
Description

Clears the object type value terms.

Compliancemandatory This method must be implemented.
MethodmatchObjectValue
Description

Adds an object match. Multiple objects can be added to perform a boolean OR among them.

Parametersobjectobject object to match
osid.type.TypeobjectType type of object
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT object or objectType is null
Compliancemandatory This method must be implemented.
MethodclearObjectValueTerms
Description

Clears the object value terms.

Compliancemandatory This method must be implemented.
MethodmatchObjectValueType
Description

Adds a Type to match on the type of object. Multiple types can be added to perform a boolean OR among them.

Parametersosid.type.TypeobjectType type to match
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT objectType is null
Compliancemandatory This method must be implemented.
MethodclearObjectValueTypeTerms
Description

Clears the object value type value terms.

Compliancemandatory This method must be implemented.
MethodmatchParameterId
Description

Adds a parameter Id for this query.

Parametersosid.id.IdparameterId a parameter Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT parameterId is null
Compliancemandatory This method must be implemented.
MethodclearParameterIdTerms
Description

Clears the parameter Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsParameterQuery
Description

Tests if a ParameterQuery is available.

Returnboolean true if a parameter query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetParameterQuery
Description

Gets the query for a parameter.

Returnosid.configuration.ParameterQuery the parameter query
ErrorsUNIMPLEMENTED supportsParameterQuery() is false
Complianceoptional This method must be implemented if supportsParameterQuery() is true.
MethodclearParameterTerms
Description

Clears the parameter terms.

Compliancemandatory This method must be implemented.
MethodmatchConfigurationId
Description

Sets the configuration Id for this query.

Parametersosid.id.IdconfigurationId a configuration Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT configurationId is null
Compliancemandatory This method must be implemented.
MethodclearConfigurationIdTerms
Description

Clears the configuration Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsConfigurationQuery
Description

Tests if a ConfigurationQuery is available.

Returnboolean true if a configuration query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetConfigurationQuery
Description

Gets the query for a configuration.

Returnosid.configuration.ConfigurationQuery the configuration query
ErrorsUNIMPLEMENTED supportsConfigurationQuery() is false
Complianceoptional This method must be implemented if supportsConfigurationQuery() is true.
MethodclearConfigurationTerms
Description

Clears the configuration Id terms.

Compliancemandatory This method must be implemented.
MethodgetValueQueryRecord
Description

Gets the value query record corresponding to the given Value record Type.Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypevalueRecordType a value record type
Returnosid.configuration.records.ValueQueryRecord the value query record
ErrorsNULL_ARGUMENT valueRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(valueRecordType) is false
Compliancemandatory This method must be implemented.