deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.feature
Interface Property<T>

Type Parameters:
T - The class of the Property's value.
All Known Implementing Classes:
GenericProperty

public interface Property<T>

A spatial or non-spatial property of a Feature.

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

Version:
$Revision: 20852 $, $Date: 2009-11-17 21:21:40 +0100 (Di, 17 Nov 2009) $
Author:
Markus Schneider , last edited by: $Author: mschneider $
See Also:
Feature

Method Summary
 QName getName()
          Returns the name of the property.
 PropertyType<T> getType()
          Returns the type information for this property.
 T getValue()
          Returns the value of this property.
 

Method Detail

getName

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<T> getType()
Returns the type information for this property.

Returns:
the type information, never null

getValue

T getValue()
Returns the value of this property.

Returns:
the value of this property, or null if it is nilled

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>