public static enum BusinessImpactFactor.PrivacyViolation extends Enum<BusinessImpactFactor.PrivacyViolation> implements ILikelihood
| Enum Constant and Description |
|---|
HUNDREDS_OF_PEOPLE |
MILLIONS_OF_PEOPLE |
ONE_INDIVIDUAL |
THOUSANDS_OF_PEOPLE |
| Modifier and Type | Method and Description |
|---|---|
static BusinessImpactFactor.PrivacyViolation |
fromDouble(double level) |
static BusinessImpactFactor.PrivacyViolation |
fromString(String level) |
double |
getLikelihood() |
static BusinessImpactFactor.PrivacyViolation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BusinessImpactFactor.PrivacyViolation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusinessImpactFactor.PrivacyViolation ONE_INDIVIDUAL
public static final BusinessImpactFactor.PrivacyViolation HUNDREDS_OF_PEOPLE
public static final BusinessImpactFactor.PrivacyViolation THOUSANDS_OF_PEOPLE
public static final BusinessImpactFactor.PrivacyViolation MILLIONS_OF_PEOPLE
public static BusinessImpactFactor.PrivacyViolation[] values()
for (BusinessImpactFactor.PrivacyViolation c : BusinessImpactFactor.PrivacyViolation.values()) System.out.println(c);
public static BusinessImpactFactor.PrivacyViolation 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 double getLikelihood()
getLikelihood in interface ILikelihoodpublic static BusinessImpactFactor.PrivacyViolation fromDouble(double level)
public static BusinessImpactFactor.PrivacyViolation fromString(String level)
Copyright © 2019–2022. All rights reserved.