OSID Logo
OSID Specifications
osid package
Version 3.0.0
Release Candidate Preview
Interfaceosid.Metadata
Description

The Metadata interface defines a set of methods describing a the syntax and rules for creating and updating a data element inside an OsidForm. This interface provides a means to retrieve special restrictions placed upon data elements such as sizes and ranges that may vary from provider to provider or from object to object.

MethodgetElementId
Description

Gets a unique Id for the data element.

Returnosid.id.Idan Id
CompliancemandatoryThis method must be implemented.
MethodgetElementLabel
Description

Gets a display label for the data element.

Returnosid.locale.DisplayTexta display label
CompliancemandatoryThis method must be implemented.
MethodgetInstructions
Description

Gets instructions for updating this element value. This is a human readable description of the data element or property that may include special instructions or caveats to the end-user above and beyond what this interface provides.

Returnosid.locale.DisplayTextinstructions
CompliancemandatoryThis method must be implemented.
MethodgetSyntax
Description

Gets the syntax of this data.

Returnosid.Syntaxan enumeration indicating the type of value
CompliancemandatoryThis method must be implemented.
MethodisArray
Description

Tests if this data element is an array.

Returnboolean true if this data is an array, false if a single element
CompliancemandatoryThis method must be implemented.
MethodisRequired
Description

Tests if this data element is required for creating new objects.

Returnboolean true if this element value is required, false otherwise
CompliancemandatoryThis method must be implemented.
MethodisReadOnly
Description

Tests if this data can be updated. This may indicate the result of a pre-authorization but is not a guarantee that an authorization failure will not occur when the create or update transaction is issued.

Returnboolean true if this data is not updatable, false otherwise
CompliancemandatoryThis method must be implemented.
MethodisLinked
Description

Tests if this data element is linked to other data in the object. Updating linked data elements should refresh all metadata and revalidate object elements.

Returnbooleantrue if this element is linked, false if updates have no side effect
CompliancemandatoryThis method must be implemented.
MethodisValueKnown
Description

Tests if an existing value is known for this data element. If it is known that a value does not exist, then this method returns true.

Returnboolean true if the element value is known, false if the element value is not known
CompliancemandatoryThis method must be implemented.
MethodhasValue
Description

Tests if this data element has a set non-default value.

Returnboolean true if this element value has been set, false otherwise
ErrorsILLEGAL_STATE isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetUnits
Description

Gets the units of this data for display purposes ('lbs', 'gills', 'furlongs').

Returnosid.locale.DisplayTextthe display units of this data or an empty string if not applicable
CompliancemandatoryThis method must be implemented.
MethodgetMinimumElements
Description

In the case where an array or list of elements is specified in an OsidForm, this specifies the minimum number of elements that must be included.

Returncardinalthe minimum elements or 1 if isArray() is false
CompliancemandatoryThis method must be implemented.
MethodgetMaximumElements
Description

In the case where an array or list of elements is specified in an OsidForm, this specifies the maximum number of elements that can be specified.

Returncardinalthe maximum elements or 1 if isArray() is false
CompliancemandatoryThis method must be implemented.
MethodgetMinimumCardinal
Description

Gets the minimum cardinal value.

Returncardinalthe minimum cardinal
ErrorsILLEGAL_STATEsyntax is not a CARDINAL
CompliancemandatoryThis method must be implemented.
MethodgetMaximumCardinal
Description

Gets the maximum cardinal value.

Returncardinalthe maximum cardinal
ErrorsILLEGAL_STATEsyntax is not a CARDINAL
CompliancemandatoryThis method must be implemented.
MethodgetCardinalSet
Description

Gets the set of acceptable cardinal values.

Returncardinal[]a set of cardinals or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a CARDINAL
CompliancemandatoryThis method must be implemented.
MethodgetDefaultCardinalValues
Description

Gets the default cardinal values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returncardinal[]the default cardinal values
ErrorsILLEGAL_STATEsyntax is not a CARDINAL or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingCardinalValues
Description

