cz.muni.fi.pclis.domain
Enum Scenario

java.lang.Object
  extended by java.lang.Enum<Scenario>
      extended by cz.muni.fi.pclis.domain.Scenario
All Implemented Interfaces:
Serializable, Comparable<Scenario>

public enum Scenario
extends Enum<Scenario>

Scenarios of PCTeL implemented in this system User: Ľuboš Pecho Date: 6.7.2009 Time: 22:36:30


Enum Constant Summary
FEEDBACK
          Feedback scenario
LEARNING_CONTRACTS
          Learning Contracts scenario
LEARNING_EXPECTATIONS
          Learning Expectations scenario
ONLINE_CONSULTATION
          Online Consultation scenario
PEER_EVALUATION
          Peer Evaluation scenario
TEAM_WORK
          Team Work scenario
 
Field Summary
private  String bundleKey
          key of localized name of scenario placed in Resouce Bundle
 
Method Summary
 String getBundleKey()
           
 String getLocalizedName()
           
 String getName()
           
static Scenario valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Scenario[] 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

LEARNING_CONTRACTS

public static final Scenario LEARNING_CONTRACTS
Learning Contracts scenario


LEARNING_EXPECTATIONS

public static final Scenario LEARNING_EXPECTATIONS
Learning Expectations scenario


FEEDBACK

public static final Scenario FEEDBACK
Feedback scenario


PEER_EVALUATION

public static final Scenario PEER_EVALUATION
Peer Evaluation scenario


ONLINE_CONSULTATION

public static final Scenario ONLINE_CONSULTATION
Online Consultation scenario


TEAM_WORK

public static final Scenario TEAM_WORK
Team Work scenario

Field Detail

bundleKey

private String bundleKey
key of localized name of scenario placed in Resouce Bundle

Method Detail

values

public static Scenario[] 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 (Scenario c : Scenario.values())
    System.out.println(c);

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

valueOf

public static Scenario 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

getLocalizedName

public String getLocalizedName()
Returns:
localized name of this scenario

getName

public String getName()
Returns:
name

getBundleKey

public String getBundleKey()
Returns:
bundle key


Copyright © 2009-2010 Faculty of Informatics, Masaryk university, Brno. All Rights Reserved.