org.onebusaway.transit_data.model.problems
Enum EProblemReportStatus

java.lang.Object
  extended by java.lang.Enum<EProblemReportStatus>
      extended by org.onebusaway.transit_data.model.problems.EProblemReportStatus
All Implemented Interfaces:
Serializable, Comparable<EProblemReportStatus>

public enum EProblemReportStatus
extends Enum<EProblemReportStatus>

Status of a problem report, similar the the status of a bug in an issue tracking system.

Author:
bdferris
See Also:
StopProblemReportBean, TripProblemReportBean

Enum Constant Summary
ACCEPTED
          An accepted problem report that needs action
DUPLICATE
          Duplicate error report
FIXED
          /** A problem report that has been fixed
INVALID
          The problem report is invalid
NEW
          A new, unaccepted problem report
STARTED
          Work on this problem has been started
VERIFIED
          The fix for the problem report has been verified
WONT_FIX
          We will not address this problem report
 
Method Summary
static EProblemReportStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EProblemReportStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NEW

public static final EProblemReportStatus NEW
A new, unaccepted problem report


ACCEPTED

public static final EProblemReportStatus ACCEPTED
An accepted problem report that needs action


STARTED

public static final EProblemReportStatus STARTED
Work on this problem has been started


FIXED

public static final EProblemReportStatus FIXED
/** A problem report that has been fixed


VERIFIED

public static final EProblemReportStatus VERIFIED
The fix for the problem report has been verified


INVALID

public static final EProblemReportStatus INVALID
The problem report is invalid


DUPLICATE

public static final EProblemReportStatus DUPLICATE
Duplicate error report


WONT_FIX

public static final EProblemReportStatus WONT_FIX
We will not address this problem report

Method Detail

values

public static EProblemReportStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EProblemReportStatus c : EProblemReportStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EProblemReportStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012 OneBusAway. All Rights Reserved.