Package com.evolveum.midpoint.prism
Interface TypeDefinition
- All Superinterfaces:
AbstractTypeDefinition,Cloneable,DebugDumpable,Definition,Freezable,PrismLifecycleDefinition,PrismPresentationDefinition,Revivable,SchemaLookup.Aware,Serializable,SmartVisitable<Definition>,Visitable<Definition>
- All Known Subinterfaces:
ComplexTypeDefinition,ComplexTypeDefinitionDelegator,CompositeObjectDefinition,CompositeObjectDefinitionDelegator,EnumerationTypeDefinition,ResourceObjectClassDefinition,ResourceObjectClassDefinitionDelegator,ResourceObjectDefinition,ResourceObjectDefinitionDelegator,ResourceObjectTypeDefinition,ResourceObjectTypeDefinitionDelegator,ShadowAssociationsComplexTypeDefinition,ShadowAttributesComplexTypeDefinition,ShadowItemsComplexTypeDefinition,SimpleTypeDefinition,TypeDefinitionDelegator
- All Known Implementing Classes:
AbstractResourceObjectDefinitionImpl,CompositeObjectDefinitionImpl,ResourceObjectClassDefinitionImpl,ResourceObjectTypeDefinitionImpl
Definition of a type (as opposed to definition of an item).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.Definition
Definition.DefinitionBuilder, Definition.DefinitionMutatorNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition
PrismLifecycleDefinition.Data, PrismLifecycleDefinition.Delegable, PrismLifecycleDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
PrismPresentationDefinition.Data, PrismPresentationDefinition.Delegable, PrismPresentationDefinition.Mutable -
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Method Summary
Modifier and TypeMethodDescriptionbooleancanRepresent(QName typeName) @Nullable Class<?>Returns compile-time class, if this type has any.@NotNull Collection<TypeDefinition>Subtypes - but only these that are a part of the static schema.@Nullable QNameName of super type of this complex type definition.default booleanisAssignableFrom(TypeDefinition other, SchemaRegistry registry) Methods inherited from interface com.evolveum.midpoint.prism.AbstractTypeDefinition
getTypeNameMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Definition
checkMutableOnExposing, clone, debugDump, getAnnotation, getAnnotations, getMergerIdentifier, getMergerInstance, getMutabilityFlag, getNaturalKeyConstituents, getNaturalKeyInstance, getSchemaContextDefinition, getTypeClass, getTypeName, isAbstract, isElaborate, isOptionalCleanup, isRuntimeSchema, mutatorMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition
getDeprecatedSince, getPlannedRemoval, getRemovedSince, getSchemaMigrations, isDeprecated, isExperimental, isRemovedMethods inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
getDiagrams, getDisplayHint, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, isEmphasizedMethods inherited from interface com.evolveum.midpoint.prism.schema.SchemaLookup.Aware
schemaLookupMethods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
accept
-
Method Details
-
getCompileTimeClass
Returns compile-time class, if this type has any. For example, UserType.class, ObjectType.class, ExtensionType.class. -
getSuperType
Name of super type of this complex type definition. For example, `c:ObjectType` is a super type for `c:FocusType` which is a super type for `c:UserType`. Extension types have `c:ExtensionType` as their supertype, if no explicit supertype is specified in XSD. -
getStaticSubTypes
Subtypes - but only these that are a part of the static schema. A little bit experimental. :) -
getInstantiationOrder
Integer getInstantiationOrder() -
canRepresent
-
isAssignableFrom
- 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.
-