NOTE: We are hounoured to be part of the Eclipse Foundation as Eclipse AAS Model for Java (AAS4J) and this project will be maintained here (Eclipse AAS4J GitHub Repository). See you there!
Please 👉 use our new repository Eclipse AAS4J GitHub Repository for contributions and subscribe to our mailing list to interact with our community at the Eclipse Foundation.
This is a tool for the automated creation of a Java library containing all classes, properties and enumerations of the Asset Administration Shell (AAS) Metamodel. The tool itself is completly written in Java and uses the shapes constraint language (SHACL) to specify annotations and cardinalities for the Java classes.
Before running the tool, a profile needs to be created. This profile contains information about where the ontology sources reside. In the pom.xml, add your own profile with a (local) path to your ontology. There are multiple profiles present already which can be used as reference.
Once the profile has been created, you can build the project using Maven by simply executing at the repository root:
mvn clean package -P <Profile Name>
The project contains several modules:
aas
Module containing shapes translating RDF into Java classes matching specific requirements of projects regarding the Asset Administration Shell.common
Module containing shapes translating RDF into Java classes.util
Module containing some generic utility classes, such as custom annotations.generator
This module loads all data required for the translation process from RDF ontologies to Java classes, including the shapes and the ontology.
We always look for contributions, bug reports, feature requests etc. Simply open an issue or - even better - directly propose a change through a pull request.
A detailed documentation how to use the tool and how to prepare the input and the environment is provided here.
Name | Affiliation | Github Account | Parent | AAS | Util | Generator |
---|---|---|---|---|---|---|
Sebastian Bader | Fraunhofer IAIS | sebbader | x | x | x | x |
Matthias Böckmann | Fraunhofer IAIS | maboeckmann | x | x | x | x |
Pascal Linden | Fraunhofer IAIS | plinden | x | x | x | x |
This project was initiated by SAP and Fraunhofer to provide a foundation for the AAS development and to foster its dissemination.