Enum Class ToDoType
- All Implemented Interfaces:
Serializable,Comparable<ToDoType>,Constable,OpenMetadataEnum
ToDoType provides an initial set of values for ToDoType. These can be extended as required.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA user has requested access to the linked resource.An error was detected in the linked data.A Survey Action Service has issued a Request For Action. -
Method Summary
Modifier and TypeMethodDescriptionName of the action target to associate with the ToDoElement.Return the default description of the classification origin.Return the unique identifier for the valid value that represents the enum value.getName()Return the default name of the classification origin.intReturn the numeric representation of the classification origin.booleanReturn whether the enum is the default value or not.toString()toString() JSON-stylestatic ToDoTypeReturns the enum constant of this class with the specified name.static ToDoType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
REQUEST_FOR_ACTION
A Survey Action Service has issued a Request For Action. -
DATA_ERROR
An error was detected in the linked data. -
ACCESS_REQUEST
A user has requested access to the linked 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
-
getOrdinal
public int getOrdinal()Return the numeric representation of the classification origin.- Specified by:
getOrdinalin interfaceOpenMetadataEnum- Returns:
- int ordinal
-
getName
Return the default name of the classification origin.- Specified by:
getNamein interfaceOpenMetadataEnum- Returns:
- String name
-
getDescription
Return the default description of the classification origin.- Specified by:
getDescriptionin interfaceOpenMetadataEnum- Returns:
- String description
-
getActionTargetName
Name of the action target to associate with the ToDoElement.- Returns:
- name
-
getDescriptionGUID
Return the unique identifier for the valid value that represents the enum value.- Specified by:
getDescriptionGUIDin interfaceOpenMetadataEnum- Returns:
- guid
-
isDefault
public boolean isDefault()Return whether the enum is the default value or not.- Specified by:
isDefaultin interfaceOpenMetadataEnum- Returns:
- boolean
-
toString
toString() JSON-style
-