uk.org.ogsadai.service.wsrf.properties
  Class DataServiceResourceProperty
  
java.lang.Object
  |
  +--org.globus.wsrf.impl.BaseResourceProperty
        |
        +--uk.org.ogsadai.service.wsrf.properties.DataServiceResourceProperty
  
    - All Implemented Interfaces:
 
    - org.globus.wsrf.ResourceProperty
 
  
  
  
    - public class DataServiceResourceProperty
 
    - extends org.globus.wsrf.impl.BaseResourceProperty
 
  
  A Globus Toolkit-compliant wrapper for OGSA-DAI resource properties.
  
  
  
    - Author:
 
    - The OGSA-DAI Project Team
 
  
  
  
   
  
    
      | Fields inherited from class org.globus.wsrf.impl.BaseResourceProperty | 
    
    
      metaData | 
    
  
  
    
  
    
      | Method Summary | 
    
    
       void | 
      add(java.lang.Object value) 
                  | 
    
    
       void | 
      clear() 
                  | 
    
    
      private  java.util.Observer | 
      createPropertyObserver() 
                Creates and returns an observer that will automatically perform Globus notification whenever the underlying OGSA-DAI property changes state. | 
    
    
       java.lang.Object | 
      get(int index) 
                  | 
    
    
      private  java.lang.Object | 
      getValue() 
                Get the value of the wrapped OGSA-DAI property. | 
    
    
       boolean | 
      isEmpty() 
                  | 
    
    
       java.util.Iterator | 
      iterator() 
                  | 
    
    
       boolean | 
      remove(java.lang.Object value) 
                  | 
    
    
       void | 
      set(int index, java.lang.Object value) 
                  | 
    
    
       void | 
      setSecurityContextProvider(SecurityContextProvider securityContextProvider) 
                Set the security context provider which can provide information to be used when authorising property value retrieval. | 
    
    
      private  void | 
      setValue(java.lang.Object value) 
                Set the value of the wrapped OGSA-DAI property. | 
    
    
       int | 
      size() 
                  | 
    
    
       org.w3c.dom.Element[] | 
      toElements() 
                  | 
    
    
       javax.xml.soap.SOAPElement[] | 
      toSOAPElements() 
                  | 
    
  
 
  
    
      | Methods inherited from class org.globus.wsrf.impl.BaseResourceProperty | 
    
    
      convert, convertObject, convertPrimitive, getMetaData, setMetaData | 
    
  
 
  
    
      | Methods inherited from class java.lang.Object | 
    
    
      clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
    
  
 
  
  
  COPYRIGHT_NOTICE
  
private static final java.lang.String COPYRIGHT_NOTICE
  
    - 
      Copyright statement
      
      
        - See Also:
 
        - Constant Field Values
 
      
     
  
  
  
  LOG
  
private static DAILogger LOG
  
    - 
      Logger object for logging in this class
      
      
     
  
  
  
  mProperty
  
private Property mProperty
  
    - 
      Wrapped property
      
      
     
  
  
  
  mSecContextProvider
  
private SecurityContextProvider mSecContextProvider
  
    - 
      Object providing security-related information to be used when authorising property value retrieval.
      
      
     
  
  
  DataServiceResourceProperty
  
public DataServiceResourceProperty(javax.xml.namespace.QName name,
                                   Property property)
  
    - 
      Create a new wrapper for the given property with the given name.
      
    
 
    - Parameters:
 
    name - Property name. 
    property - Property being wrapped. 
  
  
  createPropertyObserver
  
private java.util.Observer createPropertyObserver()
  
    - 
      Creates and returns an observer that will automatically perform Globus notification whenever the underlying OGSA-DAI property changes state.
      
    
 
    - 
      
        - Returns:
 
        - observer
 
      
     
  
  
  
  setSecurityContextProvider
  
public void setSecurityContextProvider(SecurityContextProvider securityContextProvider)
  
    - 
      Set the security context provider which can provide information to be used when authorising property value retrieval.
      
    
 
    - 
      
        - Parameters:
 
        securityContextProvider - Security context provider. 
      
     
  
  
  
  add
  
public void add(java.lang.Object value)
  
    - 
      
     
  
  
  
  remove
  
public boolean remove(java.lang.Object value)
  
    - 
      
     
  
  
  
  get
  
public java.lang.Object get(int index)
  
    - 
      
     
  
  
  
  set
  
public void set(int index,
                java.lang.Object value)
  
    - 
      
     
  
  
  
  clear
  
public void clear()
  
    - 
      
     
  
  
  
  size
  
public int size()
  
    - 
      
     
  
  
  
  isEmpty
  
public boolean isEmpty()
  
    - 
      
     
  
  
  
  iterator
  
public java.util.Iterator iterator()
  
    - 
      
     
  
  
  
  toSOAPElements
  
public javax.xml.soap.SOAPElement[] toSOAPElements()
                                            throws org.globus.wsrf.encoding.SerializationException
  
    - 
      
        org.globus.wsrf.encoding.SerializationException 
      
     
  
  
  
  toElements
  
public org.w3c.dom.Element[] toElements()
                                 throws org.globus.wsrf.encoding.SerializationException
  
    - 
      
        org.globus.wsrf.encoding.SerializationException 
      
     
  
  
  
  getValue
  
private java.lang.Object getValue()
  
    - 
      Get the value of the wrapped OGSA-DAI property.
      
The class will log an error if there is a problem.
      
     
    - 
      
        - Returns:
 
        - value.
 
      
     
  
  
  
  setValue
  
private void setValue(java.lang.Object value)
  
    - 
      Set the value of the wrapped OGSA-DAI property.
      
The class will log an error if there is a problem.
      
     
    - 
      
        - Parameters:
 
        value - New value.