Enum DocumentIDRegistry.MODE

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DocumentIDRegistry.MODE>
    Enclosing class:
    DocumentIDRegistry

    public static enum DocumentIDRegistry.MODE
    extends java.lang.Enum<DocumentIDRegistry.MODE>
    Enumeration representing the two modes of storing an ID => resolved and unresolved. So when you use mode RESOLVED the context will always use storage resolvedQualifiers. When using UNRESOLVED the context always use storage unresolvedQualifiers.
    The resolved storage is always used within import process.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      RESOLVED
      An ID is resolved and therefore has to be stored in RESOLVED storage when the ID is used within import process, or in export process and the item with mapped pk is exported.
      UNRESOLVED
      An ID is unresolved when the ID is used within export process and an item A references to the item B with mapped pk, but item B is not exported until yet.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DocumentIDRegistry.MODE valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static DocumentIDRegistry.MODE[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • RESOLVED

        public static final DocumentIDRegistry.MODE RESOLVED
        An ID is resolved and therefore has to be stored in RESOLVED storage when the ID is used within import process, or in export process and the item with mapped pk is exported.
      • UNRESOLVED

        public static final DocumentIDRegistry.MODE UNRESOLVED
        An ID is unresolved when the ID is used within export process and an item A references to the item B with mapped pk, but item B is not exported until yet.
    • Method Detail

      • values

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

        public static DocumentIDRegistry.MODE 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 name
        java.lang.NullPointerException - if the argument is null