com.partnersoft.v3x.apps.Staker.domain
Class JobStatus

java.lang.Object
  extended by org.jcon.data.EnumeratedType
      extended by com.partnersoft.v3x.apps.Staker.domain.JobStatus
All Implemented Interfaces:
java.lang.Comparable

public class JobStatus
extends EnumeratedType
implements java.lang.Comparable

Enumerated type for possible job lifecycle states.


Field Summary
static JobStatus ASBUILT
          Job is corrected for as built status.
static JobStatus CLOSEDOUT
          Job is closed out by accounting.
static JobStatus DELETED
          Job has been deleted.
static JobStatus INPROGRESS
          Job is in progress.
static JobStatus NEW
          Job is a thin job, fresh from accounting dept.
static JobStatus RELEASED
          Job is released to construction.
static JobStatus REVISING
          Job is being corrected for as built status.
static JobStatus STAKED
          Job is completely staked.
 
Constructor Summary
protected JobStatus(java.lang.String name, java.lang.String subDirectory, int priority)
          Create a new status type.
 
Method Summary
 int compareTo(java.lang.Object object)
           
static EnumeratedType defaultValue()
           
static JobStatus forString(java.lang.String name)
           
 java.lang.String getName()
          Status name
 int getPriority()
           
static java.util.Iterator members()
           
 java.lang.String name()
          Status name
 java.lang.String subDirectory()
          Status subdirectory
 java.lang.String toString()
          Prints out status name.
 
Methods inherited from class org.jcon.data.EnumeratedType
enumeratedTypeSuperClass, getDefaultValueFor, getDefaultValueFor, getMembersFor, getMembersFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NEW

public static final JobStatus NEW
Job is a thin job, fresh from accounting dept.


INPROGRESS

public static final JobStatus INPROGRESS
Job is in progress.


STAKED

public static final JobStatus STAKED
Job is completely staked.


RELEASED

public static final JobStatus RELEASED
Job is released to construction.


REVISING

public static final JobStatus REVISING
Job is being corrected for as built status.


ASBUILT

public static final JobStatus ASBUILT
Job is corrected for as built status.


CLOSEDOUT

public static final JobStatus CLOSEDOUT
Job is closed out by accounting.


DELETED

public static final JobStatus DELETED
Job has been deleted.

Constructor Detail

JobStatus

protected JobStatus(java.lang.String name,
                    java.lang.String subDirectory,
                    int priority)
Create a new status type.

Method Detail

members

public static final java.util.Iterator members()

forString

public static JobStatus forString(java.lang.String name)

name

public java.lang.String name()
Status name


getName

public java.lang.String getName()
Status name


getPriority

public int getPriority()

subDirectory

public java.lang.String subDirectory()
Status subdirectory


defaultValue

public static EnumeratedType defaultValue()

compareTo

public int compareTo(java.lang.Object object)
Specified by:
compareTo in interface java.lang.Comparable

toString

public java.lang.String toString()
Prints out status name.

Overrides:
toString in class java.lang.Object