Class AasImports.Import

java.lang.Object
de.iip_ecosphere.platform.configuration.aas.AasImports.Import
Enclosing class:
AasImports

public static class AasImports.Import extends Object
Describes an import.
Author:
Holger Eichelberger, SSE
  • Field Details

    • projectName

      private String projectName
    • version

      private de.iip_ecosphere.platform.support.Version version
    • knownTypes

      private Set<String> knownTypes
  • Constructor Details

    • Import

      private Import(String projectName, de.iip_ecosphere.platform.support.Version version, String... knownTypes)
      Creates an import information.
      Parameters:
      projectName - the project name
      version - the required version, may be null
      knownTypes - optional listing of known types
  • Method Details

    • getProjectName

      public String getProjectName()
      Returns the name of the project to import.
      Returns:
      the name of the project
    • getVersion

      public de.iip_ecosphere.platform.support.Version getVersion()
      Returns the required version.
      Returns:
      the version, may be null for none
    • isKnownType

      public boolean isKnownType(String type)
      Returns whether type shall be known through this import.
      Parameters:
      type - the type (may be null)
      Returns:
      true for known, false else