Enum ProcessConstants.DeltaScope

  • All Implemented Interfaces:
    Serializable, Comparable<ProcessConstants.DeltaScope>
    Enclosing class:
    ProcessConstants

    public static enum ProcessConstants.DeltaScope
    extends Enum<ProcessConstants.DeltaScope>
    The scope for querying entities of the delta layer. One can distinguished between new, deleted, changed or moved entities whereas not every scope is valid for every entity. For instance, edges can not be moved. Queries with invalid scopes may be ignored. Refer to the javadoc of the corresponding methods for the valid delta scopes.
    See Also:
    DeltaLayer
    • Method Detail

      • values

        public static ProcessConstants.DeltaScope[] 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 (ProcessConstants.DeltaScope c : ProcessConstants.DeltaScope.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ProcessConstants.DeltaScope 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 name
        NullPointerException - if the argument is null
      • getCode

        public int getCode()
      • valueOf

        public static ProcessConstants.DeltaScope valueOf​(int code)
        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:
        code - 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 name
        NullPointerException - if the argument is null