
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Eclipse/Windows/Flex
|
|
|
In our project, we have enums with descriptive fields. The generator doesn't expose these fields in the base class and we had to modified the JavaEnum class and enum.gsp to get it working. We would like to keep up with your nightly builds but this requires us to change JavaEnum and enum.gsp every single time. Could the feature be added into the release? I can provide the modified code. For example:
public enum JediType {
LUKE("Luke Skywalker"),
HAN("Han Solo"),
YODA("Yoda")
private final String description;
JediType(String description) {
this.description = description;
}
public String getDescription() {
return description;
}
}
GETS generate as:
public class JediType Enum {
public static const LUKE:JediType = new JediType ("LUKE", ""Luke Skywalker", _);
....
function JediType (value:String = null, description:String = null, restrictor:* = null) {
super((value || DRAFT.name), restrictor);
this._description = description;
}
....
public function get description():String {
return this._description;
}
|
|
Description
|
In our project, we have enums with descriptive fields. The generator doesn't expose these fields in the base class and we had to modified the JavaEnum class and enum.gsp to get it working. We would like to keep up with your nightly builds but this requires us to change JavaEnum and enum.gsp every single time. Could the feature be added into the release? I can provide the modified code. For example:
public enum JediType {
LUKE("Luke Skywalker"),
HAN("Han Solo"),
YODA("Yoda")
private final String description;
JediType(String description) {
this.description = description;
}
public String getDescription() {
return description;
}
}
GETS generate as:
public class JediType Enum {
public static const LUKE:JediType = new JediType ("LUKE", ""Luke Skywalker", _);
....
function JediType (value:String = null, description:String = null, restrictor:* = null) {
super((value || DRAFT.name), restrictor);
this._description = description;
}
....
public function get description():String {
return this._description;
} |
Show » |
Sort Order:
| There are no comments yet on this issue.
|
|