edu.indiana.iucbrf.casepackage
Class CaseSource

java.lang.Object
  extended by edu.indiana.iucbrf.casepackage.CaseSource
All Implemented Interfaces:
java.io.Serializable

public class CaseSource
extends java.lang.Object
implements java.io.Serializable

An instance of the CaseSource class describes where a particular case comes from. The designer may use any of the constants defined in this class, or may define his own as needed.

See Also:
Serialized Form

Field Summary
static CaseSource RANDOMLY_GENERATED
          A CaseSource for cases generated randomly.
static CaseSource SOURCE_UNSPECIFIED
          The CaseSource used for cases where no source is specified at case construction.
static CaseSource SYSTEM_GENERATED
          A CaseSource for cases obtained by solving a problem presented to the system.
static CaseSource USER_ENTERED
          A CaseSource for cases entered by the user.
 
Constructor Summary
protected CaseSource()
          This do-nothing default constructor is provided for serialization purposes.
  CaseSource(java.lang.String name)
          Creates new CaseSource
 
Method Summary
 java.lang.String toString()
          Provide a String representation of this CaseSource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

USER_ENTERED

public static final CaseSource USER_ENTERED
A CaseSource for cases entered by the user.


SYSTEM_GENERATED

public static final CaseSource SYSTEM_GENERATED
A CaseSource for cases obtained by solving a problem presented to the system.


RANDOMLY_GENERATED

public static final CaseSource RANDOMLY_GENERATED
A CaseSource for cases generated randomly.


SOURCE_UNSPECIFIED

public static final CaseSource SOURCE_UNSPECIFIED
The CaseSource used for cases where no source is specified at case construction.

Constructor Detail

CaseSource

protected CaseSource()
This do-nothing default constructor is provided for serialization purposes.


CaseSource

public CaseSource(java.lang.String name)
Creates new CaseSource

Method Detail

toString

public java.lang.String toString()
Provide a String representation of this CaseSource.

Overrides:
toString in class java.lang.Object