Tags:
OMS Annotations ReferenceOMS uses the Java construct annotations, extended to other languages, to enable interaction of model components with the OMS API and enable interaction among model components. Annotations are metadata for model execution and documentation purposes.The OMS annotations are shown in the following table, organized by the language elements they describe. Click on an annotation for an explanation of their purpose and function.
Annotation TypesAnnotations are used to specify resources within a component that interacts with the OMS framework. An annotation can play different roles depending on its context. There are three main annotation categories:Mandatory Execution
Supporting Execution
Documentation
Annotations are a Java specific feature, add-on to the language to allow for custom and domain specific markups of language elements. In Java they do not affect directly class semantics, but they do affect the way classes are treated by tools, such as a modeling framework. Annotations can be seen as extension of the Java Classes with meta information that can be obtained from sources files, compiled classes, or loaded classes at runtime. They also respect languages scopes and are supported by Java IDEs with code completion and syntax highlighting. Other languages contain counterparts to Java annotations, for example, properties in C++. OMS extends the concept for FORTRAN, in which modelers can insert annotation syntax in comment lines, and OMS will read and act on the annotation comment. This is described further in the FORTRAN Science Components section. |
Navigation Bar for Object Modeling System
Resources:
Downloads ![]() Mercurial Repository ![]() OMS API Javadoc ![]() Publications & Presentations Annotation Reference DSL Reference Handbook 3.0 ![]() Frequently Asked Questions (FAQ) OMS License (LGPL 2.1) ![]() New Users: 1. Get a JF account 2. Join the OMS project Contact Us: Jack Carlson ![]() Coordinator, OMS Laboratory OMS Laboratory ![]() [email protected] (970) 492-7323 Olaf David |