public enum LicenseType extends Enum<LicenseType>
Enum Constant and Description |
---|
COMMERCIAL |
EVALUATION |
NON_PRODUCTION |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(String code) |
String |
getCode() |
String |
getDisplay() |
Integer |
getId() |
static LicenseType |
getLicenseTypeByCode(String code) |
static LicenseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LicenseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicenseType EVALUATION
public static final LicenseType NON_PRODUCTION
public static final LicenseType COMMERCIAL
public static LicenseType[] values()
for (LicenseType c : LicenseType.values()) System.out.println(c);
public static LicenseType 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 Integer getId()
public String getCode()
public String getDisplay()
public boolean equals(String code)
public static LicenseType getLicenseTypeByCode(String code)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.