Enum Class ERManagementUtility.HierarchyScope
java.lang.Object
java.lang.Enum<ERManagementUtility.HierarchyScope>
org.gcube.informationsystem.resourceregistry.persistence.orientdb.instances.ERManagementUtility.HierarchyScope
- All Implemented Interfaces:
Serializable,Comparable<ERManagementUtility.HierarchyScope>,Constable
- Enclosing class:
- ERManagementUtility
public static enum ERManagementUtility.HierarchyScope
extends Enum<ERManagementUtility.HierarchyScope>
The descendant Contexts a hierarchy synchronization aligns to the submitted Resource.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOnly the descendant Contexts where the Resource is already present (syncExistingHierarchy).Every descendant Context of the token Context (hierarchical).No descendant Context: the write is the plain full replacement of a Resource in the token Context, executed on the administrative connection because it takes out of the token Context a ConsistsOf that another Context shares (seeERManagementUtility.replacementOmitsSharedConsistsOf(String, UUID, String)). -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ERManagementUtility.HierarchyScope[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOKEN_CONTEXT
No descendant Context: the write is the plain full replacement of a Resource in the token Context, executed on the administrative connection because it takes out of the token Context a ConsistsOf that another Context shares (seeERManagementUtility.replacementOmitsSharedConsistsOf(String, UUID, String)). -
EXISTING
Only the descendant Contexts where the Resource is already present (syncExistingHierarchy). -
SUBTREE
Every descendant Context of the token Context (hierarchical).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-