1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 | package Torello.Browser.JsonAST;
/**
* This {@code 'enum'} is used to identify of which inheriting sub-class {@code 'this'} instance
* is. If {@code 'this'} is an instance of {@link PPR}, then the field {@code 'this.which'}
* will be equal to the Enum-Constant {@link #ClassPPR}. If {@code 'this'} is a {@link TCE}
* instance, then {@code 'this.which'} equals {@link #ClassTCE}.
*
* <BR /><BR />Base-Class {@link Entity} has only thtwworee sub-classes (class which inherit from
* {@code Enity}). They are {@link PPR} and {@link TCE}. As a result, this
* {@code 'enum'} has exactly two constants.
*/
public enum WhichEntity
{
/** Signifies that {@code 'this'} {@link Entity} Sub-Class is an instance of {@link PPR} */
ClassPPR,
/** Signifies that {@code 'this'} {@link Entity} Sub-Class is an instance of {@link TCE} */
ClassTCE;
}
|