org.onebusaway.transit_data.model.problems
public enum ETripProblemGroupBy extends Enum<ETripProblemGroupBy>
TripProblemReportBean
instances for summarization, as
collected in TripProblemReportSummaryBean
, we can group problem
reports for counting in a couple of different ways. This enum describes those
methods.Enum Constant and Description |
---|
LABEL
Group problems by label, as returned by
TripProblemReportBean.getLabel() . |
STATUS
Group problems by
EProblemReportStatus , as returned by
TripProblemReportBean.getStatus() . |
TRIP
Group problems by trip id, as returned by
TripProblemReportBean.getTripId() . |
Modifier and Type | Method and Description |
---|---|
static ETripProblemGroupBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ETripProblemGroupBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ETripProblemGroupBy TRIP
TripProblemReportBean.getTripId()
.public static final ETripProblemGroupBy STATUS
EProblemReportStatus
, as returned by
TripProblemReportBean.getStatus()
.public static final ETripProblemGroupBy LABEL
TripProblemReportBean.getLabel()
.public static ETripProblemGroupBy[] values()
for (ETripProblemGroupBy c : ETripProblemGroupBy.values()) System.out.println(c);
public static ETripProblemGroupBy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2014 OneBusAway. All Rights Reserved.