Annotate your Java Beans with the following two annotations and use the Maven integration to generate the AS3 code.
| Level | Required | |
| @ActionScript | Type | yes |
| @ActionScriptProperty | Method | no |
All annotated classes will be processed and the AS3 implementation and its extension class will be generated. The available properties influence the code generation.
For more details see the http://flex-annotations.aixcept.net/apidocs/de/aixcept/flex2/annotations/ActionScript.html.
| Property | Default | Required | Description |
| managed | false | no | Adds the Managed Meta Tag |
| bindable | false | no | Adds the Bindable Meta Tag |
| extendable | true | no | Mark the Base class as (non-)final class |
| externalizable | false | no | Implements IExternaliable interface |
| remoteObject | false | no | Adds the RemoteObject Meta Tag |
| createToString | false | no | Created a toString() implementation |
| inherit | false | no | Inherit super class properties |
| valueObject | false | no | Implement Cairngorms ValueObject |
Only annotated properties get processed and will be generated into AS3 code. As default only public properties will be created (Value Object Pattern), but you can create getter and setter methods by setting either the read and/or write properties to true.
For more details see the http://flex-annotations.aixcept.net/apidocs/de/aixcept/flex2/annotations/ActionScriptProperty.html.
| Property | Default | Required | Description |
| managed | false | no | Adds the Managed Meta Tag |
| bindable | false | no | Adds the Bindable Meta Tag |
| extendable | true | no | Mark the Base class as (non-)final class |
| read | false | no | Create a getter method |
| write | false | no | Create a setter method |
| useDefaultValue | false | no | Convert the Java default as AS3 value |