Class Ows20Switch<T>


  • public class Ows20Switch<T>
    extends Switch<T>
    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:
    Ows20Package
    • Field Detail

      • modelPackage

        protected static Ows20Package modelPackage
        The cached model package
    • Constructor Detail

      • Ows20Switch

        public Ows20Switch()
        Creates an instance of the switch.
    • Method Detail

      • isSwitchFor

        protected boolean isSwitchFor​(EPackage ePackage)
        Checks whether this is a switch for the given package.
        Specified by:
        isSwitchFor in class Switch<T>
        Parameters:
        ePackage - the package in question.
        Returns:
        whether this is a switch for the given package.
      • doSwitch

        protected T doSwitch​(int classifierID,
                             EObject theEObject)
        Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
        Overrides:
        doSwitch in class Switch<T>
        Returns:
        the first non-null result returned by a caseXXX call.
      • caseAbstractReferenceBaseType

        public T caseAbstractReferenceBaseType​(AbstractReferenceBaseType object)
        Returns the result of interpreting the object as an instance of 'Abstract Reference Base 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 Reference Base Type'.
        See Also:
        doSwitch(EObject)
      • caseAcceptFormatsType

        public T caseAcceptFormatsType​(AcceptFormatsType object)
        Returns the result of interpreting the object as an instance of 'Accept Formats 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 'Accept Formats Type'.
        See Also:
        doSwitch(EObject)
      • caseAcceptLanguagesType

        public T caseAcceptLanguagesType​(AcceptLanguagesType object)
        Returns the result of interpreting the object as an instance of 'Accept Languages 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 'Accept Languages Type'.
        See Also:
        doSwitch(EObject)
      • caseAcceptVersionsType

        public T caseAcceptVersionsType​(AcceptVersionsType object)
        Returns the result of interpreting the object as an instance of 'Accept Versions 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 'Accept Versions Type'.
        See Also:
        doSwitch(EObject)
      • caseAdditionalParametersBaseType

        public T caseAdditionalParametersBaseType​(AdditionalParametersBaseType object)
        Returns the result of interpreting the object as an instance of 'Additional Parameters Base 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 'Additional Parameters Base Type'.
        See Also:
        doSwitch(EObject)
      • caseAdditionalParametersType

        public T caseAdditionalParametersType​(AdditionalParametersType object)
        Returns the result of interpreting the object as an instance of 'Additional Parameters 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 'Additional Parameters Type'.
        See Also:
        doSwitch(EObject)
      • caseAdditionalParameterType

        public T caseAdditionalParameterType​(AdditionalParameterType object)
        Returns the result of interpreting the object as an instance of 'Additional Parameter 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 'Additional Parameter Type'.
        See Also:
        doSwitch(EObject)
      • caseAddressType

        public T caseAddressType​(AddressType object)
        Returns the result of interpreting the object as an instance of 'Address 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 'Address Type'.
        See Also:
        doSwitch(EObject)
      • caseAllowedValuesType

        public T caseAllowedValuesType​(AllowedValuesType object)
        Returns the result of interpreting the object as an instance of 'Allowed Values 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 'Allowed Values Type'.
        See Also:
        doSwitch(EObject)
      • caseAnyValueType

        public T caseAnyValueType​(AnyValueType object)
        Returns the result of interpreting the object as an instance of 'Any 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 'Any Value Type'.
        See Also:
        doSwitch(EObject)
      • caseBasicIdentificationType

        public T caseBasicIdentificationType​(BasicIdentificationType object)
        Returns the result of interpreting the object as an instance of 'Basic 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 'Basic Identification Type'.
        See Also:
        doSwitch(EObject)
      • caseBoundingBoxType

        public T caseBoundingBoxType​(BoundingBoxType object)
        Returns the result of interpreting the object as an instance of 'Bounding Box 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 'Bounding Box Type'.
        See Also:
        doSwitch(EObject)
      • caseCapabilitiesBaseType

        public T caseCapabilitiesBaseType​(CapabilitiesBaseType object)
        Returns the result of interpreting the object as an instance of 'Capabilities Base 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 'Capabilities Base Type'.
        See Also:
        doSwitch(EObject)
      • caseCodeType

        public T caseCodeType​(CodeType object)
        Returns the result of interpreting the object as an instance of 'Code 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 'Code Type'.
        See Also:
        doSwitch(EObject)
      • caseContactType

        public T caseContactType​(ContactType object)
        Returns the result of interpreting the object as an instance of 'Contact 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 'Contact Type'.
        See Also:
        doSwitch(EObject)
      • caseContentsBaseType

        public T caseContentsBaseType​(ContentsBaseType object)
        Returns the result of interpreting the object as an instance of 'Contents Base 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 'Contents Base Type'.
        See Also:
        doSwitch(EObject)
      • caseDatasetDescriptionSummaryBaseType

        public T caseDatasetDescriptionSummaryBaseType​(DatasetDescriptionSummaryBaseType object)
        Returns the result of interpreting the object as an instance of 'Dataset Description Summary Base 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 'Dataset Description Summary Base Type'.
        See Also:
        doSwitch(EObject)
      • caseDCPType

        public T caseDCPType​(DCPType object)
        Returns the result of interpreting the object as an instance of 'DCP 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 'DCP Type'.
        See Also:
        doSwitch(EObject)
      • caseDescriptionType

        public T caseDescriptionType​(DescriptionType object)
        Returns the result of interpreting the object as an instance of '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 'Description Type'.
        See Also:
        doSwitch(EObject)
      • caseDocumentRoot

        public T 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)
      • caseDomainMetadataType

        public T caseDomainMetadataType​(DomainMetadataType object)
        Returns the result of interpreting the object as an instance of 'Domain Metadata 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 'Domain Metadata Type'.
        See Also:
        doSwitch(EObject)
      • caseDomainType

        public T caseDomainType​(DomainType object)
        Returns the result of interpreting the object as an instance of 'Domain 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 'Domain Type'.
        See Also:
        doSwitch(EObject)
      • caseExceptionReportType

        public T caseExceptionReportType​(ExceptionReportType object)
        Returns the result of interpreting the object as an instance of 'Exception Report 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 'Exception Report Type'.
        See Also:
        doSwitch(EObject)
      • caseExceptionType

        public T caseExceptionType​(ExceptionType object)
        Returns the result of interpreting the object as an instance of 'Exception 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 'Exception Type'.
        See Also:
        doSwitch(EObject)
      • caseGetCapabilitiesType

        public T caseGetCapabilitiesType​(GetCapabilitiesType object)
        Returns the result of interpreting the object as an instance of 'Get Capabilities 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 Capabilities Type'.
        See Also:
        doSwitch(EObject)
      • caseGetResourceByIdType

        public T caseGetResourceByIdType​(GetResourceByIdType object)
        Returns the result of interpreting the object as an instance of 'Get Resource By Id 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 Resource By Id Type'.
        See Also:
        doSwitch(EObject)
      • caseHTTPType

        public T caseHTTPType​(HTTPType object)
        Returns the result of interpreting the object as an instance of 'HTTP 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 'HTTP Type'.
        See Also:
        doSwitch(EObject)
      • caseIdentificationType

        public T caseIdentificationType​(IdentificationType object)
        Returns the result of interpreting the object as an instance of '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 'Identification Type'.
        See Also:
        doSwitch(EObject)
      • caseKeywordsType

        public T caseKeywordsType​(KeywordsType object)
        Returns the result of interpreting the object as an instance of 'Keywords 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 'Keywords Type'.
        See Also:
        doSwitch(EObject)
      • caseLanguageStringType

        public T caseLanguageStringType​(LanguageStringType object)
        Returns the result of interpreting the object as an instance of 'Language String 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 'Language String Type'.
        See Also:
        doSwitch(EObject)
      • caseLanguagesType

        public T caseLanguagesType​(LanguagesType object)
        Returns the result of interpreting the object as an instance of 'Languages 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 'Languages Type'.
        See Also:
        doSwitch(EObject)
      • caseManifestType

        public T caseManifestType​(ManifestType object)
        Returns the result of interpreting the object as an instance of 'Manifest 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 'Manifest Type'.
        See Also:
        doSwitch(EObject)
      • caseMetadataType

        public T caseMetadataType​(MetadataType object)
        Returns the result of interpreting the object as an instance of 'Metadata 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 'Metadata Type'.
        See Also:
        doSwitch(EObject)
      • caseNilValueType

        public T caseNilValueType​(NilValueType object)
        Returns the result of interpreting the object as an instance of 'Nil 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 'Nil Value Type'.
        See Also:
        doSwitch(EObject)
      • caseNoValuesType

        public T caseNoValuesType​(NoValuesType object)
        Returns the result of interpreting the object as an instance of 'No Values 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 'No Values Type'.
        See Also:
        doSwitch(EObject)
      • caseOnlineResourceType

        public T caseOnlineResourceType​(OnlineResourceType object)
        Returns the result of interpreting the object as an instance of 'Online Resource 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 'Online Resource Type'.
        See Also:
        doSwitch(EObject)
      • caseOperationsMetadataType

        public T caseOperationsMetadataType​(OperationsMetadataType object)
        Returns the result of interpreting the object as an instance of 'Operations Metadata 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 'Operations Metadata Type'.
        See Also:
        doSwitch(EObject)
      • caseOperationType

        public T caseOperationType​(OperationType object)
        Returns the result of interpreting the object as an instance of 'Operation 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 'Operation Type'.
        See Also:
        doSwitch(EObject)
      • caseRangeType

        public T 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)
      • caseReferenceGroupType

        public T caseReferenceGroupType​(ReferenceGroupType object)
        Returns the result of interpreting the object as an instance of 'Reference Group 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 'Reference Group Type'.
        See Also:
        doSwitch(EObject)
      • caseReferenceType

        public T caseReferenceType​(ReferenceType object)
        Returns the result of interpreting the object as an instance of 'Reference 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 'Reference Type'.
        See Also:
        doSwitch(EObject)
      • caseRequestMethodType

        public T caseRequestMethodType​(RequestMethodType object)
        Returns the result of interpreting the object as an instance of 'Request Method 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 'Request Method Type'.
        See Also:
        doSwitch(EObject)
      • caseResponsiblePartySubsetType

        public T caseResponsiblePartySubsetType​(ResponsiblePartySubsetType object)
        Returns the result of interpreting the object as an instance of 'Responsible Party Subset 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 'Responsible Party Subset Type'.
        See Also:
        doSwitch(EObject)
      • caseResponsiblePartyType

        public T caseResponsiblePartyType​(ResponsiblePartyType object)
        Returns the result of interpreting the object as an instance of 'Responsible Party 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 'Responsible Party Type'.
        See Also:
        doSwitch(EObject)
      • caseSectionsType

        public T caseSectionsType​(SectionsType object)
        Returns the result of interpreting the object as an instance of 'Sections 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 'Sections Type'.
        See Also:
        doSwitch(EObject)
      • caseServiceIdentificationType

        public T caseServiceIdentificationType​(ServiceIdentificationType object)
        Returns the result of interpreting the object as an instance of 'Service 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 'Service Identification Type'.
        See Also:
        doSwitch(EObject)
      • caseServiceProviderType

        public T caseServiceProviderType​(ServiceProviderType object)
        Returns the result of interpreting the object as an instance of 'Service Provider 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 'Service Provider Type'.
        See Also:
        doSwitch(EObject)
      • caseServiceReferenceType

        public T caseServiceReferenceType​(ServiceReferenceType object)
        Returns the result of interpreting the object as an instance of 'Service Reference 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 'Service Reference Type'.
        See Also:
        doSwitch(EObject)
      • caseTelephoneType

        public T caseTelephoneType​(TelephoneType object)
        Returns the result of interpreting the object as an instance of 'Telephone 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 'Telephone Type'.
        See Also:
        doSwitch(EObject)
      • caseUnNamedDomainType

        public T caseUnNamedDomainType​(UnNamedDomainType object)
        Returns the result of interpreting the object as an instance of 'Un Named Domain 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 'Un Named Domain Type'.
        See Also:
        doSwitch(EObject)
      • caseValuesReferenceType

        public T caseValuesReferenceType​(ValuesReferenceType object)
        Returns the result of interpreting the object as an instance of 'Values Reference 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 'Values Reference Type'.
        See Also:
        doSwitch(EObject)
      • caseValueType

        public T caseValueType​(ValueType object)
        Returns the result of interpreting the object as an instance of '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 'Value Type'.
        See Also:
        doSwitch(EObject)
      • caseWGS84BoundingBoxType

        public T caseWGS84BoundingBoxType​(WGS84BoundingBoxType object)
        Returns the result of interpreting the object as an instance of 'WGS84 Bounding Box 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 'WGS84 Bounding Box Type'.
        See Also:
        doSwitch(EObject)
      • defaultCase

        public T 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.
        Overrides:
        defaultCase in class Switch<T>
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'EObject'.
        See Also:
        Switch.doSwitch(org.eclipse.emf.ecore.EObject)