-
Key: IDL4JAV11-14
-
Status: open Implementation work Blocked
-
Source: Objective Interface Systems ( Mr. Chuck Abbott)
-
Summary:
The example uses annotation to define the type. The mapping should be clean/pure without annotations. The annotation should be moved to the sections on annotations.
{ X, Y }
// IDL
enum AnEnum;
// Java
{ this.value = value; }
public enum AnEnum {
X,
Y;
private int value;
private AnEnum(int value)public int getValue()
{ return value; }public static AnEnum valueOf(int v)
{ // return X, Y, or raise java.lang.RuntimeException }7.17 Standardized Annotations
} -
Reported: IDL4-Java 1.0 — Wed, 11 Aug 2021 17:09 GMT
-
Updated: Wed, 11 Aug 2021 17:09 GMT
IDL4JAV11 — Annotations should not be used for examples in a canonical mapping
- Key: IDL4JAV11-14
- OMG Task Force: IDL4 to Java Language Mapping (IDL4-Java) 1.1 RTF