com.vaadin.tests.data.bean.Country.java Source code

Java tutorial

Introduction

Here is the source code for com.vaadin.tests.data.bean.Country.java

Source

package com.vaadin.tests.data.bean;

public enum Country {

    FINLAND("Finland"), SWEDEN("Sweden"), USA("USA"), RUSSIA("Russia"), NETHERLANDS("Netherlands"), SOUTH_AFRICA(
            "South Africa");

    private String name;

    private Country(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return name;
    }
}