Interface ResourceObjectTypeDefinition
- All Superinterfaces:
AssociationDefinitionStore
,AttributeDefinitionStore
,Cloneable
,ComplexTypeDefinition
,DebugDumpable
,Definition
,Freezable
,IdentifiersDefinitionStore
,LayeredDefinition
,LocalItemDefinitionStore
,PrismContextSensitive
,ResourceObjectDefinition
,Revivable
,Serializable
,SmartVisitable<Definition>
,TypeDefinition
,Visitable<Definition>
- All Known Subinterfaces:
ResourceObjectTypeDefinitionDelegator
- All Known Implementing Classes:
ResourceObjectTypeDefinitionImpl
Definition of "resource object type". Roughly corresponds to an `objectType` section in `schemaHandling`
part of resource definition.
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull ObjectQuery
createShadowSearchQuery
(String resourceOid) Creates a query for obtaining shadows related to this object class or object type.@NotNull ResourceObjectTypeDefinition
forLayerMutable
(@NotNull LayerType layer) Creates a layer-specific mutable version of this definition.default @Nullable String
Archetype OID - a convenience method.@Nullable ObjectReferenceType
Archetype reference - not present in standalone definitions.@Nullable ExpressionType
Temporary?<T extends CapabilityType>
TgetConfiguredCapability
(Class<T> capabilityClass) Returns the configured capability of given class, if present.@Nullable CorrelationDefinitionType
Returns the correlation definition bean, if present here.@Nullable QName
Returns the focus type name, if present here.@NotNull String
Intent defining this object type (along withgetKind()
).@NotNull ShadowKindType
getKind()
Kind of objects covered by this object type.@NotNull Collection<SynchronizationReactionDefinition>
Returns the synchronization reactions defined here.@NotNull ResourceObjectTypeDefinition
Is this definition bound to a specific resource type? If yes, this method returns its definition.@NotNull ResourceObjectTypeIdentification
Identification (kind+intent) of this object type.boolean
Returns true if there is "synchronization reactions" definition section here (even if it's empty).boolean
Is this type explicitly marked as the default object type for given kind? (using default or defaultForKind property).boolean
Is this type explicitly marked as the default object type for given object class? (using default or defaultForObjectClass property).@Nullable Boolean
Returns the "synchronization enabled" flag value, if present here.@Nullable Boolean
Returns the "synchronization opportunistic" flag value, if present here.default boolean
matches
(@NotNull ShadowKindType kind, @NotNull String intent) Returns true if this object type matches specified (non-null) kind and intent.default boolean
matchesKind
(@Nullable ShadowKindType kind) Returns true if the type definition is of specified kind.Methods inherited from interface com.evolveum.midpoint.schema.processor.AssociationDefinitionStore
findAssociationDefinition, findAssociationDefinitionRequired, getAssociationDefinitions, getAssociationDefinitions, getNamesOfAssociations, getNamesOfAssociationsWithInboundExpressions, getNamesOfAssociationsWithOutboundExpressions
Methods inherited from interface com.evolveum.midpoint.schema.processor.AttributeDefinitionStore
containsAttributeDefinition, findAttributeDefinition, findAttributeDefinition, findAttributeDefinition, findAttributeDefinitionRequired, findAttributeDefinitionRequired, findAttributeDefinitionStrictlyRequired, findAttributeDefinitionStrictlyRequired, getAttributeDefinitions, getAttributeDefinitions, getNamesOfAttributesWithInboundExpressions, getNamesOfAttributesWithOutboundExpressions, hasIndexOnlyAttributes, propertyToAttribute
Methods inherited from interface com.evolveum.midpoint.prism.ComplexTypeDefinition
getDefaultNamespace, getDefinitions, getExtensionForType, getIgnoredNamespaces, getXmlAttributeDefinitions, hasOperationalOnlyItems, hasSubstitutions, hasSubstitutions, isContainerMarker, isEmpty, isItemDefinitionRemoved, isListMarker, isObjectMarker, isReferenceMarker, isStrictAnyMarker, isXsdAnyMarker, itemOrSubstitution, merge, substitution, toMutable, trimTo
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Definition
debugDump, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getProcessing, getRemovedSince, getSchemaMigrations, getSchemaRegistry, getTypeClass, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRemoved, isRuntimeSchema, setAnnotation
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.schema.processor.IdentifiersDefinitionStore
getAllIdentifiers, getPrimaryIdentifierRequired, getPrimaryIdentifiers, getPrimaryIdentifiersNames, getSecondaryIdentifiers, getSecondaryIdentifiersNames, isIdentifier, isPrimaryIdentifier, isSecondaryIdentifier
Methods inherited from interface com.evolveum.midpoint.schema.processor.LayeredDefinition
getCurrentLayer
Methods inherited from interface com.evolveum.midpoint.prism.LocalItemDefinitionStore
containsItemDefinition, findContainerDefinition, findItemDefinition, findItemDefinition, findLocalItemDefinition, findLocalItemDefinition, findPropertyDefinition, findReferenceDefinition
Methods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContext
Methods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectDefinition
clone, createBlankShadow, deepClone, forLayerImmutable, getActivationBidirectionalMappingType, getActivationFetchStrategy, getActivationSchemaHandling, getAuxiliaryDefinitions, getAuxiliaryObjectClassMappings, getBaseContext, getConfiguredAuxiliaryObjectClassNames, getDebugDumpClassName, getDefaultInboundMappingEvaluationPhases, getDefinitionBean, getDelineation, getDescription, getDescriptionAttribute, getDescriptionAttributeName, getDisplayNameAttribute, getDisplayNameAttributeName, getEnabledCapability, getHumanReadableName, getLifecycleState, getNamingAttribute, getNamingAttributeName, getObjectClassDefinition, getObjectClassName, getObjectMultiplicity, getPasswordDefinition, getPasswordFetchStrategy, getPasswordInbound, getPasswordOutbound, getPrismObjectDefinition, getProjectionPolicy, getProtectedObjectPatterns, getRawObjectClassDefinition, getResourceOid, getSearchHierarchyScope, getSecurityPolicyRef, getVolatility, hasAuxiliaryObjectClass, instantiate, isDefaultFor, matchesObjectClassName, replaceDefinition, replaceDefinition, toResourceAttributeContainerDefinition, toResourceAttributeContainerDefinition, validate
Methods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
accept
Methods inherited from interface com.evolveum.midpoint.prism.TypeDefinition
canRepresent, getCompileTimeClass, getInstantiationOrder, getStaticSubTypes, getSuperType, isAssignableFrom
-
Method Details
-
createShadowSearchQuery
@NotNull default @NotNull ObjectQuery createShadowSearchQuery(String resourceOid) throws SchemaException Description copied from interface:ResourceObjectDefinition
Creates a query for obtaining shadows related to this object class or object type. The current implementations return either: - a combination of resource OID + object class name, or - a combination of resource OID + kind + intent.- Specified by:
createShadowSearchQuery
in interfaceResourceObjectDefinition
- Throws:
SchemaException
-
getTypeIdentification
Identification (kind+intent) of this object type.- Specified by:
getTypeIdentification
in interfaceResourceObjectDefinition
-
getTypeDefinition
Description copied from interface:ResourceObjectDefinition
Is this definition bound to a specific resource type? If yes, this method returns its definition.- Specified by:
getTypeDefinition
in interfaceResourceObjectDefinition
-
getKind
Kind of objects covered by this object type. -
getIntent
Intent defining this object type (along withgetKind()
). -
matches
Returns true if this object type matches specified (non-null) kind and intent. -
matchesKind
Returns true if the type definition is of specified kind. Kind of `null` matches all definitions. -
isDefaultForKind
boolean isDefaultForKind()Is this type explicitly marked as the default object type for given kind? (using default or defaultForKind property). -
isDefaultForObjectClass
boolean isDefaultForObjectClass()Is this type explicitly marked as the default object type for given object class? (using default or defaultForObjectClass property). -
forLayerMutable
Description copied from interface:ResourceObjectDefinition
Creates a layer-specific mutable version of this definition.- Specified by:
forLayerMutable
in interfaceResourceObjectDefinition
-
getConfiguredCapability
Returns the configured capability of given class, if present. -
getCorrelationDefinitionBean
Returns the correlation definition bean, if present here. (It may be standalone.) -
isSynchronizationEnabled
Returns the "synchronization enabled" flag value, if present here. (It may be standalone.) FIXME -
isSynchronizationOpportunistic
Returns the "synchronization opportunistic" flag value, if present here. (It may be standalone.) -
getFocusTypeName
Returns the focus type name, if present here. (It may be standalone.) -
getArchetypeRef
Archetype reference - not present in standalone definitions. -
getArchetypeOid
Archetype OID - a convenience method. -
hasSynchronizationReactionsDefinition
boolean hasSynchronizationReactionsDefinition()Returns true if there is "synchronization reactions" definition section here (even if it's empty). -
getSynchronizationReactions
Returns the synchronization reactions defined here. (They may be standalone.) -
getClassificationCondition
Temporary?
-