|
Download Sources | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@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;
}
}
| Optional Element Summary | |
|---|---|
TransientMode |
value
|
public abstract TransientMode value
|
FlexGenerator | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||