org.nuiton.jredmine.model
Enum RedmineModelEnum

java.lang.Object
  extended by java.lang.Enum<RedmineModelEnum>
      extended by org.nuiton.jredmine.model.RedmineModelEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RedmineModelEnum>

public enum RedmineModelEnum
extends java.lang.Enum<RedmineModelEnum>

Un énumération pour connaitre l'ensemble des classes du modèle.

Since:
1.0.0
Author:
chemit

Enum Constant Summary
attachment
           
issue
           
issueCategory
           
issuePriority
           
issueStatus
           
news
           
project
           
timeEntry
           
tracker
           
user
           
version
           
 
Method Summary
 java.lang.Class<?> getModelType()
           
 java.lang.String getRequestAll()
           
 RedmineModelScope getScope()
           
static RedmineModelEnum safeValueOf(java.lang.Class<?> type)
           
static RedmineModelEnum valueOf(java.lang.Class<?> type)
           
static RedmineModelEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RedmineModelEnum[] 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

issueStatus

public static final RedmineModelEnum issueStatus

issuePriority

public static final RedmineModelEnum issuePriority

project

public static final RedmineModelEnum project

issueCategory

public static final RedmineModelEnum issueCategory

tracker

public static final RedmineModelEnum tracker

user

public static final RedmineModelEnum user

news

public static final RedmineModelEnum news

version

public static final RedmineModelEnum version

issue

public static final RedmineModelEnum issue

timeEntry

public static final RedmineModelEnum timeEntry

attachment

public static final RedmineModelEnum attachment
Method Detail

values

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

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

valueOf

public static RedmineModelEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getModelType

public java.lang.Class<?> getModelType()

getScope

public RedmineModelScope getScope()

getRequestAll

public java.lang.String getRequestAll()

valueOf

public static RedmineModelEnum valueOf(java.lang.Class<?> type)

safeValueOf

public static RedmineModelEnum safeValueOf(java.lang.Class<?> type)


Copyright © 2009-2010 CodeLutin. All Rights Reserved.