Gets the existing cardinal values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returncardinal[]the existing cardinal values
ErrorsILLEGAL_STATEsyntax is not a CARDINAL or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetCoordinateTypes
Description

Gets the set of acceptable coordinate types.

Returnosid.type.Type[]the set of coordinate types
ErrorsILLEGAL_STATEsyntax is not a COORDINATE or SPATIALUNIT
CompliancemandatoryThis method must be implemented.
MethodsupportsCoordinateType
Description

Tests if the given coordinate type is supported.

Parametersosid.type.TypecoordinateTypea coordinate Type
Returnboolean true if the type is supported, false otherwise
ErrorsILLEGAL_STATEsyntax is not a COORDINATE
NULL_ARGUMENT coordinateType is null
CompliancemandatoryThis method must be implemented.
MethodgetAxesForCoordinateType
Description

Gets the number of axes for a given supported coordinate type.

Parametersosid.type.TypecoordinateTypea coordinate Type
Returncardinalthe number of axes
ErrorsILLEGAL_STATEsyntax is not a COORDINATE
NULL_ARGUMENT coordinateType is null
UNSUPPORTED supportsCoordinateType(coordinateType) is false
CompliancemandatoryThis method must be implemented.
MethodgetMinimumCoordinateValues
Description

Gets the minimum coordinate values given supported coordinate type.

Parametersosid.type.TypecoordinateTypea coordinate Type
Returndecimal[]the minimum coordinate values
ErrorsILLEGAL_STATEsyntax is not a COORDINATE
NULL_ARGUMENT coordinateType is null
UNSUPPORTED supportsCoordinateType(coordinateType) is false
CompliancemandatoryThis method must be implemented.
MethodgetMaximumCoordinateValues
Description

Gets the maximum coordinate values given supported coordinate type.

Parametersosid.type.TypecoordinateTypea coordinate Type
Returndecimal[]the maximum coordinate values
ErrorsILLEGAL_STATEsyntax is not a COORDINATE
NULL_ARGUMENT coordinateType is null
UNSUPPORTED supportsCoordinateType(coordinateType) is false
CompliancemandatoryThis method must be implemented.
MethodgetCoordinateSet
Description

Gets the set of acceptable coordinate values.

Returnosid.mapping.Coordinate[]a set of coordinates or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a COORDINATE
CompliancemandatoryThis method must be implemented.
MethodgetDefaultCoordinateValues
Description

Gets the default coordinate values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returnosid.mapping.Coordinate[]the default coordinate values
ErrorsILLEGAL_STATEsyntax is not a COORDINATE or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingCoordinateValues
Description

Gets the existing coordinate values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returnosid.mapping.Coordinate[]the existing coordinate values
ErrorsILLEGAL_STATEsyntax is not a COORDINATE or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetCurrencyTypes
Description

Gets the set of acceptable currency types.

Returnosid.type.Type[]the set of currency types
ErrorsILLEGAL_STATEsyntax is not a CURRENCY
CompliancemandatoryThis method must be implemented.
MethodsupportsCurrencyType
Description

Tests if the given currency type is supported.

Parametersosid.type.TypecurrencyTypea currency Type
Returnboolean true if the type is supported, false otherwise
ErrorsILLEGAL_STATEsyntax is not a CURRENCY
NULL_ARGUMENT currencyType is null
CompliancemandatoryThis method must be implemented.
MethodgetMinimumCurrency
Description

Gets the minimum currency value.

Returnosid.financials.Currencythe minimum currency
ErrorsILLEGAL_STATEsyntax is not a CURRENCY
CompliancemandatoryThis method must be implemented.
MethodgetMaximumCurrency
Description

Gets the maximum currency value.

Returnosid.financials.Currencythe maximum currency
ErrorsILLEGAL_STATEsyntax is not a CURRENCY
CompliancemandatoryThis method must be implemented.
MethodgetCurrencySet
Description

Gets the set of acceptable currency values.

