org.deegree.feature.property
Interface Property

All Superinterfaces:
TypedObjectNode
All Known Implementing Classes:
GenericProperty, SimpleProperty

public interface Property
extends TypedObjectNode

A spatial or non-spatial property of a Feature.

Encapsulates a (qualified) name, type information and a value of a certain type.

Version:
$Revision: 26897 $, $Date: 2010-09-21 15:54:03 +0200 (Di, 21. Sep 2010) $
Author:
Markus Schneider , last edited by: $Author: mschneider $
See Also:
Feature

Method Summary
 javax.xml.namespace.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.
 boolean isNilled()
          Returns whether the property is nilled (corresponds to xsi:nil in an XML representation of the property element).
 void setValue(TypedObjectNode value)
          Sets the value of this property.
 java.lang.String toString()
          Returns the text value of this property.
 

Method Detail

getName

javax.xml.namespace.QName getName()
Returns the name of the property.

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.

Returns:
the name of the property, never null

getType

PropertyType getType()
Returns the type information for this property.

Returns:
the type information, never null

isNilled

boolean isNilled()
Returns whether the property is nilled (corresponds to xsi:nil in an XML representation of the property element).

Returns:
true, if the property is nilled, false otherwise

getValue

TypedObjectNode getValue()
Returns the value of this property.

Returns:
the value of this property, can be null

setValue

void setValue(TypedObjectNode value)
Sets the value of this property.

Parameters:
value - the value of this property, can be null

toString

java.lang.String toString()
Returns the text value of this property.

Overrides:
toString in class java.lang.Object
Returns:
the text value of this property, never null


Copyright © 2011. All Rights Reserved.