g-Eclipse
Release 1.0.0

eu.geclipse.jsdl.model.base.util
Class JsdlSwitch

java.lang.Object
  extended by eu.geclipse.jsdl.model.base.util.JsdlSwitch

public class JsdlSwitch
extends java.lang.Object

The Switch for the model's inheritance hierarchy. It supports the call doSwitch(object) to invoke the caseXXX method for each class of the model, starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is returned, which is the result of the switch.

See Also:
JsdlPackage

Constructor Summary
JsdlSwitch()
          Creates an instance of the switch
 
Method Summary
 java.lang.Object caseApplicationType(ApplicationType object)
          Returns the result of interpreting the object as an instance of 'Application Type'
 java.lang.Object caseBoundaryType(BoundaryType object)
          Returns the result of interpreting the object as an instance of 'Boundary Type'
 java.lang.Object caseCandidateHostsType(CandidateHostsType object)
          Returns the result of interpreting the object as an instance of 'Candidate Hosts Type'
 java.lang.Object caseCPUArchitectureType(CPUArchitectureType object)
          Returns the result of interpreting the object as an instance of 'CPU Architecture Type'
 java.lang.Object caseDataStagingType(DataStagingType object)
          Returns the result of interpreting the object as an instance of 'Data Staging Type'
 java.lang.Object caseDocumentRoot(DocumentRoot object)
          Returns the result of interpreting the object as an instance of 'Document Root'
 java.lang.Object caseExactType(ExactType object)
          Returns the result of interpreting the object as an instance of 'Exact Type'
 java.lang.Object caseFileSystemType(FileSystemType object)
          Returns the result of interpreting the object as an instance of 'File System Type'
 java.lang.Object caseJobDefinitionType(JobDefinitionType object)
          Returns the result of interpreting the object as an instance of 'Job Definition Type'
 java.lang.Object caseJobDescriptionType(JobDescriptionType object)
          Returns the result of interpreting the object as an instance of 'Job Description Type'
 java.lang.Object caseJobIdentificationType(JobIdentificationType object)
          Returns the result of interpreting the object as an instance of 'Job Identification Type'
 java.lang.Object caseOperatingSystemType(OperatingSystemType object)
          Returns the result of interpreting the object as an instance of 'Operating System Type'
 java.lang.Object caseOperatingSystemTypeType(OperatingSystemTypeType object)
          Returns the result of interpreting the object as an instance of 'Operating System Type Type'
 java.lang.Object caseRangeType(RangeType object)
          Returns the result of interpreting the object as an instance of 'Range Type'
 java.lang.Object caseRangeValueType(RangeValueType object)
          Returns the result of interpreting the object as an instance of 'Range Value Type'
 java.lang.Object caseResourcesType(ResourcesType object)
          Returns the result of interpreting the object as an instance of 'Resources Type'
 java.lang.Object caseSourceTargetType(SourceTargetType object)
          Returns the result of interpreting the object as an instance of 'Source Target Type'
 java.lang.Object defaultCase(EObject object)
          Returns the result of interpreting the object as an instance of 'EObject'
 java.lang.Object doSwitch(EObject theEObject)
          Calls caseXXX for each class of the model until one returns a non null result; it yields that result
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsdlSwitch

public JsdlSwitch()
Creates an instance of the switch.

Method Detail

doSwitch

public java.lang.Object doSwitch(EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result.

Returns:
the first non-null result returned by a caseXXX call.

caseApplicationType

public java.lang.Object caseApplicationType(ApplicationType object)
Returns the result of interpreting the object as an instance of 'Application Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Application Type'.
See Also:
doSwitch(EObject)

caseBoundaryType

public java.lang.Object caseBoundaryType(BoundaryType object)
Returns the result of interpreting the object as an instance of 'Boundary Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Boundary Type'.
See Also:
doSwitch(EObject)

caseCandidateHostsType

public java.lang.Object caseCandidateHostsType(CandidateHostsType object)
Returns the result of interpreting the object as an instance of 'Candidate Hosts Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Candidate Hosts Type'.
See Also:
doSwitch(EObject)

caseCPUArchitectureType

public java.lang.Object caseCPUArchitectureType(CPUArchitectureType object)
Returns the result of interpreting the object as an instance of 'CPU Architecture Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CPU Architecture Type'.
See Also:
doSwitch(EObject)

caseDataStagingType

public java.lang.Object caseDataStagingType(DataStagingType object)
Returns the result of interpreting the object as an instance of 'Data Staging Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Data Staging Type'.
See Also:
doSwitch(EObject)

caseDocumentRoot

public java.lang.Object caseDocumentRoot(DocumentRoot object)
Returns the result of interpreting the object as an instance of 'Document Root'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Document Root'.
See Also:
doSwitch(EObject)

caseExactType

public java.lang.Object caseExactType(ExactType object)
Returns the result of interpreting the object as an instance of 'Exact Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Exact Type'.
See Also:
doSwitch(EObject)

caseFileSystemType

public java.lang.Object caseFileSystemType(FileSystemType object)
Returns the result of interpreting the object as an instance of 'File System Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'File System Type'.
See Also:
doSwitch(EObject)

caseJobDefinitionType

public java.lang.Object caseJobDefinitionType(JobDefinitionType object)
Returns the result of interpreting the object as an instance of 'Job Definition Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Job Definition Type'.
See Also:
doSwitch(EObject)

caseJobDescriptionType

public java.lang.Object caseJobDescriptionType(JobDescriptionType object)
Returns the result of interpreting the object as an instance of 'Job Description Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Job Description Type'.
See Also:
doSwitch(EObject)

caseJobIdentificationType

public java.lang.Object caseJobIdentificationType(JobIdentificationType object)
Returns the result of interpreting the object as an instance of 'Job Identification Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Job Identification Type'.
See Also:
doSwitch(EObject)

caseOperatingSystemType

public java.lang.Object caseOperatingSystemType(OperatingSystemType object)
Returns the result of interpreting the object as an instance of 'Operating System Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Operating System Type'.
See Also:
doSwitch(EObject)

caseOperatingSystemTypeType

public java.lang.Object caseOperatingSystemTypeType(OperatingSystemTypeType object)
Returns the result of interpreting the object as an instance of 'Operating System Type Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Operating System Type Type'.
See Also:
doSwitch(EObject)

caseRangeType

public java.lang.Object caseRangeType(RangeType object)
Returns the result of interpreting the object as an instance of 'Range Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Range Type'.
See Also:
doSwitch(EObject)

caseRangeValueType

public java.lang.Object caseRangeValueType(RangeValueType object)
Returns the result of interpreting the object as an instance of 'Range Value Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Range Value Type'.
See Also:
doSwitch(EObject)

caseResourcesType

public java.lang.Object caseResourcesType(ResourcesType object)
Returns the result of interpreting the object as an instance of 'Resources Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Resources Type'.
See Also:
doSwitch(EObject)

caseSourceTargetType

public java.lang.Object caseSourceTargetType(SourceTargetType object)
Returns the result of interpreting the object as an instance of 'Source Target Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Source Target Type'.
See Also:
doSwitch(EObject)

defaultCase

public java.lang.Object defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EObject'.
See Also:
#doSwitch(org.eclipse.emf.ecore.EObject)

g-Eclipse
Release 1.0.0