Package com.luciad.ogc.wcs.common.model
Class TLcdWCSRangeSet
java.lang.Object
com.luciad.ogc.wcs.common.model.TLcdWCSAbstractDescriptionBase
com.luciad.ogc.wcs.common.model.TLcdWCSAbstractDescription
com.luciad.ogc.wcs.common.model.TLcdWCSRangeSet
- All Implemented Interfaces:
ILcdGML3AbstractGML
,ILcdGML3StandardObjectProperties
Defines the properties (categories, measures, or values) assigned to each location in the domain.
Any such property may be a scalar (numeric or text) value, such as population density, or a compound
(vector or tensor) value, such as incomes by race, or radiances by wavelength.
The semantic of the range set is typically an observable and is referenced by a URI.
A rangeSet also has a reference system that is reffered by the URI in the refSys attribute.
The refSys is either qualitative (classification) or quantitative (uom).
The three attributes can be included either here and in each axisDescription.
If included in both places, the values in the axisDescription over-ride those included in the RangeSet.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAxisDescription
(TLcdWCSAxisDescription aAxisDescription) Adds an axis description.void
addName
(ILcdGML3Code aName) Adds a name.getAxisDescription
(int aIndex) Returns the axis description at a given position.int
Returns the number of axis descriptions.Returns the description of this GML object.getId()
Returns the id of this object.getMetaDataProperty
(int aIndex) Returns the metadata property at the given index, contained in this GML object.int
Returns the number of metadata properties contained in this GML object.getName
(int aIndex) Gets the name at a given position.int
Gets the number of names.Returns the null values.Returns the reference system.Returns the reference system label.Returns the semantic.void
removeAxisDescription
(int aIndex) Removes the axis description at a given position.void
removeMetaDataProperty
(int aIndex) Removes the meta data property at a given position.void
removeName
(int aIndex) Removes the name at a given position.void
setDescription
(ILcdGML3StringOrRef aDescription) Sets the description of this GML object.void
Sets the id of this object.void
setMetaDataProperties
(ILcdGML3MetaDataProperty[] aILcdGML3MetaDataProperties) Sets the metadata properties to be contained in this GML object.void
setNames
(ILcdGML3Code[] aILcdGML3Codes) Sets the names for this GML object.void
setNullValues
(TLcdWCSValueEnum aNullValues) Sets the null values.void
Sets the reference system.void
setRefSysLabel
(String aRefSysLabel) Sets the reference system label.void
setSemantic
(String aSemantic) Sets the semantic.Methods inherited from class com.luciad.ogc.wcs.common.model.TLcdWCSAbstractDescription
getLabel, getName, getWCSDescription, setLabel, setName, setWCSDescription
Methods inherited from class com.luciad.ogc.wcs.common.model.TLcdWCSAbstractDescriptionBase
addMetadataLink, addMetaDataProperty, getMetadataLink, getMetadataLinkCount, removeMetadataLink
-
Constructor Details
-
TLcdWCSRangeSet
public TLcdWCSRangeSet()
-
-
Method Details
-
getRefSys
Returns the reference system. Pointer to the reference system in which values are expressed.- Returns:
- the reference system.
-
setRefSys
Sets the reference system. Pointer to the reference system in which values are expressed.- Parameters:
aRefSys
- the ref sys to be set.
-
getRefSysLabel
Returns the reference system label. Short human-readable label denoting the reference system, for human interface display.- Returns:
- the reference system label.
-
setRefSysLabel
Sets the reference system label. Short human-readable label denoting the reference system, for human interface display.- Parameters:
aRefSysLabel
- the reference system label to be set.
-
getSemantic
Returns the semantic. Definition of the semantics or meaning of the values.- Returns:
- the semantic.
-
setSemantic
Sets the semantic. Definition of the semantics or meaning of the values.- Parameters:
aSemantic
- the semantic to be set.
-
addAxisDescription
Adds an axis description.- Parameters:
aAxisDescription
- the axis description to be added.
-
getAxisDescriptionCount
public int getAxisDescriptionCount()Returns the number of axis descriptions.- Returns:
- the number of axis descriptions.
-
removeAxisDescription
public void removeAxisDescription(int aIndex) Removes the axis description at a given position.- Parameters:
aIndex
- the index of the given position.
-
getAxisDescription
Returns the axis description at a given position.- Parameters:
aIndex
- the index of the given position.- Returns:
- the axis description at the given position.
-
getNullValues
Returns the null values. Values used when valid values are not available. (The coverage encoding may specify a fixed value for null (e.g. "99999" or "N/A"), but often the choice is up to the provider and must be communicated to the client outside of the coverage itself.)- Returns:
- the null values.
-
setNullValues
Sets the null values. Values used when valid values are not available. (The coverage encoding may specify a fixed value for null (e.g. "99999" or "N/A"), but often the choice is up to the provider and must be communicated to the client outside of the coverage itself.)- Parameters:
aNullValues
- the null values to be set.
-
getId
Description copied from interface:ILcdGML3AbstractGML
Returns the id of this object. It is of XML type ID, so is constrained to be unique in the XML document within which it occurs. An external identifier for the object in the form of a URI may be constructed using standard XML and XPointer methods. This is done by concatenating the URI for the document, a fragment separator "#", and the value of the id attribute.- Specified by:
getId
in interfaceILcdGML3AbstractGML
- Returns:
- the id of the object.
-
setId
Description copied from interface:ILcdGML3AbstractGML
Sets the id of this object.- Specified by:
setId
in interfaceILcdGML3AbstractGML
- Parameters:
aId
- the id of this object.
-
getMetaDataPropertyCount
public int getMetaDataPropertyCount()Description copied from interface:ILcdGML3StandardObjectProperties
Returns the number of metadata properties contained in this GML object.- Specified by:
getMetaDataPropertyCount
in interfaceILcdGML3StandardObjectProperties
- Returns:
- the number of metadata properties contained in this GML object.
-
removeMetaDataProperty
public void removeMetaDataProperty(int aIndex) Removes the meta data property at a given position.- Parameters:
aIndex
- the index of the given position.
-
getMetaDataProperty
Description copied from interface:ILcdGML3StandardObjectProperties
Returns the metadata property at the given index, contained in this GML object.- Specified by:
getMetaDataProperty
in interfaceILcdGML3StandardObjectProperties
- Parameters:
aIndex
- the index of the metadata property to be returned.- Returns:
- the metadata property at the given index.
-
getDescription
Description copied from interface:ILcdGML3StandardObjectProperties
Returns the description of this GML object.- Specified by:
getDescription
in interfaceILcdGML3StandardObjectProperties
- Returns:
- the description of this GML object.
-
setDescription
Description copied from interface:ILcdGML3StandardObjectProperties
Sets the description of this GML object.- Specified by:
setDescription
in interfaceILcdGML3StandardObjectProperties
- Parameters:
aDescription
- the description of this GML object.
-
setNames
Description copied from interface:ILcdGML3StandardObjectProperties
Sets the names for this GML object.- Specified by:
setNames
in interfaceILcdGML3StandardObjectProperties
- Parameters:
aILcdGML3Codes
- the names for this GML object.
-
addName
Adds a name.Label for the object, normally a descriptive name. An object may have several names, typically assigned by different authorities. The authority for a name is indicated by the value of its (optional) codeSpace attribute. The name may or may not be unique, as determined by the rules of the organization responsible for the codeSpace.
- Parameters:
aName
- the name to be added.
-
getNameCount
public int getNameCount()Gets the number of names.- Specified by:
getNameCount
in interfaceILcdGML3StandardObjectProperties
- Returns:
- the number of names.
-
setMetaDataProperties
Description copied from interface:ILcdGML3StandardObjectProperties
Sets the metadata properties to be contained in this GML object.- Specified by:
setMetaDataProperties
in interfaceILcdGML3StandardObjectProperties
- Parameters:
aILcdGML3MetaDataProperties
- the metadata properties to be contained in this GML object.
-
removeName
public void removeName(int aIndex) Removes the name at a given position.- Parameters:
aIndex
- the index of the given position.
-
getName
Gets the name at a given position.Label for the object, normally a descriptive name. An object may have several names, typically assigned by different authorities. The authority for a name is indicated by the value of its (optional) codeSpace attribute. The name may or may not be unique, as determined by the rules of the organization responsible for the codeSpace.
- Specified by:
getName
in interfaceILcdGML3StandardObjectProperties
- Parameters:
aIndex
- the index of the given position.- Returns:
- the name at the given position.
-