Returnosid.financials.Currency[]a set of currencies or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a CURRENCY
CompliancemandatoryThis method must be implemented.
MethodgetDefaultCurrencyValues
Description

Gets the default currency values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returnosid.financials.Currency[]the default currency values
ErrorsILLEGAL_STATEsyntax is not a CURRENCY or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingCurrencyValues
Description

Gets the existing currency values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returnosid.financials.Currency[]the existing currency values
ErrorsILLEGAL_STATEsyntax is not a CURRENCY or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetDateTimeResolution
Description

Gets the smallest resolution of the date time value.

Returnosid.calendaring.DateTimeResolutionthe resolution
ErrorsILLEGAL_STATEsyntax is not a DATETIME, DURATION , or TIME
CompliancemandatoryThis method must be implemented.
MethodgetCalendarTypes
Description

Gets the set of acceptable calendar types.

Returnosid.type.Type[]the set of calendar types
ErrorsILLEGAL_STATEsyntax is not a DATETIME or DURATION
CompliancemandatoryThis method must be implemented.
MethodsupportsCalendarType
Description

Tests if the given calendar type is supported.

Parametersosid.type.TypecalendarTypea calendar Type
Returnboolean true if the type is supported, false otherwise
ErrorsILLEGAL_STATEsyntax is not a DATETIME or DURATION
NULL_ARGUMENT calendarType is null
CompliancemandatoryThis method must be implemented.
MethodgetTimeTypes
Description

Gets the set of acceptable time types.

Returnosid.type.Type[]a set of time types or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a DATETIME, DURATION, or TIME
CompliancemandatoryThis method must be implemented.
MethodsupportsTimeType
Description

Tests if the given time type is supported.

Parametersosid.type.TypetimeTypea time Type
Returnboolean true if the type is supported, false otherwise
ErrorsILLEGAL_STATEsyntax is not a DATETIME, DURATION, or TIME
NULL_ARGUMENT timeType is null
CompliancemandatoryThis method must be implemented.
MethodgetMinimumDateTime
Description

Gets the minimum date time value.

Returnosid.calendaring.DateTimethe minimum value
ErrorsILLEGAL_STATEsyntax is not a DATETIME
CompliancemandatoryThis method must be implemented.
MethodgetMaximumDateTime
Description

Gets the maximum date time value.

Returnosid.calendaring.DateTimethe maximum value
ErrorsILLEGAL_STATEsyntax is not a DATETIME
CompliancemandatoryThis method must be implemented.
MethodgetDateTimeSet
Description

Gets the set of acceptable date time values.

Returnosid.calendaring.DateTime[]a set of values or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a DATETIME
CompliancemandatoryThis method must be implemented.
MethodgetDefaultDateTimeValues
Description

Gets the default date time values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returnosid.calendaring.DateTime[]the default date time values
ErrorsILLEGAL_STATEsyntax is not a DATETIME or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingDateTimeValues
Description

Gets the existing date time values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returnosid.calendaring.DateTime[]the existing date time values
ErrorsILLEGAL_STATEsyntax is not a DATETIME or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetDecimalScale
Description

Gets the number of digits to the right of the decimal point.

Returncardinalthe scale
ErrorsILLEGAL_STATEsyntax is not a DECIMAL
CompliancemandatoryThis method must be implemented.
MethodgetMinimumDecimal
Description

Gets the minimum decimal value.

Returndecimalthe minimum decimal
ErrorsILLEGAL_STATEsyntax is not a DECIMAL
CompliancemandatoryThis method must be implemented.
MethodgetMaximumDecimal
Description

Gets the maximum decimal value.

Returndecimalthe maximum decimal
ErrorsILLEGAL_STATEsyntax is not a DECIMAL
CompliancemandatoryThis method must be implemented.
MethodgetDecimalSet
Description

Gets the set of acceptable decimal values.

Returndecimal[]a set of decimals or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a DECIMAL
CompliancemandatoryThis method must be implemented.
MethodgetDefaultDecimalValues
Description

