Download Sources

com.liguorien.flex.generator
Annotation Type FlexTransient


@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
public @interface FlexTransient

Used to indicates to the generator that a class or a property should not be convert to actionscript.

It can be used on a class declaration or on a getter method.

Exemple :

    // tell to the generator to skip this class
    @FlexTransient
    public class SomeUtilityClass  {

    }


    public class MyEntity {
      
        private String _name;

        public String getName(){
            return _name;
        }
        public void setName(String name){
            _name = name;
        }

 

        private int _serverSideOnlyProperty;


   // tell to the generator to skip this property
        @FlexTransient
        public int getServerSideOnlyProperty(){
             return _serverSideOnlyProperty;
        }
        public void setServerSideOnlyProperty(int value){
             _serverSideOnlyProperty = value;
        }
    }
 

Version:
0.2
Author:
Nicolas Désy

Optional Element Summary
 TransientMode value
           
 

value

public abstract TransientMode value
Default:
PUBLIC

FlexGenerator

Copyright 2006 Nicolas Désy. All rights reserved.