|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Object
java.lang.Enum<AssetBean.Status>
com.fatwire.services.beans.asset.AssetBean.Status
public static enum AssetBean.Status
Enumerated values for asset status.
| Enum Constant Summary | |
|---|---|
MODIFIEDAn asset which has been modified at least one. |
|
NEWNew asset. |
|
VOIDA deleted asset. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCode()Returns the code associated with this asset status. |
static AssetBean.Status |
toEnum(java.lang.String code)Returns an enum object, given the code, or null if there is no such supported code. |
static AssetBean.Status |
valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. |
static AssetBean.Status[] |
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 AssetBean.Status NEW
New asset.
public static final AssetBean.Status MODIFIED
An asset which has been modified at least one.
public static final AssetBean.Status VOID
A deleted asset.
| Method Detail |
|---|
public static AssetBean.Status[] values()
for (AssetBean.Status c : AssetBean.Status.values())
System.out.println(c);
public static AssetBean.Status 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 namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getCode()
public static AssetBean.Status toEnum(java.lang.String code)
null if there is no such supported code.code - the code to match for, case-sensitive.null if there is no such supported code.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.