Gets the default decimal values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returndecimal[]the default decimal values
ErrorsILLEGAL_STATEsyntax is not a DECIMAL or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingDecimalValues
Description

Gets the existing decimal values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returndecimal[]the existing decimal values
ErrorsILLEGAL_STATEsyntax is not a DECIMAL or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetDistanceResolution
Description

Gets the smallest resolution of the distance value.

Returnosid.mapping.DistanceResolutionthe resolution
ErrorsILLEGAL_STATEsyntax is not a DISTANCE
CompliancemandatoryThis method must be implemented.
MethodgetMinimumDistance
Description

Gets the minimum distance value.

Returnosid.mapping.Distancethe minimum value
ErrorsILLEGAL_STATEsyntax is not a DISTANCE
CompliancemandatoryThis method must be implemented.
MethodgetMaximumDistance
Description

Gets the maximum distance value.

Returnosid.mapping.Distancethe maximum value
ErrorsILLEGAL_STATEsyntax is not a DISTANCE
CompliancemandatoryThis method must be implemented.
MethodgetDistanceSet
Description

Gets the set of acceptable distance values.

Returnosid.mapping.Distance[]a set of values or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a DISTANCE
CompliancemandatoryThis method must be implemented.
MethodgetDefaultDistanceValues
Description

Gets the default distance values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returnosid.mapping.Distance[]the default distance values
ErrorsILLEGAL_STATEsyntax is not a DISTANCE or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingDistanceValues
Description

Gets the existing distance values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returnosid.mapping.Distance[]the existing distance values
ErrorsILLEGAL_STATEsyntax is not a DISTANCE or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetMinimumDuration
Description

Gets the minimum duration.

Returnosid.calendaring.Durationthe minimum duration
ErrorsILLEGAL_STATEsyntax is not a DURATION
CompliancemandatoryThis method must be implemented.
MethodgetMaximumDuration
Description

Gets the maximum duration.

Returnosid.calendaring.Durationthe maximum duration
ErrorsILLEGAL_STATEsyntax is not a DURATION
CompliancemandatoryThis method must be implemented.
MethodgetDurationSet
Description

Gets the set of acceptable duration values.

Returnosid.calendaring.Duration[]a set of durations or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a DURATION
CompliancemandatoryThis method must be implemented.
MethodgetDefaultDurationValues
Description

Gets the default duration values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most at most a single value.

Returnosid.calendaring.Duration[]the default duration values
ErrorsILLEGAL_STATEsyntax is not a DURATION or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingDurationValues
Description

Gets the existing duration values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returnosid.calendaring.Duration[]the existing duration values
ErrorsILLEGAL_STATEsyntax is not a DURATION or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetHeadingTypes
Description

Gets the set of acceptable heading types.

Returnosid.type.Type[]a set of heading types or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a HEADING
CompliancemandatoryThis method must be implemented.
MethodsupportsHeadingType
Description

Tests if the given heading type is supported.

Parametersosid.type.TypeheadingTypea heading Type
Returnboolean true if the type is supported, false otherwise
ErrorsILLEGAL_STATEsyntax is not a HEADING
NULL_ARGUMENT headingType is null
CompliancemandatoryThis method must be implemented.
MethodgetAxesForHeadingType
Description

Gets the number of axes for a given supported heading type.

Parametersosid.type.TypeheadingTypea heading Type
Returncardinalthe number of axes
ErrorsILLEGAL_STATEsyntax is not a HEADING
NULL_ARGUMENT headingType is null
UNSUPPORTED supportsHeadingType(headingType) is false
CompliancemandatoryThis method must be implemented.
MethodgetMinimumHeadingValues
Description

Gets the minimum heading values given supported heading type.

Parametersosid.type.TypeheadingTypea heading Type
Returndecimal[]the minimum heading values
ErrorsILLEGAL_STATEsyntax is not a HEADING
NULL_ARGUMENT headingType is null
UNSUPPORTED supportsHeadingType(headingType) is false
CompliancemandatoryThis method must be implemented.
MethodgetMaximumHeadingValues
Description

