Package org.linkki.core.ui.aspects.types
Enum SuffixType
- java.lang.Object
-
- java.lang.Enum<SuffixType>
-
- org.linkki.core.ui.aspects.types.SuffixType
-
- All Implemented Interfaces:
Serializable,Comparable<SuffixType>
public enum SuffixType extends Enum<SuffixType>
Defines the type of the suffix binding. SeeSuffixAspectDefinition
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SuffixTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SuffixType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATIC
public static final SuffixType STATIC
The suffix is static and given by the value attribute.
-
DYNAMIC
public static final SuffixType DYNAMIC
Suffix is bound to the property using the methodget<PropertyName>Suffix().
-
AUTO
public static final SuffixType AUTO
-
-
Method Detail
-
values
public static SuffixType[] 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 (SuffixType c : SuffixType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SuffixType 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
-
-