org.globus.ogsa
Class ServiceDataAttributes
java.lang.Object
org.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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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