Enum Class LexicalDataOwnershipKind
java.lang.Object
java.lang.Enum<LexicalDataOwnershipKind>
ch.colabproject.colab.api.model.document.LexicalDataOwnershipKind
- All Implemented Interfaces:
Serializable,Comparable<LexicalDataOwnershipKind>,Constable
The different kinds of lexical data ownership.
WARNING : The keywords are used in YJS server TypeScript code
- Author:
- sandra
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe lexical data are owned by a card contentThe lexical data are owned by a resource -
Method Summary
Modifier and TypeMethodDescriptionstatic LexicalDataOwnershipKindReturns the enum constant of this class with the specified name.static LexicalDataOwnershipKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CARD_CONTENT
The lexical data are owned by a card content -
RESOURCE
The lexical data are owned by a resource
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getKeyword
- Returns:
- The keyword to use in TypeScript code
-