java.lang.Object
java.lang.Enum<Annotation>
com.evolveum.midpoint.prism.impl.schema.annotation.Annotation
All Implemented Interfaces:
Serializable, Comparable<Annotation>, Constable

public enum Annotation extends Enum<Annotation>
A specialization of a DefinitionFeature, such that: . the XSOM source being always XSAnnotation, . the list of these features is provided in the form of a Java enum (Annotation, i.e., a fixed list of values. It contains AnnotationBasedFeature instance (a subclass of DefinitionFeature) that carries out practically all the processing. TODO think if we can somehow unify this with DefinitionFeature. It seems we could.
  • Enum Constant Details

    • ALWAYS_USE_FOR_EQUALS

      public static final Annotation ALWAYS_USE_FOR_EQUALS
    • DEPRECATED

      public static final Annotation DEPRECATED
    • DEPRECATED_SINCE

      public static final Annotation DEPRECATED_SINCE
    • DISPLAY_NAME

      public static final Annotation DISPLAY_NAME
    • DISPLAY_ORDER

      public static final Annotation DISPLAY_ORDER
    • DOCUMENTATION

      public static final Annotation DOCUMENTATION
    • ELABORATE

      public static final Annotation ELABORATE
    • EMPHASIZED

      @Deprecated public static final Annotation EMPHASIZED
      Deprecated.
    • DISPLAY_HINT

      public static final Annotation DISPLAY_HINT
    • EXPERIMENTAL

      public static final Annotation EXPERIMENTAL
    • HELP

      public static final Annotation HELP
    • HETEROGENEOUS_LIST_ITEM

      public static final Annotation HETEROGENEOUS_LIST_ITEM
    • IGNORE

      public static final Annotation IGNORE
    • OBJECT_REFERENCE_TARGET_TYPE

      public static final Annotation OBJECT_REFERENCE_TARGET_TYPE
    • OPERATIONAL

      public static final Annotation OPERATIONAL
    • OPTIONAL_CLEANUP

      public static final Annotation OPTIONAL_CLEANUP
    • PLANNED_REMOVAL

      public static final Annotation PLANNED_REMOVAL
    • PROCESSING

      public static final Annotation PROCESSING
    • REMOVED

      public static final Annotation REMOVED
    • REMOVED_SINCE

      public static final Annotation REMOVED_SINCE
    • SEARCHABLE

      public static final Annotation SEARCHABLE
    • MERGER

      public static final Annotation MERGER
    • NATURAL_KEY

      public static final Annotation NATURAL_KEY
    • SCHEMA_CONTEXT

      public static final Annotation SCHEMA_CONTEXT
  • Method Details

    • values

      public static Annotation[] 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

      public static Annotation valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • parseAllAnnotations

      public static void parseAllAnnotations(Object target, com.sun.xml.xsom.XSAnnotation annotation) throws SchemaException
      Throws:
      SchemaException
    • parseIfApplicable

      public void parseIfApplicable(Object target, com.sun.xml.xsom.XSAnnotation xsAnnotation) throws SchemaException
      Throws:
      SchemaException