Directive annotation

The directive tags aren’t used to store UML data. They are used to change the behaviors of code generator. Right now, there is only one directive annotation.


package com.soyatec.uml.annotations; 

public @interface UML {
	...

	boolean bodyGenerated() default true;
}

Name

Value Type

Cardinality

Default value

Description

bodyGenerated

boolean

(0…1)

“true”

true” indicates the content is generated and regenerated by UML generator.

 

Copyright © Soyatec 2006. All Rights Reserved.