-
Notifications
You must be signed in to change notification settings - Fork 10
[uEngine UML] uEngine UML Framework
Jinyoung Jang edited this page Oct 23, 2016
·
1 revision
uEngine UML Framework work with metaworks3 for UI generation for class instances. This framework is under development - the roadmap includes XMI-based UML class diagram interchanges. uEngine BPM uses this framework for generating class definition and instance UI for work-item-handler.
ClassDefinition classDefinition = new ClassDefinition();
classDefinition.setFieldDescriptors(new Attribute[]{new Attribute()});
classDefinition.getFieldDescriptors()[0].setName("value");
classDefinition.getFieldDescriptors()[0].setClassName(value.getClass().getName());
ObjectInstance instance = new ObjectInstance();
instance.setClassDefinition(classDefinition);
instance.setBeanProperty("value", value);