Gets the maximum heading values given supported heading type.

Parametersosid.type.TypeheadingTypea heading Type
Returndecimal[]the maximum heading values
ErrorsILLEGAL_STATEsyntax is not a HEADING
NULL_ARGUMENT headingType is null
UNSUPPORTED supportsHeadingType(headingType) is false
CompliancemandatoryThis method must be implemented.
MethodgetHeadingSet
Description

Gets the set of acceptable heading values.

Returnosid.mapping.Heading[]the set of heading
ErrorsILLEGAL_STATEsyntax is not a HEADING
CompliancemandatoryThis method must be implemented.
MethodgetDefaultHeadingValues
Description

Gets the default heading values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returnosid.mapping.Heading[]the default heading values
ErrorsILLEGAL_STATEsyntax is not a HEADING or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingHeadingValues
Description

Gets the existing heading values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returnosid.mapping.Heading[]the existing heading values
ErrorsILLEGAL_STATEsyntax is not a HEADING or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetIdSet
Description

Gets the set of acceptable Ids.

Returnosid.id.Id[]a set of Ids or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not an ID
CompliancemandatoryThis method must be implemented.
MethodgetDefaultIdValues
Description

Gets the default Id values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returnosid.id.Id[]the default Id values
ErrorsILLEGAL_STATEsyntax is not an ID or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingIdValues
Description

Gets the existing Id values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returnosid.id.Id[]the existing Id values
ErrorsILLEGAL_STATEsyntax is not an ID
CompliancemandatoryThis method must be implemented.
MethodgetMinimumInteger
Description

Gets the minimum integer value.

Returnintegerthe minimum value
ErrorsILLEGAL_STATEsyntax is not an INTEGER
CompliancemandatoryThis method must be implemented.
MethodgetMaximumInteger
Description

Gets the maximum integer value.

Returnintegerthe maximum value
ErrorsILLEGAL_STATEsyntax is not an INTEGER
CompliancemandatoryThis method must be implemented.
MethodgetIntegerSet
Description

Gets the set of acceptable integer values.

Returninteger[]a set of values or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not an INTEGER
CompliancemandatoryThis method must be implemented.
MethodgetDefaultIntegerValues
Description

Gets the default integer values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returninteger[]the default integer values
ErrorsILLEGAL_STATEsyntax is not an INTEGER or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingIntegerValues
Description

Gets the existing integer values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returninteger[]the existing integer values
ErrorsILLEGAL_STATEsyntax is not a INTEGER or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetObjectTypes
Description

Gets the set of acceptable Types for an arbitrary object.

Returnosid.type.Type[]a set of Types or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not an OBJECT
CompliancemandatoryThis method must be implemented.
MethodsupportsObjectType
Description

Tests if the given object type is supported.

Parametersosid.type.TypeobjectTypean object Type
Returnboolean true if the type is supported, false otherwise
ErrorsILLEGAL_STATEsyntax is not an OBJECT
NULL_ARGUMENT objectType is null
CompliancemandatoryThis method must be implemented.
MethodgetObjectSet
Description

Gets the set of acceptable object values.

Returnobject[]a set of values or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not an OBJECT
CompliancemandatoryThis method must be implemented.
MethodgetDefaultObjectValues
Description

Gets the default object values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returnobject[]the default object values
ErrorsILLEGAL_STATEsyntax is not an OBJECT or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingObjectValues
Description

Gets the existing object values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returnobject[]the existing object values
ErrorsILLEGAL_STATEsyntax is not an OBJECT or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetSpatialUnitRecordTypes
Description

Gets the set of acceptable spatial unit record types.

Returnosid.type.Type[]the set of spatial unit types
ErrorsILLEGAL_STATEsyntax is not SPATIALUNIT
CompliancemandatoryThis method must be implemented.
MethodsupportsSpatialUnitRecordType
Description

