public enum Cost extends Enum<Cost> implements Comparable<Cost>
Enum Constant and Description |
---|
NONE
Lowest possible
|
PRIMARY_KEY
Doesn't access any properties or relationships
|
PROPERTIES
Accessing properties, but not accessing relationships
|
RELATIONSHIPS
Traversing relationships
|
Modifier and Type | Method and Description |
---|---|
static Cost |
getHighest(Iterable<? extends HasCost> costs) |
static Cost |
highest() |
static Cost |
lowest() |
static Cost |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cost[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
compareTo
public static final Cost NONE
public static final Cost PRIMARY_KEY
public static final Cost PROPERTIES
public static final Cost RELATIONSHIPS
public static Cost[] values()
for (Cost c : Cost.values()) System.out.println(c);
public static Cost 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 static Cost highest()
public static Cost lowest()
Copyright © 2002 – 2024 Project Wonder.