Class Classification

java.lang.Object
org.machanism.machai.schema.Classification

@Generated("jsonschema2pojo") public class Classification extends Object
Categorizes the artifact by type, domain, and supported languages.
  • Constructor Details

    • Classification

      public Classification()
  • Method Details

    • getType

      public String getType()
      Type of the artifact (e.g., library, plugin, module). (Required)
    • setType

      public void setType(String type)
      Type of the artifact (e.g., library, plugin, module). (Required)
    • getDomains

      public List<String> getDomains()
      Application domains (e.g., Data Processing, Machine Learning). (Required)
    • setDomains

      public void setDomains(List<String> domains)
      Application domains (e.g., Data Processing, Machine Learning). (Required)
    • getLanguages

      public List<Language> getLanguages()
      Programming languages supported. (Required)
    • setLanguages

      public void setLanguages(List<Language> languages)
      Programming languages supported. (Required)
    • getLayers

      public List<Layer> getLayers()
      Defines which Clean Architecture layers the library belongs to.
    • setLayers

      public void setLayers(List<Layer> layers)
      Defines which Clean Architecture layers the library belongs to.
    • getUsageContext

      public List<String> getUsageContext()
      Specifies the contexts or environments in which the library can be used.
    • setUsageContext

      public void setUsageContext(List<String> usageContext)
      Specifies the contexts or environments in which the library can be used.
    • getTargetEnvironment

      public List<String> getTargetEnvironment()
      A property that defines the fundamental runtime or platform required for the library to function. This property should specify only the base environment (e.g., `Java', `Node.js`, `Python`) rather than listing every possible deployment scenario. For example, if a library is written in pure Java, set targetEnvironment to `Java`, indicating compatibility with any environment that supports Java, without the need to enumerate all Java-compatible platforms (such as Windows, Linux, or macOS).
    • setTargetEnvironment

      public void setTargetEnvironment(List<String> targetEnvironment)
      A property that defines the fundamental runtime or platform required for the library to function. This property should specify only the base environment (e.g., `Java', `Node.js`, `Python`) rather than listing every possible deployment scenario. For example, if a library is written in pure Java, set targetEnvironment to `Java`, indicating compatibility with any environment that supports Java, without the need to enumerate all Java-compatible platforms (such as Windows, Linux, or macOS).
    • getIntegrations

      public List<String> getIntegrations()
      Names of external backing systems the library integrates with (e.g., commercetools, Adyen, Braintree), if supported. This should only include actual external backend systems, not dependent libraries.
    • setIntegrations

      public void setIntegrations(List<String> integrations)
      Names of external backing systems the library integrates with (e.g., commercetools, Adyen, Braintree), if supported. This should only include actual external backend systems, not dependent libraries.
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • setAdditionalProperty

      public void setAdditionalProperty(String name, Object value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object