Class ResourceObjectIdentifier.Primary<T>

java.lang.Object
com.evolveum.midpoint.schema.processor.ResourceObjectIdentifier<T>
com.evolveum.midpoint.schema.processor.ResourceObjectIdentifier.Primary<T>
All Implemented Interfaces:
ShortDumpable, Serializable
Enclosing class:
ResourceObjectIdentifier<T>

public static class ResourceObjectIdentifier.Primary<T> extends ResourceObjectIdentifier<T>
Identifier that is a primary one.
See Also:
  • Method Details

    • of

      @NotNull public static <T> @NotNull ResourceObjectIdentifier.Primary<T> of(@NotNull @NotNull ShadowSimpleAttribute<T> attribute)
    • of

      public static <T> ResourceObjectIdentifier.Primary<T> of(@NotNull @NotNull ResourceObjectDefinition objDef, @NotNull @NotNull PrismProperty<T> item) throws SchemaException
      Item must correspond to a primary identifier and have exactly one real value.
      Throws:
      SchemaException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • shortDump

      public void shortDump(StringBuilder sb)
      Description copied from interface: ShortDumpable
      Show the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.
      Parameters:
      sb - StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.