diff --git a/src-generated/edu/nps/moves/dis/Domain.java b/src-generated/edu/nps/moves/dis/Domain.java index e553fbb0d52de79fde6de165a8bcaeeafd81b182..f9111d5207be8bed4c4a77b399671919c8c9193d 100644 --- a/src-generated/edu/nps/moves/dis/Domain.java +++ b/src-generated/edu/nps/moves/dis/Domain.java @@ -47,13 +47,13 @@ public class Domain Class c = enumInst.getClass(); try { //@formatter:off - marshalBuff = c.getDeclaredMethod("marshal", new Class[]{ByteBuffer.class}); - marshalDos = c.getDeclaredMethod("marshal", new Class[]{DataOutputStream.class}); + marshalBuff = c.getDeclaredMethod("marshal", new Class[]{ByteBuffer.class}); + marshalDos = c.getDeclaredMethod("marshal", new Class[]{DataOutputStream.class}); unmarshalBuff = c.getDeclaredMethod("unmarshalEnum", new Class[]{ByteBuffer.class}); unmarshalDis = c.getDeclaredMethod("unmarshalEnum", new Class[]{DataInputStream.class}); - mSize = c.getDeclaredMethod("getMarshalSize", (Class[]) null); - getValue = c.getMethod("getValue", (Class[]) null); - getDescription = c.getMethod("getDescription", (Class[]) null); + mSize = c.getDeclaredMethod("getMarshalledSize", (Class[]) null); + getValue = c.getDeclaredMethod("getValue", (Class[]) null); + getDescription =c.getDeclaredMethod("getDescription", (Class[]) null); //@formatter:on } catch (NoSuchMethodException ex) { @@ -110,5 +110,10 @@ public class Domain throw new RuntimeException("bad " + m.getName()); } } + + public String toString() + { + return getDescription(); + } }