org.globus.cog.abstraction.xml
Class Task

java.lang.Object
  extended byorg.globus.cog.abstraction.xml.Task
All Implemented Interfaces:
Serializable

public class Task
extends Object
implements Serializable

Representation of the abstract Java CoG Kit Task object.

Version:
$Revision: 1.1 $ $Date: 2005/04/22 09:53:24 $
See Also:
Serialized Form

Constructor Summary
Task()
           
 
Method Summary
 AttributeList getAttributeList()
           
 Date getCompletedTime()
           
 String getIdentity()
           
 String getName()
           
 String getProvider()
           
 ServiceList getServiceList()
           
 Specification getSpecification()
           
 String getStatus()
           
 Date getSubmittedTime()
           
 String getType()
           
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void setAttributeList(AttributeList attributeList)
           
 void setCompletedTime(Date completedTime)
           
 void setIdentity(String identity)
           
 void setName(String name)
           
 void setProvider(String provider)
           
 void setServiceList(ServiceList serviceList)
           
 void setSpecification(Specification specification)
           
 void setStatus(String status)
           
 void setSubmittedTime(Date submittedTime)
           
 void setType(String type)
           
static Task unmarshal(Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Task

public Task()
Method Detail

getAttributeList

public AttributeList getAttributeList()

getCompletedTime

public Date getCompletedTime()

getIdentity

public String getIdentity()

getName

public String getName()

getProvider

public String getProvider()

getServiceList

public ServiceList getServiceList()

getSpecification

public Specification getSpecification()

getStatus

public String getStatus()

getSubmittedTime

public Date getSubmittedTime()

getType

public String getType()

isValid

public boolean isValid()

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setAttributeList

public void setAttributeList(AttributeList attributeList)
Parameters:
attributeList -

setCompletedTime

public void setCompletedTime(Date completedTime)
Parameters:
completedTime -

setIdentity

public void setIdentity(String identity)
Parameters:
identity -

setName

public void setName(String name)
Parameters:
name -

setProvider

public void setProvider(String provider)
Parameters:
provider -

setServiceList

public void setServiceList(ServiceList serviceList)
Parameters:
serviceList -

setSpecification

public void setSpecification(Specification specification)
Parameters:
specification -

setStatus

public void setStatus(String status)
Parameters:
status -

setSubmittedTime

public void setSubmittedTime(Date submittedTime)
Parameters:
submittedTime -

setType

public void setType(String type)
Parameters:
type -

unmarshal

public static Task unmarshal(Reader reader)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException