Class TransformableDefinition

java.lang.Object
com.evolveum.midpoint.model.impl.schema.transform.TransformableDefinition
All Implemented Interfaces:
Definition, DefinitionDelegator, Freezable, PrismContextSensitive, Revivable, SmartVisitable<Definition>, Visitable<Definition>, DebugDumpable, Serializable, Cloneable
Direct Known Subclasses:
TransformableComplexTypeDefinition, TransformableItemDefinition

public abstract class TransformableDefinition extends Object implements DefinitionDelegator
See Also:
  • Constructor Details

    • TransformableDefinition

      public TransformableDefinition(Definition delegate)
  • Method Details

    • getAnnotation

      public <A> A getAnnotation(QName qname)
      Description copied from interface: Definition
      Returns generic definition annotation. Annotations are a method to extend schema definitions. This may be annotation stored in the schema definition file (e.g. XSD) or it may be a dynamic annotation determined at run-time. Annotation value should be a prism-supported object. E.g. a prims "bean" (JAXB annotated class), prism item, prism value or something like that. EXPERIMENTAL. Hic sunt leones. This may change at any moment. Note: annotations are only partially supported now (3.8). They are somehow transient. E.g. they are not serialized to XSD schema definitions (yet).
      Specified by:
      getAnnotation in interface Definition
      Specified by:
      getAnnotation in interface DefinitionDelegator
    • setAnnotation

      public <A> void setAnnotation(QName qname, A value)
      Specified by:
      setAnnotation in interface Definition
      Specified by:
      setAnnotation in interface DefinitionDelegator
    • annotationsOverrides

      protected Map<QName,Object> annotationsOverrides()
    • clone

      public Definition clone()
      Specified by:
      clone in interface Definition
      Overrides:
      clone in class Object