Hello to all and thanks in advance for any help you can give me.
I'm creating some Data Objects to migrate my 5.5.0 rules to the new 6.2.0-final version, and I have some
Java Enum Structure, so the tool lets me define the Enum via the "source" section, but cannot reference it from other objects (I need otter objects to have attributes of those Enum class Types). also I have behavior that uses the Enum type.
Example:
public enum PageType {
FIRSTPAGETYPE, SECONDPAGETYPE, THIRDPAGETYPE;
private ActionType() {}
}
public enum ActionType {
FIRSTTYPE, SECONDTYPE, THIRDTYPE;
private ActionType() {}
}
public class UserRequest {
//attributes
private String cmsId;
private PageType pageType; //I cannot reference this attribute of the PageType type
. . . // etc, etc
// here is an example of the behavior where I need to use the PageType attribute Type
// even if I paste the code for the method when I call it from the rule it does not show the ActionType attribute
public void action(String cmsId, ActionType actionType){
. . . // etc, etc
}
}
Hope you can help me to make it work.
Regards