Skip navigation links


com.fatwire.services.beans.asset
Enum AssetBean.Status

java.lang.Object
  extended by java.lang.Enum<AssetBean.Status>
      extended by com.fatwire.services.beans.asset.AssetBean.Status

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AssetBean.Status>
Enclosing class:
AssetBean

public static enum AssetBean.Status
extends java.lang.Enum<AssetBean.Status>

Enumerated values for asset status.


Enum Constant Summary
MODIFIED
           An asset which has been modified at least one.
NEW
           New asset.
VOID
           A 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

NEW

public static final AssetBean.Status NEW

New asset.


MODIFIED

public static final AssetBean.Status MODIFIED

An asset which has been modified at least one.


VOID

public static final AssetBean.Status VOID

A deleted asset.

Method Detail

values

public static AssetBean.Status[] 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 (AssetBean.Status c : AssetBean.Status.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AssetBean.Status 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

getCode

public java.lang.String getCode()
Returns the code associated with this asset status.
Returns:
the asset status code.

toEnum

public static AssetBean.Status toEnum(java.lang.String code)
Returns an enum object, given the code, or null if there is no such supported code.
Parameters:
code - the code to match for, case-sensitive.
Returns:
the enum for this code, or null if there is no such supported code.

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.