package com.sarality.app.data.location;

import com.sarality.app.data.BaseEnumData;

/**
 * Enum Data for a City.
 *
 * @author abhideep@ (Abhideep Singh)
 */
public class City extends BaseEnumData<City> {

  private final String shortName;
  private final String fullName;
  private final String oldName;
  private final Country country;

  public City(String enumName, String shortName, String fullName, String oldName, Country country) {
    super(enumName);
    this.shortName = shortName;
    this.fullName = fullName;
    this.oldName = oldName;
    this.country = country;
    register(City.class, this);
  }

  public String getShortName() {
    return shortName;
  }

  public String getFullName() {
    return fullName;
  }

  public String getOldName() {
    return oldName;
  }

  public Country getCountry() {
    return country;
  }

  @Override
  public City getEnumData() {
    return this;
  }
}

@@ -78,16 +78,40 @@
 mData;%0A%0A
+import java.util.List;%0A%0A
 /**%0A * E
@@ -247,22 +247,17 @@
  String 
-shortN
+n
 ame;%0A  p
@@ -269,31 +269,31 @@
 e final 
-String fullName
+Country country
 ;%0A  priv
@@ -306,240 +306,199 @@
 nal 
+List%3C
 String
- oldName;%0A  private final Country country;%0A%0A  public City(String enumName, String shortName, String fullName, String oldName, Country country) %7B%0A    super(enumName);%0A    this.shortName = shortName;%0A    this.fullName = fullName
+%3E alternateNames;%0A%0A  public City(String enumName, String name, Country country, List%3CString%3E alternateNames) %7B%0A    super(enumName);%0A    this.name = name;%0A    this.country = country
 ;%0A  
@@ -508,53 +508,39 @@
 his.
-old
+alternate
 Name
+s
  = 
-oldName;%0A    this.country = country
+alternateNames
 ;%0A  
@@ -622,14 +622,9 @@
 urn 
-shortN
+n
 ame;
@@ -676,13 +676,9 @@
 urn 
-fullN
+n
 ame;
@@ -696,25 +696,26 @@
 lic 
-String getOldName
+Country getCountry
 () %7B
@@ -730,15 +730,15 @@
 urn 
-oldName
+country
 ;%0A  
@@ -749,34 +749,46 @@
  public 
-Country getCountry
+List%3CString%3E getAlternateNames
 () %7B%0A   
@@ -787,39 +787,46 @@
 () %7B%0A    return 
-country
+alternateNames
 ;%0A  %7D%0A%0A  @Overri

Define Alternate Names for city rather than this shortname, long name etc.