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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description TransformableDefinition(Definition delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<QName,Object>
annotationsOverrides()
Definition
clone()
<A> A
getAnnotation(QName qname)
Returns generic definition annotation.<A> void
setAnnotation(QName qname, A value)
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Definition
getDiagrams, toMutable
-
Methods inherited from interface com.evolveum.midpoint.prism.deleg.DefinitionDelegator
accept, accept, debugDump, debugDump, debugDump, debugDumpLazily, debugDumpLazily, delegate, getAnnotations, getDeprecatedSince, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getPrismContext, getProcessing, getSchemaMigrations, getSchemaRegistry, getTypeClass, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRuntimeSchema
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
-
-
-
Constructor Detail
-
TransformableDefinition
public TransformableDefinition(Definition delegate)
-
-
Method Detail
-
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 interfaceDefinition
- Specified by:
getAnnotation
in interfaceDefinitionDelegator
-
setAnnotation
public <A> void setAnnotation(QName qname, A value)
- Specified by:
setAnnotation
in interfaceDefinition
- Specified by:
setAnnotation
in interfaceDefinitionDelegator
-
clone
public Definition clone()
- Specified by:
clone
in interfaceDefinition
- Overrides:
clone
in classObject
-
-