View Javadoc

1   /*
2    * All Rights Reserved.
3    * Copyright (C) 1999-2005 Tsukuba Bunko.
4    *
5    * Licensed under the BSD License ("the License"); you may not use
6    * this file except in compliance with the License.
7    * You may obtain a copy of the License at
8    *
9    *       http://www.tsukuba-bunko.org/licenses/LICENSE.txt
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   *
17   * $Id: SystemSaveData.java,v 1.2 2005/07/23 19:06:28 ppoi Exp $
18   */
19  package tsukuba_bunko.peko.session;
20  
21  import	java.util.HashSet;
22  
23  
24  /***
25   * システムの情報を格納するセーブデータです。
26   * @author	$Author: ppoi $
27   * @version	$Revision: 1.2 $
28   */
29  public class SystemSaveData	extends SaveData {
30  
31  	/***
32  	 * serial version UID
33  	 */
34  	private static final long	serialVersionUID	= -7646853845746257804L;
35  
36  	/***
37  	 * <code>SystemSaveData</code> のインスタンスを生成します。
38  	 */
39  	public SystemSaveData()
40  	{
41  		super();
42  	}
43  
44  
45  	/***
46  	 * システムフラグ集合をシステムセーブデータに格納します。
47  	 * @param	systemFlagSet	システムフラグ集合
48  	 */
49  	public void setSystemFlagSet( HashSet systemFlagSet )
50  	{
51  		addEntry( "systemFlagSet", systemFlagSet );
52  	}
53  
54  	/***
55  	 * 格納されたシステムフラグ集合を取得します。
56  	 * @return	システムフラグ集合
57  	 */
58  	public HashSet getSystemFlagSet()
59  	{
60  		return (HashSet)getEntry( "systemFlagSet" );
61  	}
62  }