--- /dev/null
+package com.vaadin.tests.data.bean;
+
+public enum AnotherTestEnum {
+ ONE("ONE"), TWO("TWO");
+
+ private String id;
+
+ private AnotherTestEnum(String id) {
+ this.id = id;
+ }
+
+ @Override
+ public String toString() {
+ return id;
+ }
+}
--- /dev/null
+package com.vaadin.tests.data.bean;
+
+public enum TestEnum {
+ ONE("1"), TWO("2");
+
+ private String id;
+
+ private TestEnum(String id) {
+ this.id = id;
+ }
+
+ @Override
+ public String toString() {
+ return id;
+ }
+}
+++ /dev/null
-package com.vaadin.tests.data.converter;
-
-public enum AnotherTestEnum {
- ONE("ONE"), TWO("TWO");
-
- private String id;
-
- private AnotherTestEnum(String id) {
- this.id = id;
- }
-
- @Override
- public String toString() {
- return id;
- }
-}
import com.vaadin.data.util.ObjectProperty;
import com.vaadin.data.util.converter.Converter;
import com.vaadin.data.util.converter.ReverseConverter;
+import com.vaadin.tests.data.bean.AnotherTestEnum;
+import com.vaadin.tests.data.bean.TestEnum;
import com.vaadin.ui.TextField;
public class TestAnyEnumToStringConverter {
+++ /dev/null
-package com.vaadin.tests.data.converter;
-
-public enum TestEnum {
- ONE("1"), TWO("2");
-
- private String id;
-
- private TestEnum(String id) {
- this.id = id;
- }
-
- @Override
- public String toString() {
- return id;
- }
-}
import com.vaadin.data.util.ObjectProperty;
import com.vaadin.data.util.converter.Converter;
import com.vaadin.data.util.converter.ReverseConverter;
+import com.vaadin.tests.data.bean.AnotherTestEnum;
+import com.vaadin.tests.data.bean.TestEnum;
import com.vaadin.ui.TextField;
public class TestSpecificEnumToStringConverter {