Modelio Java Architect defines stereotypes that enable you to designate certain elements as being concerned by the generation of Java code.

Note Most stereotypes can be added directly through the "Java" view.
Stereotype Applicable on Usage

jpmsmodule JpmsModule

component Component

represent a java 9 module.
See the java specification.

jpmsrequires JpmsRequires

elementimport ElementImport

require another java 9 module.

jpmsexportto JpmsExportTo

dependency Dependency

export a package.

jpmsopensto JpmsOpensTo

dependency Dependency

opens a package.

jpmsuses JpmsUses

elementimport ElementImport

indicate a service interface is used.

jpmsport JpmsPort

port Port

declare a JPMS Java Module:

  1. uses a service interface.

  2. provides a service Interface with an implementation.

javacomponent JavaComponent

component Component

represent a java autonomous component, for example a specific project producing a JAR.

javapackage JavaPackage

package Package

represent a package.

javaclass JavaClass

class Class

represent a java class declaration.

javaenumeration JavaEnumeration

enumeration Enumeration

represent an enum declaration.

javainterface JavaInterface

interface Interface

represent an interface declaration.

javaannotation JavaAnnotation

class Class

represent a java annotation declaration.

javadatatype JavaDataType

datatype DataType

represent a "primitive type" java class declaration.

javafilegroup JavaFileGroup

elementimport ElementImport

indicate that several types (class/interface/enum) are to be generated in the same .java file.

javastatic JavaStatic

elementimport ElementImport

represent a static import.

javaassociationendproperty JavaAssociationEndProperty

associationend AssociationEnd

indicate this AssociationEnd has automatically generated accessors instead of actual operations in the model.

javaattributeproperty JavaAttributeProperty

attribute Attribute

indicate this Attribute has automatically generated accessors instead of actual operations in the model.

automethod StandardMethod

operation Operation

represent a method that is automatically updated when the model changes.
For information only. Do not use, reserved for internal use by the module only.

automethod JavaGetter

operation Operation

represent a get accessor that is automatically updated when the model changes.
For information only. Do not use, reserved for internal use by the module only.

automethod JavaSetter

operation Operation

represent a set accessor that is automatically updated when the model changes.
For information only. Do not use, reserved for internal use by the module only.

seejavadoc SeeJavadoc

dependency Dependency

represent an @see javadoc tag.

javagetterdep JavaGetterDep

dependency Dependency

link an Attribute/AssociationEnd to its get accessor.
For information only. Do not use, reserved for internal use by the module only.

javasetterdep JavaSetterDep

dependency Dependency

link an Attribute/AssociationEnd to its set accessor.
For information only. Do not use, reserved for internal use by the module only.

jarfile JarFile

artifact Artifact

represent a JAR file.

javaresource JavaResource

artifact Artifact

represent a resource file.

stereotype AbstractJavaAnnotation

none

Abstract stereotype to inherit from to create stereotypes representing java annotation types.