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

public class TLcdOWSCode extends TLcdDataObject implements ILcdGML3Code, ILcdISO19103Code
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 Details

    • VALUE_PROPERTY

      public static final TLcdDataProperty VALUE_PROPERTY
      Data property that maps to the value defined by the simple content. The possible values for this property are instances of String.
    • CODE_SPACE_PROPERTY

      public static final TLcdDataProperty CODE_SPACE_PROPERTY
      Data property that maps to the codeSpace attribute. The possible values for this property are instances of String.
  • Constructor Details

    • TLcdOWSCode

      public TLcdOWSCode()
    • TLcdOWSCode

      public TLcdOWSCode(TLcdDataType aType)
      Since:
      2017.0
    • TLcdOWSCode

      public TLcdOWSCode(String aCode)
      Creates an instance for a given code.
      Parameters:
      aCode - the given code.
  • Method Details

    • getCode

      public String getCode()
      Gets the Value.
      Specified by:
      getCode in interface ILcdGML3Code
      Returns:
      the Value.
    • setCode

      public void setCode(String aValue)
      Sets the Value.
      Specified by:
      setCode in interface ILcdGML3Code
      Parameters:
      aValue - the Value to be set.
    • getName

      public String getName()
      Description copied from interface: ILcdISO19103Code
      Human readable form of a code.
      Specified by:
      getName in interface ILcdISO19103Code
      Returns:
      a string representation of a code.
    • toString

      public String toString()
      Overrides:
      toString in class TLcdDataObject
    • getValueObject

      public String 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

      public void setValueObject(String aValue)
      Sets the value of the property that maps to the value defined by the simple content.
      Parameters:
      aValue - the value to set for the VALUE_PROPERTY property.
    • getCodeSpace

      public String getCodeSpace()
      Returns the value of the property that maps to the codeSpace attribute.
      Returns:
      the value of the CODE_SPACE_PROPERTY property.
    • setCodeSpace

      public void setCodeSpace(String aValue)
      Sets the value of the property that maps to the codeSpace attribute.
      Parameters:
      aValue - the value to set for the CODE_SPACE_PROPERTY property.