org.globus.ogsa
Class ServiceDataAttributes

java.lang.Object
  extended byorg.globus.ogsa.ServiceDataAttributes

public class ServiceDataAttributes
extends java.lang.Object

The ServiceDataAttributes class allows attributes to be easily attached to and extracted from any service data elements.


Constructor Summary
ServiceDataAttributes(java.lang.Object value)
          wraps a service data object inside of a ServiceDataAttributes object in order to easily attached attributes to it.
 
Method Summary
 ExtendedDateTimeType getAvailableUntil()
           
 ExtendedDateTimeType getGoodFrom()
           
 ExtendedDateTimeType getGoodUntil()
           
 HandleType getOriginator()
           
 java.lang.Object getValue()
           
 void populate(MessageElement element)
          pupulates a message element with the attributes set in this wrapper.
 void setAvailableUntil(ExtendedDateTimeType availableUntil)
           
 void setGoodFrom(ExtendedDateTimeType goodFrom)
           
 void setGoodUntil(ExtendedDateTimeType goodUntil)
           
 void setOriginator(HandleType originator)
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDataAttributes

public ServiceDataAttributes(java.lang.Object value)
wraps a service data object inside of a ServiceDataAttributes object in order to easily attached attributes to it. Used by the server when constructing service data elements.

Parameters:
value - service data value that is to be associated with some attributes
Method Detail

setGoodUntil

public void setGoodUntil(ExtendedDateTimeType goodUntil)

setGoodFrom

public void setGoodFrom(ExtendedDateTimeType goodFrom)

setAvailableUntil

public void setAvailableUntil(ExtendedDateTimeType availableUntil)

getGoodUntil

public ExtendedDateTimeType getGoodUntil()

getGoodFrom

public ExtendedDateTimeType getGoodFrom()

getAvailableUntil

public ExtendedDateTimeType getAvailableUntil()

setOriginator

public void setOriginator(HandleType originator)

getOriginator

public HandleType getOriginator()

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object value)

populate

public void populate(MessageElement element)
pupulates a message element with the attributes set in this wrapper. If a supported attribute is not set (is null) it will not be copied over to the message element

Parameters:
element - MessageElement that is to be populated