001package Torello.Browser.JsonAST;
002
003/**
004 * This {@code 'enum'} is used to identify of which inheriting sub-class {@code 'this'} instance
005 * is.  If {@code 'this'} is an instance of {@link PPR}, then the field {@code 'this.which'}
006 * will be equal to the Enum-Constant {@link #ClassPPR}.  If {@code 'this'} is a {@link TCE} 
007 * instance, then {@code 'this.which'} equals {@link #ClassTCE}.
008 * 
009 * <BR /><BR />Base-Class {@link Entity} has only thtwworee sub-classes (class which inherit from 
010 * {@code Enity}).  They are {@link PPR} and {@link TCE}.  As a result, this
011 * {@code 'enum'} has exactly two constants.
012 */
013public enum WhichEntity
014{
015    /** Signifies that {@code 'this'} {@link Entity} Sub-Class is an instance of {@link PPR} */
016    ClassPPR,
017
018    /** Signifies that {@code 'this'} {@link Entity} Sub-Class is an instance of {@link TCE} */
019    ClassTCE;
020}