Enum MultiReferenceValueType
- java.lang.Object
-
- java.lang.Enum<MultiReferenceValueType>
-
- org.teamapps.universaldb.index.reference.value.MultiReferenceValueType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MultiReferenceValueType>,java.lang.constant.Constable
public enum MultiReferenceValueType extends java.lang.Enum<MultiReferenceValueType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_REFERENCESEDIT_VALUEREFERENCE_ITERATORREMOVE_ALL_REFERENCESREMOVE_REFERENCESSET_REFERENCES
-
Method Summary
Modifier and Type Method Description intgetId()static MultiReferenceValueTypegetMultiReferenceValueTypeById(int id)static MultiReferenceValueTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MultiReferenceValueType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REFERENCE_ITERATOR
public static final MultiReferenceValueType REFERENCE_ITERATOR
-
EDIT_VALUE
public static final MultiReferenceValueType EDIT_VALUE
-
SET_REFERENCES
public static final MultiReferenceValueType SET_REFERENCES
-
ADD_REFERENCES
public static final MultiReferenceValueType ADD_REFERENCES
-
REMOVE_REFERENCES
public static final MultiReferenceValueType REMOVE_REFERENCES
-
REMOVE_ALL_REFERENCES
public static final MultiReferenceValueType REMOVE_ALL_REFERENCES
-
-
Method Detail
-
values
public static MultiReferenceValueType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MultiReferenceValueType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getId
public int getId()
-
getMultiReferenceValueTypeById
public static MultiReferenceValueType getMultiReferenceValueTypeById(int id)
-
-