Tests if the given spatial unit record type is supported.

Parametersosid.type.TypespatialUnitRecordTypea spatial unit record Type
Returnboolean true if the type is supported, false otherwise
ErrorsILLEGAL_STATEsyntax is not an SPATIALUNIT
NULL_ARGUMENT spatialUnitRecordType is null
CompliancemandatoryThis method must be implemented.
MethodgetSpatialUnitSet
Description

Gets the set of acceptable spatial unit values.

Returnosid.mapping.SpatialUnit[]a set of spatial units or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a SPATIALUNIT
CompliancemandatoryThis method must be implemented.
MethodgetDefaultSpatialUnitValues
Description

Gets the default spatial unit values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returnosid.mapping.SpatialUnit[]the default spatial unit values
ErrorsILLEGAL_STATEsyntax is not a SPATIALUNIT or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingSpatialUnitValues
Description

Gets the existing spatial unit values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returnosid.mapping.SpatialUnit[]the existing spatial unit values
ErrorsILLEGAL_STATEsyntax is not a SPATIALUNIT or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetMinimumSpeed
Description

Gets the minimum speed value.

Returnosid.mapping.Speedthe minimum speed
ErrorsILLEGAL_STATEsyntax is not a SPEED
CompliancemandatoryThis method must be implemented.
MethodgetMaximumSpeed
Description

Gets the maximum speed value.

Returnosid.mapping.Speedthe maximum speed
ErrorsILLEGAL_STATEsyntax is not a SPEED
CompliancemandatoryThis method must be implemented.
MethodgetSpeedSet
Description

Gets the set of acceptable speed values.

Returnosid.mapping.Speed[]a set of speeds or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a SPEED
CompliancemandatoryThis method must be implemented.
MethodgetDefaultSpeedValues
Description

Gets the default speed values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returnosid.mapping.Speed[]the default speed values
ErrorsILLEGAL_STATEsyntax is not a SPEED or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingSpeedValues
Description

Gets the existing speed values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returnosid.mapping.Speed[]the existing speed values
ErrorsILLEGAL_STATEsyntax is not a SPEED or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetMinimumStringLength
Description

Gets the minimum string length.

Returncardinalthe minimum string length
ErrorsILLEGAL_STATEsyntax is not a STRING
CompliancemandatoryThis method must be implemented.
MethodgetMaximumStringLength
Description

Gets the maximum string length.

Returncardinalthe maximum string length
ErrorsILLEGAL_STATEsyntax is not a STRING
CompliancemandatoryThis method must be implemented.
MethodgetStringMatchTypes
Description

Gets the set of valid string match types for use in validating a string. If the string match type indicates a regular expression then getStringExpression() returns a regular expression.

Returnosid.type.Type[]the set of string match types
ErrorsILLEGAL_STATEsyntax is not a STRING
CompliancemandatoryThis method must be implemented.
MethodsupportsStringMatchType
Description

Tests if the given string match type is supported.

Parametersosid.type.TypestringMatchTypea string match type
Returnboolean true if the given string match type Is supported, false otherwise
ErrorsILLEGAL_STATEsyntax is not a STRING
NULL_ARGUMENT stringMatchType is null
CompliancemandatoryThis method must be implemented.
MethodgetStringExpression
Description

Gets the regular expression of an acceptable string for the given string match type.

Parametersosid.type.TypestringMatchTypea string match type
Returnstringthe regular expression
ErrorsNULL_ARGUMENT stringMatchType is null
ILLEGAL_STATEsyntax is not a STRING
UNSUPPORTED supportsStringMatchType(stringMatchType ) is false
CompliancemandatoryThis method must be implemented.
MethodgetStringFormatTypes
Description

Gets the set of valid string formats.

Returnosid.type.Type[]the set of valid text format types
ErrorsILLEGAL_STATEsyntax is not a STRING
CompliancemandatoryThis method must be implemented.
MethodgetStringSet
Description

Gets the set of acceptable string values.

