public class TLcdOWSCode extends TLcdDataObject implementsILcdGML3Code, ILcdISO19103Code
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.
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
CODE_SPACE_PROPERTY
Data property that maps to the
codeSpace attribute. |
static TLcdDataProperty |
VALUE_PROPERTY
Data property that maps to the value defined by the simple content.
|
Constructor and Description |
---|
TLcdOWSCode() |
TLcdOWSCode(String aCode)
Creates an instance for a given code.
|
TLcdOWSCode(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Gets the Value.
|
String |
getCodeSpace()
Returns the value of the property that maps to the
codeSpace attribute. |
String |
getName()
Human readable form of a code.
|
String |
getValueObject()
Returns the value of the property that maps to the value defined by the simple content.
|
void |
setCode(String aValue)
Sets the Value.
|
void |
setCodeSpace(String aValue)
Sets the value of the property that maps to the
codeSpace attribute. |
void |
setValueObject(String aValue)
Sets the value of the property that maps to the value defined by the simple content.
|
String |
toString() |
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCodeSpace, setCodeSpace
public static final TLcdDataProperty VALUE_PROPERTY
String
.public static final TLcdDataProperty CODE_SPACE_PROPERTY
codeSpace
attribute.
The possible values for this property are instances of String
.public TLcdOWSCode()
public TLcdOWSCode(TLcdDataType aType)
public TLcdOWSCode(String aCode)
aCode
- the given code.public String getCode()
getCode
in interface ILcdGML3Code
public void setCode(String aValue)
setCode
in interface ILcdGML3Code
aValue
- the Value to be set.public String getName()
ILcdISO19103Code
getName
in interface ILcdISO19103Code
public String toString()
toString
in class TLcdDataObject
public String getValueObject()
VALUE_PROPERTY
property.public void setValueObject(String aValue)
aValue
- the value to set for the VALUE_PROPERTY
property.public String getCodeSpace()
codeSpace
attribute.CODE_SPACE_PROPERTY
property.public void setCodeSpace(String aValue)
codeSpace
attribute.aValue
- the value to set for the CODE_SPACE_PROPERTY
property.