|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.feature.GenericProperty<T>
T
- public class GenericProperty<T>
TODO add documentation here
Constructor Summary | |
---|---|
GenericProperty(PropertyType<T> declaration,
QName name,
T value)
Creates a new GenericProperty instance that is of type SimplePropertyType . |
|
GenericProperty(PropertyType<T> declaration,
T value)
Creates a new GenericProperty instance that is of type SimplePropertyType . |
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. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GenericProperty(PropertyType<T> declaration, T value)
GenericProperty
instance that is of type SimplePropertyType
.
declaration
- type informationvalue
- property valuepublic GenericProperty(PropertyType<T> declaration, QName name, T value)
GenericProperty
instance that is of type SimplePropertyType
.
declaration
- type informationname
- name of the property (does not necessarily match the name in the type information)value
- property valueMethod Detail |
---|
public QName getName()
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.
getName
in interface Property<T>
null
public T getValue()
Property
getValue
in interface Property<T>
null
if it is nilledpublic PropertyType<T> getType()
Property
getType
in interface Property<T>
null
public String toString()
toString
in class Object
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |