com.hack23.cia.model.api.application
Enum ParliamentOperationType

Package class diagram package ParliamentOperationType
java.lang.Object
  extended by java.lang.Enum<ParliamentOperationType>
      extended by com.hack23.cia.model.api.application.ParliamentOperationType
All Implemented Interfaces:
Serializable, Comparable<ParliamentOperationType>

public enum ParliamentOperationType
extends Enum<ParliamentOperationType>

The Enum ParliamentOperationType.


Enum Constant Summary
Forum
          The Forum.
Grading
          The Grading.
HotOrNot
          The Hot or not.
Opinions
          The Opinions.
Short_Comment
          The Short_ comment.
Vote
          The Vote.
 
Method Summary
static ParliamentOperationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ParliamentOperationType[] 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

Forum

public static final ParliamentOperationType Forum
The Forum.


Grading

public static final ParliamentOperationType Grading
The Grading.


HotOrNot

public static final ParliamentOperationType HotOrNot
The Hot or not.


Opinions

public static final ParliamentOperationType Opinions
The Opinions.


Short_Comment

public static final ParliamentOperationType Short_Comment
The Short_ comment.


Vote

public static final ParliamentOperationType Vote
The Vote.

Method Detail

values

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

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

valueOf

public static ParliamentOperationType 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 © 2008-2009 www.hack23.com. All Rights Reserved.