deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.model.feature
Class DefaultFeatureProperty

java.lang.Object
  extended by org.deegree.model.feature.DefaultFeatureProperty
All Implemented Interfaces:
Serializable, FeatureProperty

 class DefaultFeatureProperty
extends Object
implements FeatureProperty, Serializable

the interface describes a property entry of a feature. It is made of a name and a value associated to it.

---------------------------------------------------------------

Version:
$Revision: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth

Constructor Summary
DefaultFeatureProperty(QualifiedName name, Object value)
          constructor for complete initializing the FeatureProperty
 
Method Summary
 QualifiedName getName()
          returns the qualified name of the property
 Feature getOwner()
          Returns the instance of the Feature a Feature property is assigned to.
 Object getValue()
          returns the value of the property
 Object getValue(Object defaultValue)
          returns the value of the property; if the value is null the passed defaultValuewill be returned
 void setValue(Object value)
          sets the value of the property
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultFeatureProperty

DefaultFeatureProperty(QualifiedName name,
                       Object value)
constructor for complete initializing the FeatureProperty

Parameters:
name - qualified name of the property
value - the properties value
Method Detail

getName

public QualifiedName getName()
returns the qualified name of the property

Specified by:
getName in interface FeatureProperty
Returns:
the qualified name of the property

getValue

public Object getValue()
returns the value of the property

Specified by:
getValue in interface FeatureProperty
Returns:
the value of the property

getValue

public Object getValue(Object defaultValue)
returns the value of the property; if the value is null the passed defaultValuewill be returned

Specified by:
getValue in interface FeatureProperty
Parameters:
defaultValue -
Returns:
the value of the property; if the value is null the passed defaultValuewill be returned

setValue

public void setValue(Object value)
sets the value of the property

Specified by:
setValue in interface FeatureProperty

toString

public String toString()
Overrides:
toString in class Object

getOwner

public Feature getOwner()
Description copied from interface: FeatureProperty
Returns the instance of the Feature a Feature property is assigned to.

Specified by:
getOwner in interface FeatureProperty
Returns:
the instance of the Feature a Feature property is assigned to.

deegree 2.3 (2010/04/09 10:10 build-4-official)

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