|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Property
A spatial or non-spatial property of a Feature
.
Encapsulates a (qualified) name, type information and a value of a certain type.
Feature
Method Summary | |
---|---|
QName |
getName()
Returns the name of the property. |
PropertyType |
getType()
Returns the type information for this property. |
TypedObjectNode |
getValue()
Returns the value of this property. |
void |
setChildren(List<TypedObjectNode> children)
Sets the children of this property. |
void |
setValue(TypedObjectNode value)
Sets the value of this property. |
String |
toString()
Returns the text value of this property. |
Methods inherited from interface org.deegree.commons.tom.ElementNode |
---|
getAttributes, getChildren, getXSType |
Method Detail |
---|
QName getName()
In a canonical GML representation, this corresponds to the property's element name in the declaration. However, there are some GML application schemas (e.g. CityGML) that define properties using abstract element declarations and provide multiple concrete substitutable elements. In these cases, the name of a property is not equal to the name of the property type.
getName
in interface ElementNode
null
PropertyType getType()
null
TypedObjectNode getValue()
null
void setValue(TypedObjectNode value)
NOTE: This also changes the children of the property.
value
- the value of this property, can be null
void setChildren(List<TypedObjectNode> children)
NOTE: This also changes the value of the property.
children
- the children of this property, can be null
String toString()
toString
in class Object
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |