Package com.evolveum.midpoint.prism
Interface TypeDefinition
-
- All Superinterfaces:
Cloneable
,DebugDumpable
,Definition
,Freezable
,PrismContextSensitive
,Revivable
,Serializable
,SmartVisitable<Definition>
,Visitable<Definition>
- All Known Subinterfaces:
ComplexTypeDefinition
,ComplexTypeDefinitionDelegator
,CompositeObjectDefinition
,CompositeObjectDefinitionDelegator
,EnumerationTypeDefinition
,MutableComplexTypeDefinition
,MutableResourceObjectClassDefinition
,ResourceObjectClassDefinition
,ResourceObjectClassDefinitionDelegator
,ResourceObjectDefinition
,ResourceObjectDefinitionDelegator
,ResourceObjectTypeDefinition
,ResourceObjectTypeDefinitionDelegator
,SimpleTypeDefinition
,TypeDefinitionDelegator
- All Known Implementing Classes:
AbstractResourceObjectDefinitionImpl
,ComplexTypeDefinitionImpl
,CompositeObjectDefinitionImpl
,EnumerationTypeDefinitionImpl
,ResourceObjectClassDefinitionImpl
,ResourceObjectTypeDefinitionImpl
,SimpleTypeDefinitionImpl
,TransformableComplexTypeDefinition
,TransformableComplexTypeDefinition.TrCompositeObjectDefinition
,TransformableComplexTypeDefinition.TrResourceObjectClassDefinition
,TransformableComplexTypeDefinition.TrResourceObjectDefinition
,TransformableComplexTypeDefinition.TrResourceObjectTypeDefinition
,TypeDefinitionImpl
public interface TypeDefinition extends Definition
Definition of a type (as opposed to definition of an item).- See Also:
ItemDefinition
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
canRepresent(QName typeName)
@Nullable Class<?>
getCompileTimeClass()
Returns compile-time class, if this type has any.Integer
getInstantiationOrder()
@NotNull Collection<TypeDefinition>
getStaticSubTypes()
Subtypes - but only these that are a part of the static schema.@Nullable QName
getSuperType()
Name of super type of this complex type definition.default boolean
isAssignableFrom(TypeDefinition other, SchemaRegistry registry)
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Definition
clone, debugDump, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getProcessing, getSchemaMigrations, getSchemaRegistry, getTypeClass, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRuntimeSchema, setAnnotation, toMutable
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContext
-
Methods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
accept
-
-
-
-
Method Detail
-
getCompileTimeClass
@Nullable @Nullable Class<?> getCompileTimeClass()
Returns compile-time class, if this type has any. For example, UserType.class, ObjectType.class, ExtensionType.class.
-
getSuperType
@Nullable @Nullable QName getSuperType()
Name of super type of this complex type definition. E.g. c:ObjectType is a super type for c:FocusType which is a super type for c:UserType. Or (more complex example) ri:ShadowAttributesType is a super type of ri:AccountObjectClass. (TODO is this really true?)
-
getStaticSubTypes
@NotNull @NotNull Collection<TypeDefinition> getStaticSubTypes()
Subtypes - but only these that are a part of the static schema. A little bit experimental. :)
-
getInstantiationOrder
Integer getInstantiationOrder()
-
canRepresent
boolean canRepresent(QName typeName)
-
isAssignableFrom
@Experimental default boolean isAssignableFrom(TypeDefinition other, SchemaRegistry registry)
- Returns:
- True if variables of this type can be assigned value of specified other type, i.e. if this type is equal or supertype of the other type.
-
-