Interface CompositeObjectDefinition
- All Superinterfaces:
- AbstractTypeDefinition,- AssociationDefinitionStore,- AttributeDefinitionStore,- Cloneable,- DebugDumpable,- Definition,- FrameworkNameResolver,- Freezable,- IdentifiersDefinitionStore,- LayeredDefinition,- LocalItemDefinitionStore,- PrismLifecycleDefinition,- PrismPresentationDefinition,- ResourceObjectDefinition,- ResourceObjectInboundProcessingDefinition,- Revivable,- SchemaLookup.Aware,- Serializable,- SmartVisitable<Definition>,- TypeDefinition,- Visitable<Definition>
- All Known Subinterfaces:
- CompositeObjectDefinitionDelegator
- All Known Implementing Classes:
- CompositeObjectDefinitionImpl
Represents ad-hoc combination of definitions of structural and auxiliary object classes.
- Author:
- semancik
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.DefinitionDefinition.DefinitionBuilder, Definition.DefinitionMutatorNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinitionPrismLifecycleDefinition.Data, PrismLifecycleDefinition.Delegable, PrismLifecycleDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinitionPrismPresentationDefinition.Data, PrismPresentationDefinition.Delegable, PrismPresentationDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectInboundProcessingDefinitionResourceObjectInboundProcessingDefinition.AssociationBasedItemImplementation, ResourceObjectInboundProcessingDefinition.AssociationSynchronizationImplementation, ResourceObjectInboundProcessingDefinition.CompleteItemInboundDefinition, ResourceObjectInboundProcessingDefinition.FocusSpecification, ResourceObjectInboundProcessingDefinition.ItemInboundProcessingDefinitionNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.TypeDefinitionTypeDefinition.TypeDefinitionLikeBuilder, TypeDefinition.TypeDefinitionMutator
- 
Field SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier and TypeMethodDescription@NotNull Collection<? extends ResourceObjectDefinition>Returns auxiliary definitions.default @NotNull Collection<QName>Returns the names of auxiliary object classes that are "statically" defined for the structural object type.@NotNull ResourceObjectDefinitionReturns the structural definition that represents the "base" of this composite definition.static @NotNull CompositeObjectDefinitionImplmutableOf(@NotNull ResourceObjectDefinition structuralDefinition, @Nullable Collection<? extends ResourceObjectDefinition> auxiliaryDefinitions) static @NotNull CompositeObjectDefinitionImplof(@NotNull ResourceObjectDefinition structuralDefinition, @Nullable Collection<? extends ResourceObjectDefinition> auxiliaryDefinitions) Returns immutable definition.Methods inherited from interface com.evolveum.midpoint.prism.AbstractTypeDefinitiongetTypeNameMethods inherited from interface com.evolveum.midpoint.schema.processor.AssociationDefinitionStorefindAssociationDefinition, findAssociationDefinitionRequired, findAssociationDefinitionRequired, getAssociationDefinitions, getNamesOfAssociationsMethods inherited from interface com.evolveum.midpoint.schema.processor.AttributeDefinitionStorecontainsAttributeDefinition, findAttributeDefinition, findAttributeDefinition, findAttributeDefinitionRequired, findAttributeDefinitionRequired, findAttributeDefinitionStrictlyRequired, findAttributeDefinitionStrictlyRequired, findReferenceAttributeDefinitionRequired, findReferenceAttributeDefinitionRequired, findShadowAttributeDefinitionRequired, findSimpleAttributeDefinition, findSimpleAttributeDefinition, findSimpleAttributeDefinition, findSimpleAttributeDefinitionRequired, findSimpleAttributeDefinitionRequired, findSimpleAttributeDefinitionRequired, findSimpleAttributeDefinitionStrictlyRequired, findSimpleAttributeDefinitionStrictlyRequired, getAllSimpleAttributesNames, getAttributeDefinitions, getAttributeDefinitions, getAttributeNames, getReferenceAttributesNames, getSimpleAttributeDefinitions, hasIndexOnlyAttributes, instantiateAttributeMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.DefinitioncheckMutableOnExposing, debugDump, getAnnotation, getAnnotations, getMergerIdentifier, getMergerInstance, getMutabilityFlag, getNaturalKeyConstituents, getNaturalKeyInstance, getSchemaContextDefinition, getTypeClass, getTypeName, isAbstract, isElaborate, isOptionalCleanup, isRuntimeSchema, mutatorMethods inherited from interface com.evolveum.midpoint.schema.processor.FrameworkNameResolverresolveFrameworkNameMethods inherited from interface com.evolveum.midpoint.prism.FreezablecheckImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.schema.processor.IdentifiersDefinitionStoregetAllIdentifiers, getAllIdentifiersNames, getPrimaryIdentifierRequired, getPrimaryIdentifiers, getPrimaryIdentifiersNames, getSecondaryIdentifierRequired, getSecondaryIdentifiers, getSecondaryIdentifiersNames, isIdentifier, isPrimaryIdentifier, isSecondaryIdentifierMethods inherited from interface com.evolveum.midpoint.schema.processor.LayeredDefinitiongetCurrentLayerMethods inherited from interface com.evolveum.midpoint.prism.LocalItemDefinitionStorecontainsItemDefinition, findContainerDefinition, findItemDefinition, findItemDefinition, findLocalItemDefinition, findLocalItemDefinition, findLocalItemDefinitionByIteration, findPropertyDefinition, findReferenceDefinition, getDefinitionsMethods inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinitiongetDeprecatedSince, getPlannedRemoval, getRemovedSince, getSchemaMigrations, isDeprecated, isExperimental, isRemovedMethods inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinitiongetDiagrams, getDisplayHint, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, isEmphasizedMethods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectDefinitionareCredentialsCached, areCredentialsCachedLegacy, assertAttached, canRepresent, clone, composite, createBlankShadow, createBlankShadowWithPrimaryId, createBlankShadowWithTag, createPrimaryIdentification, createShadowSearchQuery, deepClone, findReferenceAttributeDefinition, forLayerImmutable, forLayerMutable, getActivationBidirectionalMappingType, getActivationFetchStrategy, getActivationInboundMappings, getActivationSchemaHandling, getAssociationDefinitionsFor, getAssociationsComplexTypeDefinition, getAttributesComplexTypeDefinition, getAttributesVolatileOnAddOperation, getAttributesVolatileOnModifyOperation, getAuxiliaryObjectClassMappings, getAuxiliaryObjectClassNameForAttribute, getBaseContext, getBasicResourceInformation, getCompileTimeClass, getDebugDumpClassName, getDefaultInboundMappingEvaluationPhases, getDefaultOperationPolicyOid, getDefinitionBean, getDelineation, getDescription, getDescriptionAttribute, getDescriptionAttributeName, getDisplayNameAttribute, getDisplayNameAttributeName, getEffectiveShadowCachingPolicy, getEnabledCapability, getHumanReadableName, getIdentification, getInstantiationOrder, getLastLoginTimestampDefinition, getLastLoginTimestampFetchStrategy, getLifecycleState, getNamingAttribute, getNamingAttributeName, getNativeObjectClassDefinition, getObjectClassDefinition, getObjectClassLocalName, getObjectClassName, getObjectMultiplicity, getPasswordDefinition, getPasswordFetchStrategy, getPasswordInboundMappings, getPasswordOutboundMappings, getPrismObjectDefinition, getProjectionPolicy, getReferenceAttributeDefinitions, getReferenceAttributesComplexTypeDefinition, getResourceOid, getSearchHierarchyScope, getSecurityPolicyRef, getShadowMarkingRules, getShortIdentification, getSimpleAttributesComplexTypeDefinition, getStaticSubTypes, getSuperType, getTypeDefinition, getTypeIdentification, getVolatility, hasAuxiliaryObjectClass, isActivationCached, isAuxiliaryObjectClassPropertyCached, isCachingEnabled, isDefaultFor, isEffectivelyCached, matchesObjectClassName, queryFor, replaceAttributeDefinition, replaceAttributeDefinition, shouldUpdateCachingMetadata, toPrismObjectDefinition, toShadowAssociationsContainerDefinition, toShadowAttributesContainerDefinition, trimAttributesTo, validateMethods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectInboundProcessingDefinitiongetAuxiliaryObjectClassInboundMappings, getCorrelation, getFocusSpecification, getItemInboundDefinitions, getSynchronizationReactionsMethods inherited from interface com.evolveum.midpoint.prism.schema.SchemaLookup.AwareschemaLookupMethods inherited from interface com.evolveum.midpoint.prism.SmartVisitableacceptMethods inherited from interface com.evolveum.midpoint.prism.TypeDefinitionisAssignableFrom
- 
Method Details- 
getStructuralDefinitionReturns the structural definition that represents the "base" of this composite definition.
- 
getAuxiliaryDefinitionsReturns auxiliary definitions. They enrich the structural definition e.g. by adding attribute definitions. TODO specify better- Specified by:
- getAuxiliaryDefinitionsin interface- ResourceObjectDefinition
 
- 
getConfiguredAuxiliaryObjectClassNamesReturns the names of auxiliary object classes that are "statically" defined for the structural object type. (The restriction to the structural definition is intentional.)- Specified by:
- getConfiguredAuxiliaryObjectClassNamesin interface- ResourceObjectDefinition
- See Also:
 
- 
of@NotNull static @NotNull CompositeObjectDefinitionImpl of(@NotNull @NotNull ResourceObjectDefinition structuralDefinition, @Nullable @Nullable Collection<? extends ResourceObjectDefinition> auxiliaryDefinitions) Returns immutable definition. Assumes component definitions are immutable. FIXME sometimes, the `structuralDefinition` is itself a composite definition. We should avoid wrapping it into another composite definitions. Please fix this some day. See MID-9156.
- 
mutableOf@NotNull static @NotNull CompositeObjectDefinitionImpl mutableOf(@NotNull @NotNull ResourceObjectDefinition structuralDefinition, @Nullable @Nullable Collection<? extends ResourceObjectDefinition> auxiliaryDefinitions) 
 
-