Class SampleMetacardValidator

java.lang.Object
org.codice.ddf.sdk.validation.metacard.SampleMetacardValidator
All Implemented Interfaces:
ddf.catalog.util.Describable, ddf.catalog.validation.MetacardValidator, org.codice.ddf.platform.services.common.Describable

public class SampleMetacardValidator extends Object implements ddf.catalog.validation.MetacardValidator, ddf.catalog.util.Describable
  • Constructor Details

    • SampleMetacardValidator

      public SampleMetacardValidator()
  • Method Details

    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface ddf.catalog.util.Describable
      Specified by:
      getVersion in interface org.codice.ddf.platform.services.common.Describable
    • getId

      public String getId()
      Specified by:
      getId in interface ddf.catalog.util.Describable
      Specified by:
      getId in interface org.codice.ddf.platform.services.common.Describable
    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface ddf.catalog.util.Describable
      Specified by:
      getTitle in interface org.codice.ddf.platform.services.common.Describable
    • setId

      public void setId(String newId)
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface ddf.catalog.util.Describable
      Specified by:
      getDescription in interface org.codice.ddf.platform.services.common.Describable
    • getOrganization

      public String getOrganization()
      Specified by:
      getOrganization in interface ddf.catalog.util.Describable
      Specified by:
      getOrganization in interface org.codice.ddf.platform.services.common.Describable
    • validate

      public void validate(ddf.catalog.data.Metacard metacard) throws ddf.catalog.validation.ValidationException
      Specified by:
      validate in interface ddf.catalog.validation.MetacardValidator
      Throws:
      ddf.catalog.validation.ValidationException
    • setValidWords

      public void setValidWords(Set<String> validWords)
    • setWarningWords

      public void setWarningWords(Set<String> warningWords)
    • setErrorWords

      public void setErrorWords(Set<String> errorWords)
    • getValidWords

      public Set<String> getValidWords()
    • getWarningWords

      public Set<String> getWarningWords()
    • getErrorWords

      public Set<String> getErrorWords()