net.opengis.wfsv.util
Class WfsvSwitch

java.lang.Object
  extended by net.opengis.wfsv.util.WfsvSwitch

public class WfsvSwitch
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:
WfsvPackage

Field Summary
protected static WfsvPackage modelPackage
          The cached model package
 
Constructor Summary
WfsvSwitch()
          Creates an instance of the switch.
 
Method Summary
 java.lang.Object caseAbstractVersionedFeatureType(AbstractVersionedFeatureType object)
          Returns the result of interpreting the object as an instance of 'Abstract Versioned Feature Type'.
 java.lang.Object caseBaseRequestType(BaseRequestType object)
          Returns the result of interpreting the object as an instance of 'Base Request Type'.
 java.lang.Object caseDeleteElementType(DeleteElementType object)
          Returns the result of interpreting the object as an instance of 'Delete Element Type'.
 java.lang.Object caseDescribeFeatureTypeType(DescribeFeatureTypeType object)
          Returns the result of interpreting the object as an instance of 'Describe Feature Type Type'.
 java.lang.Object caseDescribeVersionedFeatureTypeType(DescribeVersionedFeatureTypeType object)
          Returns the result of interpreting the object as an instance of 'Describe Versioned Feature Type Type'.
 java.lang.Object caseDifferenceQueryType(DifferenceQueryType object)
          Returns the result of interpreting the object as an instance of 'Difference Query Type'.
 java.lang.Object caseDocumentRoot(DocumentRoot object)
          Returns the result of interpreting the object as an instance of 'Document Root'.
 java.lang.Object caseFeatureCollectionType(FeatureCollectionType object)
          Returns the result of interpreting the object as an instance of 'Feature Collection Type'.
 java.lang.Object caseGetDiffType(GetDiffType object)
          Returns the result of interpreting the object as an instance of 'Get Diff Type'.
 java.lang.Object caseGetFeatureType(GetFeatureType object)
          Returns the result of interpreting the object as an instance of 'Get Feature Type'.
 java.lang.Object caseGetLogType(GetLogType object)
          Returns the result of interpreting the object as an instance of 'Get Log Type'.
 java.lang.Object caseGetVersionedFeatureType(GetVersionedFeatureType object)
          Returns the result of interpreting the object as an instance of 'Get Versioned Feature Type'.
 java.lang.Object caseNativeType(NativeType object)
          Returns the result of interpreting the object as an instance of 'Native Type'.
 java.lang.Object caseRollbackType(RollbackType object)
          Returns the result of interpreting the object as an instance of 'Rollback Type'.
 java.lang.Object caseUpdateElementType(UpdateElementType object)
          Returns the result of interpreting the object as an instance of 'Update Element Type'.
 java.lang.Object caseVersionedDeleteElementType(VersionedDeleteElementType object)
          Returns the result of interpreting the object as an instance of 'Versioned Delete Element Type'.
 java.lang.Object caseVersionedFeatureCollectionType(VersionedFeatureCollectionType object)
          Returns the result of interpreting the object as an instance of 'Versioned Feature Collection Type'.
 java.lang.Object caseVersionedUpdateElementType(VersionedUpdateElementType object)
          Returns the result of interpreting the object as an instance of 'Versioned Update Element Type'.
 java.lang.Object defaultCase(org.eclipse.emf.ecore.EObject object)
          Returns the result of interpreting the object as an instance of 'EObject'.
protected  java.lang.Object doSwitch(org.eclipse.emf.ecore.EClass theEClass, org.eclipse.emf.ecore.EObject theEObject)
          Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
 java.lang.Object doSwitch(org.eclipse.emf.ecore.EObject theEObject)
          Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
