org.apache.airavata.persistance.registry.jpa.resources
Class ExecutionErrorResource

java.lang.Object
  extended by org.apache.airavata.persistance.registry.jpa.resources.AbstractResource
      extended by org.apache.airavata.persistance.registry.jpa.resources.ExecutionErrorResource
All Implemented Interfaces:
Resource

public class ExecutionErrorResource
extends AbstractResource


Nested Class Summary
 
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
 
Field Summary
 
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
 
Constructor Summary
ExecutionErrorResource()
           
 
Method Summary
 Resource create(ResourceType type)
          This method will create associate resource objects for the given resource type.
 List<Resource> get(ResourceType type)
          This method will list all the child resources for the given resource type
 Resource get(ResourceType type, Object name)
          This method will return the given child resource from the database
 String getActionTaken()
           
 String getErrorCode()
           
 String getErrorDes()
           
 int getErrorID()
           
 String getErrorLocation()
           
 String getErrorMsg()
           
 int getErrorReference()
           
 String getErrorReporter()
           
 Timestamp getErrorTime()
           
 ExperimentDataResource getExperimentDataResource()
           
 String getGfacJobID()
           
 String getNodeID()
           
 String getSourceType()
           
 WorkflowDataResource getWorkflowDataResource()
           
 void remove(ResourceType type, Object name)
          This method will remove the given child resource from the database
 void save()
          This method will save the resource to the database.
 void setActionTaken(String actionTaken)
           
 void setErrorCode(String errorCode)
           
 void setErrorDes(String errorDes)
           
 void setErrorID(int errorID)
           
 void setErrorLocation(String errorLocation)
           
 void setErrorMsg(String errorMsg)
           
 void setErrorReference(int errorReference)
           
 void setErrorReporter(String errorReporter)
           
 void setErrorTime(Timestamp errorTime)
           
 void setExperimentDataResource(ExperimentDataResource experimentDataResource)
           
 void setGfacJobID(String gfacJobID)
           
 void setNodeID(String nodeID)
           
 void setSourceType(String sourceType)
           
 void setWorkflowDataResource(WorkflowDataResource workflowDataResource)
           
 
Methods inherited from class org.apache.airavata.persistance.registry.jpa.resources.AbstractResource
getResourceList, isExists
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionErrorResource

public ExecutionErrorResource()
Method Detail

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 type
name - 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 type
name - 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.


getExperimentDataResource

public ExperimentDataResource getExperimentDataResource()

getWorkflowDataResource

public WorkflowDataResource getWorkflowDataResource()

getNodeID

public String getNodeID()

getGfacJobID

public String getGfacJobID()

getSourceType

public String getSourceType()

getErrorTime

public Timestamp getErrorTime()

getErrorMsg

public String getErrorMsg()

getErrorDes

public String getErrorDes()

getErrorCode

public String getErrorCode()

setExperimentDataResource

public void setExperimentDataResource(ExperimentDataResource experimentDataResource)

setWorkflowDataResource

public void setWorkflowDataResource(WorkflowDataResource workflowDataResource)

setNodeID

public void setNodeID(String nodeID)

setGfacJobID

public void setGfacJobID(String gfacJobID)

setSourceType

public void setSourceType(String sourceType)

setErrorTime

public void setErrorTime(Timestamp errorTime)

setErrorMsg

public void setErrorMsg(String errorMsg)

setErrorDes

public void setErrorDes(String errorDes)

setErrorCode

public void setErrorCode(String errorCode)

getErrorID

public int getErrorID()

setErrorID

public void setErrorID(int errorID)

getErrorReporter

public String getErrorReporter()

getErrorLocation

public String getErrorLocation()

getActionTaken

public String getActionTaken()

setErrorReporter

public void setErrorReporter(String errorReporter)

setErrorLocation

public void setErrorLocation(String errorLocation)

setActionTaken

public void setActionTaken(String actionTaken)

getErrorReference

public int getErrorReference()

setErrorReference

public void setErrorReference(int errorReference)


Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.