Class AasxPersistenceRecipe

java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx.AbstractPersistenceRecipe
de.iip_ecosphere.platform.support.aas.basyx1_0.AasxPersistenceRecipe
All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.PersistenceRecipe

class AasxPersistenceRecipe extends de.iip_ecosphere.platform.support.aas.basyx.AbstractPersistenceRecipe
Persistence recipe for AASX.
Author:
Holger Eichelberger, SSE
  • Nested Class Summary

    Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.support.aas.PersistenceRecipe

    de.iip_ecosphere.platform.support.aas.PersistenceRecipe.FileResource
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final de.iip_ecosphere.platform.support.FileFormat
     
    private static final de.iip_ecosphere.platform.support.logging.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a recipe instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<de.iip_ecosphere.platform.support.aas.Aas>
    readFrom(File file)
     
    void
    writeTo(List<de.iip_ecosphere.platform.support.aas.Aas> aas, File thumbnail, List<de.iip_ecosphere.platform.support.aas.PersistenceRecipe.FileResource> resources, File file)
     

    Methods inherited from class de.iip_ecosphere.platform.support.aas.basyx.AbstractPersistenceRecipe

    addAsset, ensureLocal, ensureLocal, getSupportedFormats, isValidForWriting, transform

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface de.iip_ecosphere.platform.support.aas.PersistenceRecipe

    writeTo
  • Field Details

    • LOGGER

      private static final de.iip_ecosphere.platform.support.logging.Logger LOGGER
    • AASX

      private static final de.iip_ecosphere.platform.support.FileFormat AASX
  • Constructor Details

    • AasxPersistenceRecipe

      AasxPersistenceRecipe()
      Creates a recipe instance.
  • Method Details

    • writeTo

      public void writeTo(List<de.iip_ecosphere.platform.support.aas.Aas> aas, File thumbnail, List<de.iip_ecosphere.platform.support.aas.PersistenceRecipe.FileResource> resources, File file) throws IOException
      Throws:
      IOException
    • readFrom

      public List<de.iip_ecosphere.platform.support.aas.Aas> readFrom(File file) throws IOException
      Throws:
      IOException