org.deegree.gml
Interface GMLProperty

All Known Subinterfaces:
GMLComplexProperty, GMLFeatureProperty, GMLGeoProperty
All Known Implementing Classes:
GMLComplexProperty_Impl, GMLFeatureProperty_Impl, GMLGeoProperty_Impl, GMLProperty_Impl

public interface GMLProperty

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

Version:
07.02.2001

Author:
Andreas Poth

Field Summary
static int BOX
           
static int FEATURE
           
static int FEATURECOLLECTION
           
static int GEOMETRY
           
static int LINESTRING
           
static int MULTIGEOMETRY
           
static int MULTILINESTRING
           
static int MULTIPOINT
           
static int MULTIPOLYGON
           
static int POINT
           
static int POLYGON
           
static int STRING
           
static int UNKNOWNTYPE
           
 
Method Summary
 java.lang.String getName()
          returns the name of the property
 int getPropertyType()
          returns the type of a property.
 java.lang.Object getPropertyValue()
          returns the value of the property
 void setPropertyValue(java.lang.String value)
           
 

Field Detail

STRING

public static final int STRING
See Also:
Constant Field Values

GEOMETRY

public static final int GEOMETRY
See Also:
Constant Field Values

POINT

public static final int POINT
See Also:
Constant Field Values

LINESTRING

public static final int LINESTRING
See Also:
Constant Field Values

POLYGON

public static final int POLYGON
See Also:
Constant Field Values

MULTIPOINT

public static final int MULTIPOINT
See Also:
Constant Field Values

MULTILINESTRING

public static final int MULTILINESTRING
See Also:
Constant Field Values

MULTIPOLYGON

public static final int MULTIPOLYGON
See Also:
Constant Field Values

MULTIGEOMETRY

public static final int MULTIGEOMETRY
See Also:
Constant Field Values

FEATURE

public static final int FEATURE
See Also:
Constant Field Values

FEATURECOLLECTION

public static final int FEATURECOLLECTION
See Also:
Constant Field Values

BOX

public static final int BOX
See Also:
Constant Field Values

UNKNOWNTYPE

public static final int UNKNOWNTYPE
See Also:
Constant Field Values
Method Detail

getName

public java.lang.String getName()
returns the name of the property


getPropertyType

public int getPropertyType()
returns the type of a property.

this method may be removed in future definitions of this interface because this can be determined by validiating the property name against the describing schema.


getPropertyValue

public java.lang.Object getPropertyValue()
returns the value of the property


setPropertyValue

public void setPropertyValue(java.lang.String value)
See Also:
#getPropertyValue()

This set-method only supports text propetries. More complex property types must be inherited from this interface and define additional set-methods.