Draw on the right, write (Umple) model code on the left. Analyse models and generate code. This tool stores your data in cookies and on a server. I understand. Click to learn about privacy. Download Donate For help: User manual Ask questions Report issue
@SuppressWarnings("deprecation") class Student { Integer id; // Whenever the id attribute is changed, // emit a trace record // The record will have the format id=value trace id; // The following Java main program can be used // to demonstrate this in operation // This will output a record when id is set to 9. public static void main(String [ ] args) { Student s = new Student(6); s.setId(9); } } //$?[End_of_model]$? // @@@skipcppcompile - Contains Java Code // @@@skipphpcompile - Contains Java Code // @@@skiprubycompile - Contains Java Code // @@@skippythoncompile - Contains Java Code