public enum StockStatus extends Enum<StockStatus>
| Enum Constant and Description |
|---|
AUDIT
Audit stock status.
|
PAUSED
Paused stock status.
|
RUNNING
Running stock status.
|
STOPED
Stoped stock status.
|
UNACTIVATED
Unactivated stock status.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
description |
private String |
value |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Description string.
|
String |
value()
Value string.
|
static StockStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StockStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StockStatus UNACTIVATED
public static final StockStatus AUDIT
public static final StockStatus RUNNING
public static final StockStatus STOPED
public static final StockStatus PAUSED
public static StockStatus[] values()
for (StockStatus c : StockStatus.values()) System.out.println(c);
public static StockStatus 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 nullpublic String value()
public String description()
Copyright © 2023. All rights reserved.