Export Java Code from Models

In Astah Professional, you can easily export Java code from your Models.

Go to [Tool] - [Java] - [Export Java] in the Main Menu

Class DiagramClass Diagram

Example of exported code: Monitor.java

package Class;
public class Monitor {

private boolean Threshold;

private Tracer tracer;

private LightSensor lightSensor;

public void isBlack() {

}

public void isWhite() {

}

}