org.apache.airavata.persistance.registry.jpa.resources
Class GFacJobDataResource
java.lang.Object
org.apache.airavata.persistance.registry.jpa.resources.AbstractResource
org.apache.airavata.persistance.registry.jpa.resources.GFacJobDataResource
- All Implemented Interfaces:
- Resource
public class GFacJobDataResource
- extends AbstractResource
| Nested classes/interfaces inherited from class org.apache.airavata.persistance.registry.jpa.resources.AbstractResource |
AbstractResource.ApplicationDescriptorConstants, AbstractResource.ConfigurationConstants, AbstractResource.ExecutionErrorConstants, AbstractResource.ExperimentConstants, AbstractResource.ExperimentDataConstants, AbstractResource.GatewayConstants, AbstractResource.GatewayWorkerConstants, AbstractResource.GFacJobDataConstants, AbstractResource.GFacJobStatusConstants, AbstractResource.GramDataConstants, AbstractResource.HostDescriptorConstants, AbstractResource.NodeDataConstants, AbstractResource.ProjectConstants, AbstractResource.PublishedWorkflowConstants, AbstractResource.ServiceDescriptorConstants, AbstractResource.UserConstants, AbstractResource.UserWorkflowConstants, AbstractResource.WorkflowDataConstants |
| Fields inherited from class org.apache.airavata.persistance.registry.jpa.resources.AbstractResource |
APPLICATION_DESCRIPTOR, CONFIGURATION, EXECUTION_ERROR, EXPERIMENT, EXPERIMENT_DATA, EXPERIMENT_METADATA, GATEWAY, GATEWAY_WORKER, GFAC_JOB_DATA, GFAC_JOB_STATUS, HOST_DESCRIPTOR, PROJECT, PUBLISHED_WORKFLOW, SERVICE_DESCRIPTOR, USER_WORKFLOW, USERS, WORKFLOW_DATA |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GFacJobDataResource
public GFacJobDataResource()
getExperimentDataResource
public ExperimentDataResource getExperimentDataResource()
getWorkflowDataResource
public WorkflowDataResource getWorkflowDataResource()
getNodeID
public String getNodeID()
getApplicationDescID
public String getApplicationDescID()
getHostDescID
public String getHostDescID()
getServiceDescID
public String getServiceDescID()
getJobData
public String getJobData()
getLocalJobID
public String getLocalJobID()
getSubmittedTime
public Timestamp getSubmittedTime()
getStatusUpdateTime
public Timestamp getStatusUpdateTime()
getStatus
public String getStatus()
getMetadata
public String getMetadata()
setExperimentDataResource
public void setExperimentDataResource(ExperimentDataResource experimentDataResource)
setWorkflowDataResource
public void setWorkflowDataResource(WorkflowDataResource workflowDataResource)
setNodeID
public void setNodeID(String nodeID)
setApplicationDescID
public void setApplicationDescID(String applicationDescID)
setHostDescID
public void setHostDescID(String hostDescID)
setServiceDescID
public void setServiceDescID(String serviceDescID)
setJobData
public void setJobData(String jobData)
setLocalJobID
public void setLocalJobID(String localJobID)
setSubmittedTime
public void setSubmittedTime(Timestamp submittedTime)
setStatusUpdateTime
public void setStatusUpdateTime(Timestamp statusUpdateTime)
setStatus
public void setStatus(String status)
setMetadata
public void setMetadata(String metadata)
create
public Resource create(ResourceType type)
- Description copied from interface:
Resource
- This method will create associate resource objects for the given resource type.
- Parameters:
type - child resource type
- Returns:
- associate child resource
remove
public void remove(ResourceType type,
Object name)
- Description copied from interface:
Resource
- This method will remove the given child resource from the database
- Parameters:
type - child resource typename - child resource name
get
public Resource get(ResourceType type,
Object name)
- Description copied from interface:
Resource
- This method will return the given child resource from the database
- Parameters:
type - child resource typename - child resource name
- Returns:
- associate child resource
get
public List<Resource> get(ResourceType type)
- Description copied from interface:
Resource
- This method will list all the child resources for the given resource type
- Parameters:
type - child resource type
- Returns:
- list of child resources of the given child resource type
save
public void save()
- Description copied from interface:
Resource
- This method will save the resource to the database.
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.