Returnstring[]a set of strings or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a STRING
CompliancemandatoryThis method must be implemented.
MethodgetDefaultStringValues
Description

Gets the default string values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returnstring[]the default string values
ErrorsILLEGAL_STATEsyntax is not a STRING or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingStringValues
Description

Gets the existing string values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returnstring[]the existing string values
ErrorsILLEGAL_STATEsyntax is not a STRING or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetMinimumTime
Description

Gets the minimum time value.

Returnosid.calendaring.Timethe minimum time
ErrorsILLEGAL_STATEsyntax is not a TIME
CompliancemandatoryThis method must be implemented.
MethodgetMaximumTime
Description

Gets the maximum time value.

Returnosid.calendaring.Timethe maximum time
ErrorsILLEGAL_STATEsyntax is not a TIME
CompliancemandatoryThis method must be implemented.
MethodgetTimeSet
Description

Gets the set of acceptable time values.

Returnosid.calendaring.Time[]a set of times or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a TIME
CompliancemandatoryThis method must be implemented.
MethodgetDefaultTimeValues
Description

Gets the default time values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returnosid.calendaring.Time[]the default time values
ErrorsILLEGAL_STATEsyntax is not a TIME or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingTimeValues
Description

Gets the existing time values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returnosid.calendaring.Time[]the existing time values
ErrorsILLEGAL_STATEsyntax is not a TIME or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetTypeSet
Description

Gets the set of acceptable Types.

Returnosid.type.Type[]a set of Types or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a TYPE
CompliancemandatoryThis method must be implemented.
MethodgetDefaultTypeValues
Description

Gets the default type values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returnosid.type.Type[]the default type values
ErrorsILLEGAL_STATEsyntax is not a TYPE or isRequired() is true
CompliancemandatoryThis method must be implemented.
MethodgetExistingTypeValues
Description

Gets the existing type values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returnosid.type.Type[]the existing type values
ErrorsILLEGAL_STATEsyntax is not a TYPE or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetVersionTypes
Description

Gets the set of acceptable version types.

Returnosid.type.Type[]the set of version types
ErrorsILLEGAL_STATEsyntax is not a VERSION
CompliancemandatoryThis method must be implemented.
MethodsupportsVersionType
Description

Tests if the given version type is supported.

Parametersosid.type.TypeversionTypea version Type
Returnboolean true if the type is supported, false otherwise
ErrorsILLEGAL_STATEsyntax is not a VERSION
NULL_ARGUMENT versionType is null
CompliancemandatoryThis method must be implemented.
MethodgetMinimumVersion
Description

Gets the minumim acceptable Version.

Returnosid.installation.Versionthe minumim Version
ErrorsILLEGAL_STATEsyntax is not a VERSION
CompliancemandatoryThis method must be implemented.
MethodgetMaximumVersion
Description

Gets the maximum acceptable Version.

Returnosid.installation.Versionthe maximum Version
ErrorsILLEGAL_STATEsyntax is not a VERSION
CompliancemandatoryThis method must be implemented.
MethodgetVersionSet
Description

Gets the set of acceptable Versions.

Returnosid.installation.Version[]a set of Versions or an empty array if not restricted
ErrorsILLEGAL_STATEsyntax is not a VERSION
CompliancemandatoryThis method must be implemented.
MethodgetDefaultVersionValues
Description

Gets the default version values. These are the values used if the element value is not provided or is cleared. If isArray() is false, then this method returns at most a single value.

Returnosid.installation.Version[]the default version values
ErrorsILLEGAL_STATEsyntax is not a TIME or isValueKnown() is false
CompliancemandatoryThis method must be implemented.
MethodgetExistingVersionValues
Description

Gets the existing version values. If hasValue() and isRequired() are false, then these values are the default values . If isArray() is false, then this method returns at most a single value.

Returnosid.installation.Version[]the existing version values
ErrorsILLEGAL_STATEsyntax is not a VERSION or isValueKnown() is false
CompliancemandatoryThis method must be implemented.