Type reference

Model type

You can reference a model type, i.e. an instance of the interface com.sodius.mdw.core.model.Model, using just a metamodel identifier (e.g. uml21).

// This ruleset expects as input a Model containing UML 2.1 elements
public ruleset(in model : uml21) {
...
}

Java class

You can reference a Java class in several way:

Primitive type

You can also reference Java primitive types: