Package de.xima.fc.mdl.enums
Enum EEntityRefType
- java.lang.Object
-
- java.lang.Enum<EEntityRefType>
-
- de.xima.fc.mdl.enums.EEntityRefType
-
- All Implemented Interfaces:
Serializable
,Comparable<EEntityRefType>
public enum EEntityRefType extends Enum<EEntityRefType>
Type of reference to an entity- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NAME_VALUE
Reference by name.UUID
Reference by entity UUID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EEntityRefType
valueOf(String name)
Returns the enum constant of this type with the specified name.static EEntityRefType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UUID
public static final EEntityRefType UUID
Reference by entity UUID
-
NAME_VALUE
public static final EEntityRefType NAME_VALUE
Reference by name. This may also be a placeholder for a name
-
-
Method Detail
-
values
public static EEntityRefType[] 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 (EEntityRefType c : EEntityRefType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EEntityRefType 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
-
-