public static enum CustomModel.ModelStatus extends Enum<CustomModel.ModelStatus>
Modifier and Type | Method and Description |
---|---|
static CustomModel.ModelStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomModel.ModelStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomModel.ModelStatus ACTIVE
public static final CustomModel.ModelStatus DRAFT
public static CustomModel.ModelStatus[] values()
for (CustomModel.ModelStatus c : CustomModel.ModelStatus.values()) System.out.println(c);
public static CustomModel.ModelStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2005–2017 Alfresco Software. All rights reserved.