org.plasma.sdo.xpath
Class XPathDataProperty

java.lang.Object
  extended by org.plasma.sdo.xpath.DataGraphNodeAdapter
      extended by org.plasma.sdo.xpath.XPathDataProperty

public class XPathDataProperty
extends DataGraphNodeAdapter


Field Summary
 
Fields inherited from class org.plasma.sdo.xpath.DataGraphNodeAdapter
source, sourceProperty
 
Constructor Summary
XPathDataProperty(Property target, DataObject source, Property sourceProperty)
           
 
Method Summary
 java.lang.Object get()
          Returns the dereferenced value of an XPATH parse result.
 Property getProperty()
           
 boolean isSet()
           
 void set(java.lang.Object value)
          Sets the given value into the XPATH parse result.
 void unset()
           
 
Methods inherited from class org.plasma.sdo.xpath.DataGraphNodeAdapter
getSource, getSourceProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathDataProperty

public XPathDataProperty(Property target,
                         DataObject source,
                         Property sourceProperty)
Method Detail

getProperty

public Property getProperty()

get

public java.lang.Object get()
Description copied from class: DataGraphNodeAdapter
Returns the dereferenced value of an XPATH parse result. This method generalizes how subclasses containing either data xpath result (e.g. a Data Object or value) or meta-data xpath results (e.g. a Property) return or dereference the results differently.

Specified by:
get in class DataGraphNodeAdapter
Returns:
the result

set

public void set(java.lang.Object value)
Description copied from class: DataGraphNodeAdapter
Sets the given value into the XPATH parse result. Abstract method to generalize how subclasses containing either data xpath result (e.g. a Data Object or value) or meta-data xpath results (e.g. a Property) dereference the results differently.

Specified by:
set in class DataGraphNodeAdapter

unset

public void unset()

isSet

public boolean isSet()


Copyright © 2013. All Rights Reserved.