org.nuiton.jredmine.model
Enum RedmineModelEnum
java.lang.Object
java.lang.Enum<RedmineModelEnum>
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
| 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 |
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
attachment
public static final RedmineModelEnum attachment
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()
valueOf
public static RedmineModelEnum valueOf(java.lang.Class<?> type)
safeValueOf
public static RedmineModelEnum safeValueOf(java.lang.Class<?> type)
Copyright © 2009 CodeLutin. All Rights Reserved.