Hilbert II - Version 0.03.09

org.qedeq.kernel.common
Class DependencyState

java.lang.Object
  extended byorg.qedeq.kernel.common.DependencyState

public final class DependencyState
extends Object

Represents a mathematical module state. All existing instances of this class are the public constants of this class.

Version:
$Revision: 1.1 $

Field Summary
static DependencyState STATE_LOADED_REQUIRED_MODULES
          Completely loaded.
static DependencyState STATE_LOADING_REQUIRED_MODULES
          Loading required modules.
static DependencyState STATE_LOADING_REQUIRED_MODULES_FAILED
          Loading required modules failed.
static DependencyState STATE_UNDEFINED
          Undefined loading state.
 
Method Summary
 boolean areAllRequiredLoaded()
          Are all required modules loaded?
 boolean equals(Object obj)
           
 int getCode()
          Get module state code.
 String getText()
          Get meaning of module state.
 int hashCode()
           
 boolean isFailure()
          Is this a failure state?
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

STATE_UNDEFINED

public static final DependencyState STATE_UNDEFINED
Undefined loading state.


STATE_LOADING_REQUIRED_MODULES

public static final DependencyState STATE_LOADING_REQUIRED_MODULES
Loading required modules.


STATE_LOADING_REQUIRED_MODULES_FAILED

public static final DependencyState STATE_LOADING_REQUIRED_MODULES_FAILED
Loading required modules failed.


STATE_LOADED_REQUIRED_MODULES

public static final DependencyState STATE_LOADED_REQUIRED_MODULES
Completely loaded.

Method Detail

getText

public String getText()
Get meaning of module state.

Returns:
meaning of module state.

isFailure

public boolean isFailure()
Is this a failure state?

Returns:
is this a failure state?

areAllRequiredLoaded

public boolean areAllRequiredLoaded()
Are all required modules loaded?

Returns:
Are all required modules loaded?

getCode

public int getCode()
Get module state code.

Returns:
Module state.

toString

public String toString()

hashCode

public int hashCode()

equals

public final boolean equals(Object obj)

Hilbert II - Version 0.03.09

©left GNU General Public Licence
All Rights Reserved.