org.jasig.schedassist.model
Enum AvailableStatus
java.lang.Object
java.lang.Enum<AvailableStatus>
org.jasig.schedassist.model.AvailableStatus
- All Implemented Interfaces:
- Serializable, Comparable<AvailableStatus>
public enum AvailableStatus
- extends Enum<AvailableStatus>
Enum to represent different potential states for an AvailableBlock.
- Version:
- $Id: AvailableStatus.java 1710 2010-02-15 16:19:35Z npblair $
- Author:
- Nicholas Blair, nblair@doit.wisc.edu
UNAVAILABLE
public static final AvailableStatus UNAVAILABLE
FREE
public static final AvailableStatus FREE
BUSY
public static final AvailableStatus BUSY
ATTENDING
public static final AvailableStatus ATTENDING
values
public static AvailableStatus[] 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 (AvailableStatus c : AvailableStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AvailableStatus 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
getValue
public String getValue()
- Returns:
- the value
Copyright © 2012 Jasig. All Rights Reserved.