Package de.xima.fc.mdl.enums
Enum EObjectGraphVisitResult
- java.lang.Object
-
- java.lang.Enum<EObjectGraphVisitResult>
-
- de.xima.fc.mdl.enums.EObjectGraphVisitResult
-
- All Implemented Interfaces:
Serializable
,Comparable<EObjectGraphVisitResult>
public enum EObjectGraphVisitResult extends Enum<EObjectGraphVisitResult>
Result returned byIObjectGraphVisitor
that indicates how the visit should proceed.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPT
This result indicates that the visit should descend into the children of the currently visited field's value (when it is a list or map etc.).COMPLETE
This result indicates that the visit should be terminated and no more field should be visited.REJECT
This result indicates that the visit should continue, but should skip the currently the children of the currently visited field's value.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EObjectGraphVisitResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static EObjectGraphVisitResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPT
public static final EObjectGraphVisitResult ACCEPT
This result indicates that the visit should descend into the children of the currently visited field's value (when it is a list or map etc.).
-
COMPLETE
public static final EObjectGraphVisitResult COMPLETE
This result indicates that the visit should be terminated and no more field should be visited.
-
REJECT
public static final EObjectGraphVisitResult REJECT
This result indicates that the visit should continue, but should skip the currently the children of the currently visited field's value.
-
-
Method Detail
-
values
public static EObjectGraphVisitResult[] 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 (EObjectGraphVisitResult c : EObjectGraphVisitResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EObjectGraphVisitResult 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
-
-