de.fzj.unicore.wsrflite.xmlbeans.impl
Class CurrentTimeProperty

java.lang.Object
  extended by de.fzj.unicore.wsrflite.ResourcePropertyBase<org.apache.xmlbeans.XmlObject,T>
      extended by de.fzj.unicore.wsrflite.xmlbeans.ResourceProperty<Calendar>
          extended by de.fzj.unicore.wsrflite.xmlbeans.impl.CurrentTimeProperty
All Implemented Interfaces:
Serializable

public class CurrentTimeProperty
extends ResourceProperty<Calendar>

a ResourceProperty representing the current system time

Author:
schuller
See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.fzj.unicore.wsrflite.ResourcePropertyBase
parentWSResource
 
Constructor Summary
CurrentTimeProperty()
           
 
Method Summary
 Calendar getProperty()
          get the property as a java object
(optional, return null if not applicable)
 org.apache.xmlbeans.XmlObject[] getXml()
          get the XML representation of this property.
 CurrentTimeProperty update()
          update the property
 
Methods inherited from class de.fzj.unicore.wsrflite.xmlbeans.ResourceProperty
getNumberOfElements, getXml
 
Methods inherited from class de.fzj.unicore.wsrflite.ResourcePropertyBase
isReadOnly, setProperty, setResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentTimeProperty

public CurrentTimeProperty()
Method Detail

update

public CurrentTimeProperty update()
Description copied from class: ResourcePropertyBase
update the property

Overrides:
update in class ResourceProperty<Calendar>
Returns:
the updated property (i.e. this)

getXml

public org.apache.xmlbeans.XmlObject[] getXml()
Description copied from class: ResourcePropertyBase
get the XML representation of this property.

Specified by:
getXml in class ResourceProperty<Calendar>
Returns:
an array of XmlObject

getProperty

public Calendar getProperty()
Description copied from class: ResourcePropertyBase
get the property as a java object
(optional, return null if not applicable)

Overrides:
getProperty in class ResourcePropertyBase<org.apache.xmlbeans.XmlObject,Calendar>
Returns:
the "backing" Object


Copyright © 2010. All Rights Reserved.