public enum CorporationType extends java.lang.Enum<CorporationType>
| Enum Constant and Description |
|---|
CORPORATION |
LLC |
OTHER |
PARTNERSHIP |
SOLE_PROPRIETORSHIP |
| Modifier and Type | Method and Description |
|---|---|
static CorporationType |
toEnum(java.lang.String value)
Converts a string to a corporation type enum.
|
java.lang.String |
toString()
Converts an enum to the string value.
|
static CorporationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CorporationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CorporationType CORPORATION
public static final CorporationType LLC
public static final CorporationType PARTNERSHIP
public static final CorporationType SOLE_PROPRIETORSHIP
public static final CorporationType OTHER
public static CorporationType[] values()
for (CorporationType c : CorporationType.values()) System.out.println(c);
public static CorporationType 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 toString()
toString in class java.lang.Enum<CorporationType>public static CorporationType toEnum(@NotNull java.lang.String value)
value - the value to convert