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(org.apache.axis.message.MessageElement messageElement)
          populates this object with the attributes present in the messageElement (SOAPElement) part of an xsd:any.
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(org.w3c.dom.Element element)
          pupulates a DOM element with the attributes set in this wrapper.
 void populate(org.apache.axis.message.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

ServiceDataAttributes

public ServiceDataAttributes(org.apache.axis.message.MessageElement messageElement)
populates this object with the attributes present in the messageElement (SOAPElement) part of an xsd:any. Used by client when reading service data.

Parameters:
messageElement - XML SOAP element containing attributes to read
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(org.apache.axis.message.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

populate

public void populate(org.w3c.dom.Element element)
pupulates a DOM 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 element

Parameters:
element - DOM Element that is to be populated


Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.