1 /*
2 * status of land
3 *
4 * License : The MIT License
5 * Copyright(c) 2009 olyutorskii
6 */
7
8 package jp.sourceforge.jindolf.corelib;
9
10 /**
11 * 国の状態。
12 */
13 public enum LandState{
14
15 /** アクセス不可。 */
16 CLOSED("closed"),
17 /** 過去ログの閲覧のみが可能。 */
18 HISTORICAL("historical"),
19 /** ゲームへの参加が可能。 */
20 ACTIVE("active"),
21 ;
22
23 private final String xmlName;
24
25 /**
26 * コンストラクタ。
27 * @param xmlName XML用シンボル
28 */
29 LandState(String xmlName){
30 this.xmlName = xmlName.intern();
31 return;
32 }
33
34 /**
35 * XML用シンボルを取得する。
36 * @return XML用シンボル
37 */
38 public String getXmlName(){
39 return this.xmlName;
40 }
41
42 }