public class TLcdKML22SimpleField extends TLcdDataObject
OGC KML Specification description:
Specifies a user-defined field. The name and type attributes shall be specified.
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
DISPLAY_NAME_PROPERTY
Data property that maps to the
displayName element. |
static TLcdDataProperty |
NAME_PROPERTY
Data property that maps to the
name attribute. |
static TLcdDataProperty |
SIMPLE_FIELD_EXTENSION_PROPERTY
Data property that maps to the
SimpleFieldExtension element. |
static TLcdDataProperty |
TYPE_PROPERTY
Data property that maps to the
type attribute. |
Constructor and Description |
---|
TLcdKML22SimpleField() |
TLcdKML22SimpleField(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Returns the value of the property that maps to the
displayName element. |
String |
getName()
Returns the value of the property that maps to the
name attribute. |
List<Object> |
getSimpleFieldExtension()
Returns the value of the property that maps to the
SimpleFieldExtension element. |
String |
getType()
Returns the value of the property that maps to the
type attribute. |
void |
setDisplayName(String aValue)
Sets the value of the property that maps to the
displayName element. |
void |
setName(String aValue)
Sets the value of the property that maps to the
name attribute. |
void |
setType(String aValue)
Sets the value of the property that maps to the
type attribute. |
public static final TLcdDataProperty NAME_PROPERTY
name
attribute.
The possible values for this property are instances of String
.public static final TLcdDataProperty TYPE_PROPERTY
type
attribute.
The possible values for this property are the public QName
constants defined in this class.public static final TLcdDataProperty DISPLAY_NAME_PROPERTY
displayName
element.
The possible values for this property are instances of String
.public static final TLcdDataProperty SIMPLE_FIELD_EXTENSION_PROPERTY
SimpleFieldExtension
element.
The possible values for this property are instances of List<Object>
.public TLcdKML22SimpleField()
public TLcdKML22SimpleField(TLcdDataType aType)
public String getName()
name
attribute.NAME_PROPERTY
property.public void setName(String aValue)
name
attribute.aValue
- the value to set for the NAME_PROPERTY
property.public String getType()
type
attribute.
The possible values for this property are the public QName
constants defined in this class.
TYPE_PROPERTY
property.public void setType(String aValue)
type
attribute.
The possible values for this property are the public QName
constants defined in this class.
aValue
- the value to set for the TYPE_PROPERTY
property.public String getDisplayName()
displayName
element.DISPLAY_NAME_PROPERTY
property.public void setDisplayName(String aValue)
displayName
element.aValue
- the value to set for the DISPLAY_NAME_PROPERTY
property.public List<Object> getSimpleFieldExtension()
SimpleFieldExtension
element.SIMPLE_FIELD_EXTENSION_PROPERTY
property.