Class AbstractYamlArtifact

java.lang.Object
de.iip_ecosphere.platform.services.environment.AbstractYamlArtifact
Direct Known Subclasses:
YamlArtifact

public abstract class AbstractYamlArtifact extends Object
Basic information about an artifact containing services, abstract because template-based service objects do not work with SnakeYaml. By default, reference types are created based on the attribute definition in the class. As soon as mechanisms are available to handle this, these additional classes may collapse into a more simple hierarchy.
Author:
Holger Eichelberger, SSE
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private de.iip_ecosphere.platform.support.iip_aas.ApplicationSetup
     
    private String
     
    private String
     
    private de.iip_ecosphere.platform.support.Version
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    de.iip_ecosphere.platform.support.iip_aas.ApplicationSetup
    Returns the application setup.
    Returns the name of the service.
    Returns the name of the service.
    de.iip_ecosphere.platform.support.Version
    Returns the version of the service.
    void
    setApplication(de.iip_ecosphere.platform.support.iip_aas.ApplicationSetup application)
    Changes the application setup.
    void
    Defines the id of the service.
    void
    Defines the name of the service.
    void
    setVersion(de.iip_ecosphere.platform.support.Version version)
    Defines the version of the service.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • id

      private String id
    • name

      private String name
    • version

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

      private de.iip_ecosphere.platform.support.iip_aas.ApplicationSetup application
  • Constructor Details

    • AbstractYamlArtifact

      public AbstractYamlArtifact()
  • Method Details

    • getApplication

      public de.iip_ecosphere.platform.support.iip_aas.ApplicationSetup getApplication()
      Returns the application setup.
      Returns:
      the application setup
    • getId

      public String getId()
      Returns the name of the service.
      Returns:
      the name
    • getName

      public String getName()
      Returns the name of the service.
      Returns:
      the name
    • getVersion

      public de.iip_ecosphere.platform.support.Version getVersion()
      Returns the version of the service.
      Returns:
      the version
    • setApplication

      public void setApplication(de.iip_ecosphere.platform.support.iip_aas.ApplicationSetup application)
      Changes the application setup.
      Parameters:
      application - the application setup
    • setId

      public void setId(String id)
      Defines the id of the service. [required by SnakeYaml]
      Parameters:
      id - the id
    • setName

      public void setName(String name)
      Defines the name of the service. [required by SnakeYaml]
      Parameters:
      name - the name
    • setVersion

      public void setVersion(de.iip_ecosphere.platform.support.Version version)
      Defines the version of the service. [required by SnakeYaml]
      Parameters:
      version - the version