Package ome.services.graphs
Enum GraphPolicy.Orphan
- java.lang.Object
-
- java.lang.Enum<GraphPolicy.Orphan>
-
- ome.services.graphs.GraphPolicy.Orphan
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GraphPolicy.Orphan>
- Enclosing class:
- GraphPolicy
public static enum GraphPolicy.Orphan extends java.lang.Enum<GraphPolicy.Orphan>
If an object instance has anyGraphPolicy.Action.EXCLUDE
dparents
that would prevent it from beingorphaned
.- Since:
- 5.1.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IRRELEVANT
it is not known and it does not matter if the object is an orphan: effort should not yet be made to find outIS_LAST
the object is an orphanIS_NOT_LAST
the object is not an orphanRELEVANT
it is not known but it matters if the object is an orphan: effort should be made to find out
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GraphPolicy.Orphan
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GraphPolicy.Orphan[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IRRELEVANT
public static final GraphPolicy.Orphan IRRELEVANT
it is not known and it does not matter if the object is an orphan: effort should not yet be made to find out
-
RELEVANT
public static final GraphPolicy.Orphan RELEVANT
it is not known but it matters if the object is an orphan: effort should be made to find out
-
IS_LAST
public static final GraphPolicy.Orphan IS_LAST
the object is an orphan
-
IS_NOT_LAST
public static final GraphPolicy.Orphan IS_NOT_LAST
the object is not an orphan
-
-
Method Detail
-
values
public static GraphPolicy.Orphan[] 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 (GraphPolicy.Orphan c : GraphPolicy.Orphan.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GraphPolicy.Orphan valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-