|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.indiana.iucbrf.casepackage.CaseSource
public class CaseSource
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.
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 |
---|
public static final CaseSource USER_ENTERED
public static final CaseSource SYSTEM_GENERATED
public static final CaseSource RANDOMLY_GENERATED
public static final CaseSource SOURCE_UNSPECIFIED
Constructor Detail |
---|
protected CaseSource()
public CaseSource(java.lang.String name)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |