Package com.luciad.ogc.ows.model
Class TLcdOWSCode
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.ows.model.TLcdOWSCode
- All Implemented Interfaces:
ILcdDataObject
,ILcdGML3Code
,ILcdCloneable
,ILcdDeepCloneable
,ILcdISO19103Code
,Cloneable
- Direct Known Subclasses:
TLcdOWSNilValue
Name or code with an (optional) authority.
If the codeSpace property is set, its value should reference a dictionary, thesaurus, or authority for the name or code, such as the organisation who assigned the value, or the dictionary from which it is taken.
This type is copied from basicTypes.xsd of GML 3 with documentation edited, for possible use outside the ServiceIdentification section of a service metadata document.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to thecodeSpace
attribute.static final TLcdDataProperty
Data property that maps to the value defined by the simple content. -
Constructor Summary
ConstructorDescriptionTLcdOWSCode
(TLcdDataType aType) TLcdOWSCode
(String aCode) Creates an instance for a given code. -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Gets the Value.Returns the value of the property that maps to thecodeSpace
attribute.getName()
Human readable form of a code.Returns the value of the property that maps to the value defined by the simple content.void
Sets the Value.void
setCodeSpace
(String aValue) Sets the value of the property that maps to thecodeSpace
attribute.void
setValueObject
(String aValue) Sets the value of the property that maps to the value defined by the simple content.toString()
Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.format.gml3.model.base.ILcdGML3Code
getCodeSpace, setCodeSpace
-
Field Details
-
VALUE_PROPERTY
Data property that maps to the value defined by the simple content. The possible values for this property are instances ofString
. -
CODE_SPACE_PROPERTY
Data property that maps to thecodeSpace
attribute. The possible values for this property are instances ofString
.
-
-
Constructor Details
-
TLcdOWSCode
public TLcdOWSCode() -
TLcdOWSCode
- Since:
- 2017.0
-
TLcdOWSCode
Creates an instance for a given code.- Parameters:
aCode
- the given code.
-
-
Method Details
-
getCode
Gets the Value.- Specified by:
getCode
in interfaceILcdGML3Code
- Returns:
- the Value.
-
setCode
Sets the Value.- Specified by:
setCode
in interfaceILcdGML3Code
- Parameters:
aValue
- the Value to be set.
-
getName
Description copied from interface:ILcdISO19103Code
Human readable form of a code.- Specified by:
getName
in interfaceILcdISO19103Code
- Returns:
- a string representation of a code.
-
toString
- Overrides:
toString
in classTLcdDataObject
-
getValueObject
Returns the value of the property that maps to the value defined by the simple content.- Returns:
- the value of the
VALUE_PROPERTY
property.
-
setValueObject
Sets the value of the property that maps to the value defined by the simple content.- Parameters:
aValue
- the value to set for theVALUE_PROPERTY
property.
-
getCodeSpace
Returns the value of the property that maps to thecodeSpace
attribute.- Returns:
- the value of the
CODE_SPACE_PROPERTY
property.
-
setCodeSpace
Sets the value of the property that maps to thecodeSpace
attribute.- Parameters:
aValue
- the value to set for theCODE_SPACE_PROPERTY
property.
-