protected  java.lang.Object doSwitch(int classifierID, org.eclipse.emf.ecore.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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelPackage

protected static WfsvPackage modelPackage
The cached model package

Constructor Detail

WfsvSwitch

public WfsvSwitch()
Creates an instance of the switch.

Method Detail

doSwitch

public java.lang.Object doSwitch(org.eclipse.emf.ecore.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.

doSwitch

protected java.lang.Object doSwitch(org.eclipse.emf.ecore.EClass theEClass,
                                    org.eclipse.emf.ecore.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.

doSwitch

protected java.lang.Object doSwitch(int classifierID,
                                    org.eclipse.emf.ecore.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.

caseAbstractVersionedFeatureType

public java.lang.Object caseAbstractVersionedFeatureType(AbstractVersionedFeatureType object)
Returns the result of interpreting the object as an instance of 'Abstract Versioned Feature 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 'Abstract Versioned Feature Type'.
See Also:
doSwitch(EObject)

caseDescribeVersionedFeatureTypeType

public java.lang.Object caseDescribeVersionedFeatureTypeType(DescribeVersionedFeatureTypeType object)
Returns the result of interpreting the object as an instance of 'Describe Versioned Feature 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 'Describe Versioned Feature Type Type'.
See Also:
doSwitch(EObject)

caseDifferenceQueryType

public java.lang.Object caseDifferenceQueryType(DifferenceQueryType object)
Returns the result of interpreting the object as an instance of 'Difference Query 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 'Difference Query 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)

caseGetDiffType

public java.lang.Object caseGetDiffType(GetDiffType object)
Returns the result of interpreting the object as an instance of 'Get Diff 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 'Get Diff Type'.
See Also:
doSwitch(EObject)

caseGetLogType

public java.lang.Object caseGetLogType(GetLogType object)
Returns the result of interpreting the object as an instance of 'Get Log 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 'Get Log Type'.
See Also:
doSwitch(EObject)

caseGetVersionedFeatureType

public java.lang.Object caseGetVersionedFeatureType(GetVersionedFeatureType object)
Returns the result of interpreting the object as an instance of 'Get Versioned Feature 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 'Get Versioned Feature Type'.
See Also:
doSwitch(EObject)

caseRollbackType

public java.lang.Object caseRollbackType(RollbackType object)
Returns the result of interpreting the object as an instance of 'Rollback 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 'Rollback Type'.
See Also:
doSwitch(EObject)

caseVersionedDeleteElementType

public java.lang.Object caseVersionedDeleteElementType(VersionedDeleteElementType object)
Returns the result of interpreting the object as an instance of 'Versioned Delete Element 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 'Versioned Delete Element Type'.
See Also:
doSwitch(EObject)

caseVersionedFeatureCollectionType

public java.lang.Object caseVersionedFeatureCollectionType(VersionedFeatureCollectionType object)
Returns the result of interpreting the object as an instance of 'Versioned Feature Collection 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 'Versioned Feature Collection Type'.
See Also:
doSwitch(EObject)

caseVersionedUpdateElementType

public java.lang.Object caseVersionedUpdateElementType(VersionedUpdateElementType object)
Returns the result of interpreting the object as an instance of 'Versioned Update Element 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 'Versioned Update Element Type'.
See Also:
doSwitch(EObject)

caseBaseRequestType

public java.lang.Object caseBaseRequestType(BaseRequestType object)
Returns the result of interpreting the object as an instance of 'Base Request 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 'Base Request Type'.
See Also:
doSwitch(EObject)

caseDescribeFeatureTypeType

public java.lang.Object caseDescribeFeatureTypeType(DescribeFeatureTypeType object)
Returns the result of interpreting the object as an instance of 'Describe Feature 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 'Describe Feature Type Type'.
See Also:
doSwitch(EObject)

caseGetFeatureType

public java.lang.Object caseGetFeatureType(GetFeatureType object)
Returns the result of interpreting the object as an instance of 'Get Feature 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 'Get Feature Type'.
See Also:
doSwitch(EObject)

caseNativeType

public java.lang.Object caseNativeType(NativeType object)
Returns the result of interpreting the object as an instance of 'Native 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 'Native Type'.
See Also:
doSwitch(EObject)

caseDeleteElementType

public java.lang.Object caseDeleteElementType(DeleteElementType object)
Returns the result of interpreting the object as an instance of 'Delete Element 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 'Delete Element Type'.
See Also:
doSwitch(EObject)

caseFeatureCollectionType

public java.lang.Object caseFeatureCollectionType(FeatureCollectionType object)
Returns the result of interpreting the object as an instance of 'Feature Collection 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 'Feature Collection Type'.
See Also:
doSwitch(EObject)

caseUpdateElementType

public java.lang.Object caseUpdateElementType(UpdateElementType object)
Returns the result of interpreting the object as an instance of 'Update Element 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 'Update Element Type'.
See Also:
doSwitch(EObject)

defaultCase

public java.lang.Object defaultCase(org.eclipse.emf.ecore.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)


Copyright © 1996-2010 Geotools. All Rights Reserved.