public enum ClassificationOrigin extends Enum<ClassificationOrigin> implements Serializable
| Enum Constant and Description |
|---|
ASSIGNED |
PROPAGATED |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description of the classification origin.
|
String |
getName()
Return the default name of the classification origin.
|
int |
getOrdinal()
Return the numeric representation of the classification origin.
|
String |
toString()
toString() JSON-style
|
static ClassificationOrigin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassificationOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassificationOrigin ASSIGNED
public static final ClassificationOrigin PROPAGATED
public static ClassificationOrigin[] values()
for (ClassificationOrigin c : ClassificationOrigin.values()) System.out.println(c);
public static ClassificationOrigin valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getOrdinal()
public String getName()
public String getDescription()
public String toString()
toString in class Enum<ClassificationOrigin>Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.