Enum InheritanceLevel
- java.lang.Object
-
- java.lang.Enum<InheritanceLevel>
-
- org.openl.rules.table.properties.inherit.InheritanceLevel
-
- All Implemented Interfaces:
Serializable,Comparable<InheritanceLevel>
public enum InheritanceLevel extends Enum<InheritanceLevel>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()static InheritanceLevelgetEnumByValue(String value)StringtoString()static InheritanceLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static InheritanceLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GLOBAL
public static final InheritanceLevel GLOBAL
-
PROJECT
public static final InheritanceLevel PROJECT
-
FOLDER
public static final InheritanceLevel FOLDER
-
EXTERNAL
public static final InheritanceLevel EXTERNAL
-
FILE
public static final InheritanceLevel FILE
-
MODULE
public static final InheritanceLevel MODULE
-
CATEGORY
public static final InheritanceLevel CATEGORY
-
TABLE
public static final InheritanceLevel TABLE
-
-
Method Detail
-
values
public static InheritanceLevel[] 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 (InheritanceLevel c : InheritanceLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InheritanceLevel valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getDisplayName
public String getDisplayName()
-
toString
public String toString()
- Overrides:
toStringin classEnum<InheritanceLevel>
-
getEnumByValue
public static InheritanceLevel getEnumByValue(String value)
-
-