org.squashtest.csp.tm.domain.customfield
Enum BindableEntity
java.lang.Object
java.lang.Enum<BindableEntity>
org.squashtest.csp.tm.domain.customfield.BindableEntity
- All Implemented Interfaces:
- Serializable, Comparable<BindableEntity>, org.squashtest.tm.core.foundation.i18n.Internationalizable
public enum BindableEntity
- extends Enum<BindableEntity>
- implements org.squashtest.tm.core.foundation.i18n.Internationalizable
Enumerates the entities which can be bounded to custom fields.
- Author:
- Gregory Fouquet
TEST_CASE
public static final BindableEntity TEST_CASE
CAMPAIGN
public static final BindableEntity CAMPAIGN
ITERATION
public static final BindableEntity ITERATION
TEST_SUITE
public static final BindableEntity TEST_SUITE
REQUIREMENT_VERSION
public static final BindableEntity REQUIREMENT_VERSION
values
public static BindableEntity[] 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 (BindableEntity c : BindableEntity.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BindableEntity 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
getI18nKey
public String getI18nKey()
- Specified by:
getI18nKey in interface org.squashtest.tm.core.foundation.i18n.Internationalizable
- See Also:
Internationalizable.getI18nKey()
getReferencedClass
public abstract Class<?> getReferencedClass()
Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.