package tw.edu.ncu.cc.location.data.place;

public enum PlaceType {

    WHEELCHAIR_RAMP, DISABLED_CAR_PARKING, DISABLED_MOTOR_PARKING, EMERGENCY,
    AED, RESTAURANT, SPORT_RECREATION, ADMINISTRATION, RESEARCH, DORMITORY, OTHER,
    TOILET, ATM, BUS_STATION, PARKING_LOT;

    public String value() {
        return name();
    }

    public static PlaceType fromValue( String string ) {
        return valueOf( string );
    }

}

@@ -85,192 +85,1038 @@
 RAMP
-, DISABLED_CAR_PARKING, DISABLED_MOTOR_PARKING, EMERGENCY,%0A    AED, RESTAURANT, SPORT_RECREATION, ADMINISTRATION, RESEARCH, DORMITORY, OTHER,%0A    TOILET, ATM, BUS_STATION, PARKING_LOT;
+              (%22%E7%84%A1%E9%9A%9C%E7%A4%99%E5%9D%A1%E9%81%93%22,      false),%0A    DISABLED_CAR_PARKING        (%22%E7%84%A1%E9%9A%9C%E7%A4%99%E6%B1%BD%E8%BB%8A%E4%BD%8D%22,    false),%0A    DISABLED_MOTOR_PARKING     (%22%E7%84%A1%E9%9A%9C%E7%A4%99%E6%A9%9F%E8%BB%8A%E4%BD%8D%22,    false),%0A    EMERGENCY                      (%22%E7%B7%8A%E6%80%A5%22,            false),%0A    AED                               (%22AED%22,            false),%0A    RESTAURANT                      (%22%E9%A4%90%E5%BB%B3%22,           true),%0A    SPORT_RECREATION              (%22%E4%BC%91%E9%96%92%E7%94%9F%E6%B4%BB%22,       true),%0A    ADMINISTRATION                 (%22%E8%A1%8C%E6%94%BF%E6%9C%8D%E5%8B%99%22,       true),%0A    RESEARCH                        (%22%E6%95%99%E5%AD%B8%E7%A0%94%E7%A9%B6%22,       true),%0A    DORMITORY                      (%22%E5%AE%BF%E8%88%8D%22,            true),%0A    OTHER                            (%22%E5%85%B6%E4%BB%96%E5%96%AE%E4%BD%8D%22,       true),%0A    TOILET                            (%22%E5%BB%81%E6%89%80%22,           false),%0A    ATM                               (%22%E6%8F%90%E6%AC%BE%E6%A9%9F%22,         false),%0A    BUS_STATION                     (%22%E5%85%AC%E8%BB%8A%E7%AB%99%E7%89%8C%22,       false),%0A    PARKING_LOT                     (%22%E5%81%9C%E8%BB%8A%E5%A0%B4%22,         false);%0A%0A    private String cName;%0A    private boolean isNeed;%0A%0A    PlaceType (String cName, boolean isNeed) %7B%0A        this.cName = cName;%0A        this.isNeed = isNeed;%0A    %7D
 %0A%0A  
@@ -1269,10 +1269,139 @@
 %0A    %7D%0A%0A
+    public String getCName() %7B%0A        return this.cName;%0A    %7D%0A%0A    public boolean isNeed() %7B%0A        return this.isNeed;%0A    %7D%0A
 %7D%0A

refactor PlaceType