Coverage report

| %line | %branch
--- | --- | ---
tsukuba_bunko.peko.scenario.FlagScope |
0% |
0% |

1 |  |
     /*
2 |  |
      * "Peko" Visual Novel System
3 |  |
      *
4 |  |
      * All Rights Reserved.
5 |  |
      * Copyright (c) 1999-2003 Tsukuba Bunko.
6 |  |
      *
7 |  |
      * $Id: FlagScope.java,v 1.1 2005/07/11 12:49:18 ppoi Exp $
8 |  |
      */
9 |  |
     package tsukuba_bunko.peko.scenario;
10 |  |
11 |  |
12 |  |
     /**
13 |  |
      * フラグのスコープを定義します。
14 |  |
      * @author	${Author}$
15 |  |
      * @version	${Revision}$
16 |  |
      */
17 |  |
     public final class FlagScope	{
18 |  |
19 |  |
     	/**
20 |  |
     	 * シーンスコープ
21 |  |
     	 */
22 | 0 |
     	public static FlagScope	SCENE = new FlagScope( "scene" );
23 |  |
24 |  |
     	/**
25 |  |
     	 * セッションスコープ
26 |  |
     	 */
27 | 0 |
     	public static FlagScope	SESSION = new FlagScope( "session" );
28 |  |
29 |  |
     	/**
30 |  |
     	 * システムスコープ
31 |  |
     	 */
32 | 0 |
     	public static FlagScope	SYSTEM = new FlagScope( "system" );
33 |  |
34 |  |
35 |  |
     	/**
36 |  |
     	 * スコープ名
37 |  |
     	 */
38 | 0 |
     	private String	_scopeName = null;
39 |  |
40 |  |
41 |  |
     	/**
42 |  |
     	 * <code>FlagScope</code> のインスタンスを生成します。
43 |  |
     	 */
44 |  |
     	private FlagScope( String scopeName )
45 | 0 |
     	{
46 | 0 |
     		_scopeName = scopeName;
47 | 0 |
     	}
48 |  |
49 |  |
50 |  |
     	public boolean equals( Object obj )
51 |  |
     	{
52 | 0 |
     		if( obj instanceof FlagScope )	{
53 | 0 |
     			return  _scopeName.equals( ((FlagScope)obj)._scopeName );
54 |  |
     		}
55 |  |
     		else	{
56 | 0 |
     			return false;
57 |  |
     		}
58 |  |
     	}
59 |  |
     }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.