|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TypeCategory>
com.flexive.shared.structure.TypeCategory
public enum TypeCategory
Category for FxType's
| Enum Constant Summary | |
|---|---|
System
Fixed system type, can not be altered |
|
User
User defined type |
|
| Method Summary | |
|---|---|
static TypeCategory |
getById(int id)
Get a TypeCategory by its id |
int |
getId()
Getter for the internal id |
FxString |
getLabel()
Return the localized label of the object. |
static TypeCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TypeCategory[] |
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 |
|---|
public static final TypeCategory System
public static final TypeCategory User
| Method Detail |
|---|
public static TypeCategory[] values()
for (TypeCategory c : TypeCategory.values()) System.out.println(c);
public static TypeCategory valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic int getId()
public static TypeCategory getById(int id)
throws FxNotFoundException
id -
FxNotFoundExceptionpublic FxString getLabel()
getLabel in interface ObjectWithLabel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||