|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.feature.property.GenericProperty
public class GenericProperty
TODO add documentation here
| Constructor Summary | |
|---|---|
GenericProperty(PropertyType declaration,
javax.xml.namespace.QName name,
TypedObjectNode value)
Creates a new GenericProperty instance. |
|
GenericProperty(PropertyType declaration,
javax.xml.namespace.QName name,
TypedObjectNode value,
boolean isNilled)
Creates a new GenericProperty instance. |
|
GenericProperty(PropertyType declaration,
TypedObjectNode value)
Creates a new GenericProperty instance. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GenericProperty(PropertyType declaration,
TypedObjectNode value)
GenericProperty instance.
declaration - type informationvalue - property value, can be null
public GenericProperty(PropertyType declaration,
javax.xml.namespace.QName name,
TypedObjectNode value)
GenericProperty instance.
declaration - type informationname - name of the property (does not necessarily match the name in the type information)value - property value, can be null
public GenericProperty(PropertyType declaration,
javax.xml.namespace.QName name,
TypedObjectNode value,
boolean isNilled)
GenericProperty instance.
declaration - type informationname - name of the property (does not necessarily match the name in the type information)value - property value, can be nullisNilled - true, if the property is explicitly nilled, false otherwise| Method Detail |
|---|
public javax.xml.namespace.QName getName()
PropertyIn 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 Propertynullpublic boolean isNilled()
Property
isNilled in interface Propertypublic TypedObjectNode getValue()
Property
getValue in interface Propertynullpublic void setValue(TypedObjectNode value)
Property
setValue in interface Propertyvalue - the value of this property, can be nullpublic PropertyType getType()
Property
getType in interface Propertynullpublic java.lang.String toString()
Property
toString in interface PropertytoString in class java.lang.Objectnull
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||