|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.model.feature.XLinkedFeatureProperty
public class XLinkedFeatureProperty
Feature property instance that does not specify it's content inline, but references a feature instance via an XLink.
Constructor Summary | |
---|---|
XLinkedFeatureProperty(QualifiedName name,
java.lang.String targetFeatureId)
Creates a new instance of XLinkedFeatureProperty from the given parameters. |
Method Summary | |
---|---|
QualifiedName |
getName()
Returns the name of the property. |
Feature |
getOwner()
Returns the instance of the Feature a Feature property is assigned to. |
java.lang.String |
getTargetFeatureId()
Returns the feature id of the target feature. |
java.lang.Object |
getValue()
Returns the value of the property. |
java.lang.Object |
getValue(java.lang.Object defaultValue)
Returns the value of the property. |
void |
setValue(java.lang.Object value)
Sets the target feature instance that this feature property refers to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XLinkedFeatureProperty(QualifiedName name, java.lang.String targetFeatureId)
XLinkedFeatureProperty
from the given parameters.
NOTE: After creating, this property has no value. The reference to the target feature has to be resolved first by calling #setValue(java.lang.Object).
name
- feature nametargetFeatureId
- id of the feature that this property containssetValue(java.lang.Object)
Method Detail |
---|
public QualifiedName getName()
getName
in interface FeatureProperty
public java.lang.Object getValue()
getValue
in interface FeatureProperty
public java.lang.Object getValue(java.lang.Object defaultValue)
getValue
in interface FeatureProperty
public void setValue(java.lang.Object value)
setValue
in interface FeatureProperty
value
- feature instance that this feature property refers to
java.lang.RuntimeException
- if the reference has already been resolvedpublic Feature getOwner()
FeatureProperty
getOwner
in interface FeatureProperty
public java.lang.String getTargetFeatureId()
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org