com.supermap.services.providers

Class UGCDataProviderSetting

    • Constructor Detail

      • UGCDataProviderSetting

        public UGCDataProviderSetting()
        

        The Constructor.

      • UGCDataProviderSetting

        public UGCDataProviderSetting(UGCDataProviderSetting dataSetting)
        

        Copy constructor.

        Constructs a UGCDataProviderSetting object with SuperMap data service provider configuration information.

        Parameters:
        dataSetting -
    • Method Detail

      • setWorkspacePath

        public void setWorkspacePath(java.lang.String workspacePath)
        

        Sets the SuperMap workspace path.

        Parameters:
        workspacePath - SuperMap workspace path.
      • getWorkspacePath

        public java.lang.String getWorkspacePath()
        

        Gets the SuperMap workspace path.

        Returns:
        SuperMap workspace path.
      • setDatasourceNames

        public void setDatasourceNames(java.util.List<java.lang.String> datasourceNames)
        

        Sets the name of the data source used by the data service provider.

        If do not set, the data service provider uses all data sources in the workspace by default..

        Parameters:
        datasourceNames -
      • getDatasourceNames

        public java.util.List<java.lang.String> getDatasourceNames()
        

        Gets the name of the data source used by the data service provider.

        Returns:
        data source name list.
      • isAttachmentsEnabled

        public boolean isAttachmentsEnabled()
        

        Whether the attachment function is enabled.

        Returns:
        Since:
        8.0.0
      • setAttachmentsEnabled

        public void setAttachmentsEnabled(boolean attachmentsEnabled)
        

        Accessories function switch.

        Parameters:
        attachmentsEnabled -
        Since:
        8.0.0
      • isFeatureMetadatasEnabled

        public boolean isFeatureMetadatasEnabled()
        
      • setFeatureMetadatasEnabled

        public void setFeatureMetadatasEnabled(boolean featureMetadatasEnabled)
        

        Parameters:
        featureMetadatasEnabled -
        Since:
        8.0.0
      • equals

        public boolean equals(java.lang.Object obj)
        

        Compare whether the specified object is equal to the current object.

        Overrides:
        equals in class DataProviderSetting
        Parameters:
        obj - the object that is compared with the current object.
        Returns:
        Returns true if both objects are equal; false otherwise.
      • hashCode

        public int hashCode()
        
        Gets the hash value of the object instance
        Overrides:
        hashCode in class DataProviderSetting
        Returns:
        hash value
      • getExcludedFieldsInDatasources

        public ExcludedFieldsInDatasource getExcludedFieldsInDatasources(java.lang.String datasourceName)
        
      • setExcludedFieldsInDatasources

        protected void setExcludedFieldsInDatasources(ExcludedFieldsInDatasource[] excludedFieldsInDatasources)