|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.wsrf.impl.PersistentResourceProperty
A wrapper for a ResourceProperty object. If
set is called it will set the dirty
flag of the associated DirtyFlagHolder to true.
PersistentReflectionResource| Field Summary | |
private DirtyFlagHolder |
dirtyFlagHolder
|
private ResourceProperty |
rp
|
| Constructor Summary | |
PersistentResourceProperty(ResourceProperty resourceProperty,
DirtyFlagHolder dirtyFlagHolder)
|
|
| Method Summary | |
void |
add(java.lang.Object value)
Adds a value. |
void |
clear()
Removes all values. |
java.lang.Object |
get(int index)
Retrieves a value at a specific index. |
ResourcePropertyMetaData |
getMetaData()
Gets meta data of this resource property. |
boolean |
isEmpty()
Returns true if the resource property has any values. |
java.util.Iterator |
iterator()
Returns iterator over the values of this resource property. |
boolean |
remove(java.lang.Object value)
Removes a specific value. |
void |
set(int index,
java.lang.Object value)
Sets a value at a specific index. |
int |
size()
Returns the number of values in the resource property. |
org.w3c.dom.Element[] |
toElements()
Converts the resource property value into a DOM Element array. |
javax.xml.soap.SOAPElement[] |
toSOAPElements()
Converts the resource property value into a SOAPElement array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private ResourceProperty rp
private DirtyFlagHolder dirtyFlagHolder
| Constructor Detail |
public PersistentResourceProperty(ResourceProperty resourceProperty,
DirtyFlagHolder dirtyFlagHolder)
throws java.lang.Exception
resourceProperty - ResourceProperty to wrapdirtyFlagHolder - DirtyFlagHolder to be set to "dirty" when the
property is changed
java.lang.Exception| Method Detail |
public void set(int index,
java.lang.Object value)
ResourceProperty
set in interface ResourcePropertyindex - the index to set value at.value - the new valuepublic void add(java.lang.Object value)
ResourceProperty
add in interface ResourcePropertyvalue - the value to add.public boolean remove(java.lang.Object value)
ResourceProperty
remove in interface ResourcePropertyvalue - value to remove.
public java.lang.Object get(int index)
ResourceProperty
get in interface ResourcePropertyindex - the index of value to retrieve.
public void clear()
ResourceProperty
clear in interface ResourcePropertypublic int size()
ResourceProperty
size in interface ResourcePropertypublic boolean isEmpty()
ResourceProperty
isEmpty in interface ResourcePropertypublic java.util.Iterator iterator()
ResourceProperty
iterator in interface ResourceProperty
public javax.xml.soap.SOAPElement[] toSOAPElements()
throws SerializationException
ResourceProperty
toSOAPElements in interface ResourcePropertySerializationException - if conversion fails.
public org.w3c.dom.Element[] toElements()
throws SerializationException
ResourceProperty
toElements in interface ResourcePropertySerializationException - if conversion fails.public ResourcePropertyMetaData getMetaData()
ResourceProperty
getMetaData in interface ResourceProperty
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||