org.globus.wsrf.impl
Class BaseResourceProperty

java.lang.Object
  extended byorg.globus.wsrf.impl.BaseResourceProperty
All Implemented Interfaces:
ResourceProperty
Direct Known Subclasses:
ReflectionResourceProperty, SimpleResourceProperty

public abstract class BaseResourceProperty
extends Object
implements ResourceProperty


Field Summary
private static org.globus.util.I18n i18n
           
private static org.apache.commons.logging.Log logger
           
protected  ResourcePropertyMetaData metaData
           
 
Constructor Summary
BaseResourceProperty(QName name)
           
BaseResourceProperty(ResourcePropertyMetaData metaData)
           
 
Method Summary
protected  Object convert(Object value)
           
private static Object convert(Object value, Class type, QName name)
           
protected  Object convertObject(Class type, Object value)
           
protected  Object convertPrimitive(Class type, Object value)
           
 ResourcePropertyMetaData getMetaData()
          Gets meta data of this resource property.
protected  void setMetaData(ResourcePropertyMetaData metaData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.globus.wsrf.ResourceProperty
add, clear, get, isEmpty, iterator, remove, set, size, toElements, toSOAPElements
 

Field Detail

logger

private static org.apache.commons.logging.Log logger

i18n

private static org.globus.util.I18n i18n

metaData

protected ResourcePropertyMetaData metaData
Constructor Detail

BaseResourceProperty

public BaseResourceProperty(QName name)

BaseResourceProperty

public BaseResourceProperty(ResourcePropertyMetaData metaData)
Method Detail

setMetaData

protected void setMetaData(ResourcePropertyMetaData metaData)

getMetaData

public ResourcePropertyMetaData getMetaData()
Description copied from interface: ResourceProperty
Gets meta data of this resource property.

Specified by:
getMetaData in interface ResourceProperty
Returns:
meta data of this resource property. Never null.

convert

protected Object convert(Object value)

convertObject

protected Object convertObject(Class type,
                               Object value)
                        throws Exception
Throws:
Exception

convertPrimitive

protected Object convertPrimitive(Class type,
                                  Object value)
                           throws Exception
Throws:
Exception

convert

private static Object convert(Object value,
                              Class type,
                              QName name)
                       throws Exception
Throws:
Exception