Class ConfigDO

java.lang.Object
com.skava.search.model.domain.DomainAuditEntry
com.skava.search.model.domain.config.ConfigDO

public class ConfigDO extends DomainAuditEntry

This class is the Classifier RequestInternal. It Holds the Collection classifier configuration request details

  • Constructor Details

    • ConfigDO

      public ConfigDO(long collectionId, String classifierName, String searchEngineCollName, String description, List<ConfigProperty> properties)
      This is the public constructor.
      Parameters:
      collectionId - Holds the collection identifier.
      classifierName - Holds the classifier name.
      searchEngineCollName - Holds the search engine collection name.
      description - contains the description.
      properties - contains list of config properties.
  • Method Details

    • toEntity

      public Config toEntity()
      This function is used to convert this domain object to config entity.
      Returns:
      It returns the config entity
    • fromEntity

      public void fromEntity(Config config)
      This function set this domain object data from entity object.
      Parameters:
      config - Holds the config entity object.