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
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to thecodeSpaceattribute.static final TLcdDataPropertyData property that maps to the value defined by the simple content. -
Constructor Summary
ConstructorsConstructorDescriptionTLcdOWSCode(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 thecodeSpaceattribute.getName()Human readable form of a code.Returns the value of the property that maps to the value defined by the simple content.voidSets the Value.voidsetCodeSpace(String aValue) Sets the value of the property that maps to thecodeSpaceattribute.voidsetValueObject(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, setValueMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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 thecodeSpaceattribute. 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:
getCodein interfaceILcdGML3Code- Returns:
- the Value.
-
setCode
Sets the Value.- Specified by:
setCodein interfaceILcdGML3Code- Parameters:
aValue- the Value to be set.
-
getName
Description copied from interface:ILcdISO19103CodeHuman readable form of a code.- Specified by:
getNamein interfaceILcdISO19103Code- Returns:
- a string representation of a code.
-
toString
- Overrides:
toStringin classTLcdDataObject
-
getValueObject
Returns the value of the property that maps to the value defined by the simple content.- Returns:
- the value of the
VALUE_PROPERTYproperty.
-
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_PROPERTYproperty.
-
getCodeSpace
Returns the value of the property that maps to thecodeSpaceattribute.- Returns:
- the value of the
CODE_SPACE_PROPERTYproperty.
-
setCodeSpace
Sets the value of the property that maps to thecodeSpaceattribute.- Parameters:
aValue- the value to set for theCODE_SPACE_PROPERTYproperty.
-