Enum ResourceExternalReference.Usage
- java.lang.Object
-
- java.lang.Enum<ResourceExternalReference.Usage>
-
- ch.colabproject.colab.api.rest.document.bean.ResourceExternalReference.Usage
-
- All Implemented Interfaces:
ch.colabproject.colab.generator.model.interfaces.WithJsonDiscriminator
,Serializable
,Comparable<ResourceExternalReference.Usage>
- Enclosing class:
- ResourceExternalReference
public static enum ResourceExternalReference.Usage extends Enum<ResourceExternalReference.Usage> implements ch.colabproject.colab.generator.model.interfaces.WithJsonDiscriminator
usage list
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceExternalReference.Usage
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResourceExternalReference.Usage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNUSED
public static final ResourceExternalReference.Usage UNUSED
not a single card(content) even references the resource
-
USED
public static final ResourceExternalReference.Usage USED
at least one card(content) references and does not reject the resource
-
REFUSED
public static final ResourceExternalReference.Usage REFUSED
all card(content)s which reference the resource rejected it
-
-
Method Detail
-
values
public static ResourceExternalReference.Usage[] 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 (ResourceExternalReference.Usage c : ResourceExternalReference.Usage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceExternalReference.Usage 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
-
-