Interface ShadowReferenceAttributeDefinition
- All Superinterfaces:
Cloneable
,DebugDumpable
,Definition
,Freezable
,ItemDefinition<PrismContainer<ShadowAssociationValueType>>
,LayeredDefinition
,LivePrismItemDefinition
,LocalItemDefinitionStore
,PrismContainerDefinition<ShadowAssociationValueType>
,PrismItemAccessDefinition
,PrismItemBasicDefinition
,PrismItemMiscDefinition
,PrismItemStorageDefinition
,PrismLifecycleDefinition
,PrismPresentationDefinition
,ResourceObjectInboundDefinition.ItemInboundDefinition
,Revivable
,Serializable
,ShadowAttributeDefinition<ShadowReferenceAttribute,
,ShadowAssociationValueType> ShadowItemLayeredDefinition
,ShadowItemUcfDefinition
,ShortDumpable
,SmartVisitable<Definition>
,Visitable<Definition>
- All Known Implementing Classes:
ShadowReferenceAttributeDefinitionImpl
public interface ShadowReferenceAttributeDefinition
extends PrismContainerDefinition<ShadowAssociationValueType>, ShadowAttributeDefinition<ShadowReferenceAttribute,ShadowAssociationValueType>
Definition of an association item, e.g., `ri:group`.
The association can be native or simulated; it can point right to the target object (like `group` object class),
or to an intermediate - a.k.a. "associated" - one (like `groupMembership` object class).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.Definition
Definition.DefinitionBuilder, Definition.DefinitionMutator
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.ItemDefinition
ItemDefinition.ItemDefinitionLikeBuilder, ItemDefinition.ItemDefinitionMutator
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismContainerDefinition
PrismContainerDefinition.PrismContainerDefinitionMutator<C extends Containerable>
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
PrismItemAccessDefinition.Data, PrismItemAccessDefinition.Delegable, PrismItemAccessDefinition.Info, PrismItemAccessDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
PrismItemBasicDefinition.Data, PrismItemBasicDefinition.Delegable, PrismItemBasicDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemMiscDefinition
PrismItemMiscDefinition.Data, PrismItemMiscDefinition.Delegable, PrismItemMiscDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemStorageDefinition
PrismItemStorageDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition
PrismLifecycleDefinition.Data, PrismLifecycleDefinition.Delegable, PrismLifecycleDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
PrismPresentationDefinition.Data, PrismPresentationDefinition.Delegable, PrismPresentationDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.schema.processor.ShadowItemUcfDefinition
ShadowItemUcfDefinition.Data, ShadowItemUcfDefinition.Delegable, ShadowItemUcfDefinition.Mutable
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescription@NotNull ShadowReferenceAttributeDefinition
clone()
Creates a filter that provides all shadows eligible as the target value for this association.@Nullable ShadowAssociationDefinitionType
default @NotNull AssociationParticipantType
This is used for associations with the association object.@Nullable ShadowAssociationTypeDefinitionType
default @NotNull ResourceObjectClassDefinition
Returns the object class definition of the immediate target object.@NotNull Collection<AssociationParticipantType>
Returns "immediate neighbors".default Set<AssociationParticipantType>
getObjectDefinitionsFor
(@NotNull ItemName refAttrName, @NotNull CompleteResourceSchema resourceSchema) default @NotNull com.google.common.collect.Multimap<QName,
AssociationParticipantType> getObjectParticipants
(@NotNull CompleteResourceSchema resourceSchema) TEMPORARYTODO reconsider this: which definition should we provide as the representative one? There can be many.default String
default boolean
default boolean
instantiateFromIdentifierRealValue
(@NotNull QName identifierName, @NotNull Object realValue) boolean
default boolean
matches
(@NotNull ShadowType potentialTarget) Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Definition
checkMutableOnExposing, debugDump, getAnnotation, getAnnotations, getMergerIdentifier, getMergerInstance, getMutabilityFlag, getNaturalKeyConstituents, getNaturalKeyInstance, getSchemaContextDefinition, getTypeName, isAbstract, isElaborate, isOptionalCleanup, isRuntimeSchema
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
cloneWithNewName, debugDumpShortToString, deepClone, getProcessing, getSubstitutionHead, getValueEnumerationRef, instantiate, instantiate, isAlwaysUseForEquals, isDynamic, isHeterogeneousListItem, isIgnored, isInherited, isOperational
Methods inherited from interface com.evolveum.midpoint.schema.processor.LayeredDefinition
getCurrentLayer
Methods inherited from interface com.evolveum.midpoint.prism.LivePrismItemDefinition
findItemDefinition, isValidFor
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.PrismContainerDefinition
canRepresent, cloneWithNewDefinition, cloneWithNewType, createEmptyDelta, createValue, getAlwaysUseForEquals, getCompileTimeClass, getComplexTypeDefinition, getDefinitions, getItemNames, getPropertyDefinitions, getTypeClass, isAlwaysUseForEquals, isCompletelyDefined, isEmpty, mutator, replaceDefinition, structuredType
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
canAdd, canModify, canRead, getInfo
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
getItemName, getMaxOccurs, getMinOccurs, getTypeName, isMandatory, isMultiValue, isOptional, isSingleValue
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemMiscDefinition
getProcessing
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemStorageDefinition
isIndexed, isIndexOnly, isSearchable
Methods inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition
getDeprecatedSince, getPlannedRemoval, getRemovedSince, getSchemaMigrations, isDeprecated, isExperimental, isRemoved
Methods inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
getDiagrams, getDisplayHint, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, isEmphasized
Methods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectInboundDefinition.ItemInboundDefinition
getCorrelatorDefinition
Methods inherited from interface com.evolveum.midpoint.schema.processor.ShadowAttributeDefinition
debugDump, forLayer, getChangeApplicationMode, getDescription, getFetchStrategy, getHumanReadableDescription, getInboundMappingBeans, getIntolerantValuePatterns, getLifecycleState, getModificationPriority, getOutboundMappingBean, getReadReplaceMode, getRelevantInboundDefinitions, getStandardPath, getStorageStrategy, getTolerantValuePatterns, getTypeClass, hasInboundMapping, hasOutboundMapping, hasRefinements, instantiate, instantiate, isCached, isEffectivelyCached, isExclusiveStrong, isIgnored, isIndexOnly, isReturnedByDefault, isSimulated, isTolerant, isVisible, isVisible, isVolatilityTrigger, setOverrideCanAdd, setOverrideCanModify, setOverrideCanRead
Methods inherited from interface com.evolveum.midpoint.schema.processor.ShadowItemLayeredDefinition
canAdd, canModify, canRead, getLimitations, getMaxOccurs, getMinOccurs, getProcessing, isMandatory, isMultiValue, isOptional, isSingleValue
Methods inherited from interface com.evolveum.midpoint.schema.processor.ShadowItemUcfDefinition
getFrameworkAttributeName, getNativeAttributeName, getReturnedByDefault
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDump, shortDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
accept
-
Field Details
-
VALUE
-
-
Method Details
-
getImmediateTargetParticipantTypes
Returns "immediate neighbors". TODO -
getAssociationObjectInformation
This is used for associations with the association object. -
getImmediateTargetObjectClass
Returns the object class definition of the immediate target object. Should be exactly one. TEMPORARY IMPLEMENTATION; this should be resolved during definition parsing/creation. -
hasAssociationObject
default boolean hasAssociationObject() -
getObjectParticipants
@NotNull default @NotNull com.google.common.collect.Multimap<QName,AssociationParticipantType> getObjectParticipants(@NotNull @NotNull CompleteResourceSchema resourceSchema) TEMPORARY -
getObjectDefinitionsFor
default Set<AssociationParticipantType> getObjectDefinitionsFor(@NotNull @NotNull ItemName refAttrName, @NotNull @NotNull CompleteResourceSchema resourceSchema) -
matches
-
createTargetObjectsFilter
ObjectFilter createTargetObjectsFilter()Creates a filter that provides all shadows eligible as the target value for this association. FIXME resolve limitations: - single object class is allowed for given association - if multiple object types are there, then the filter is for the whole class - if type type is the default object type, then it's used as such (even if the whole OC should be returned) TODO are these immediate targets (associated objects, if present), or the "final" targets? -
getRepresentativeTargetObjectDefinition
ResourceObjectDefinition getRepresentativeTargetObjectDefinition()TODO reconsider this: which definition should we provide as the representative one? There can be many. -
instantiateFromIdentifierRealValue
@TestOnly ShadowAssociationValue instantiateFromIdentifierRealValue(@NotNull @NotNull QName identifierName, @NotNull @NotNull Object realValue) throws SchemaException - Throws:
SchemaException
-
createEmptyDelta
ContainerDelta<ShadowAssociationValueType> createEmptyDelta() -
getSimulationDefinition
SimulatedShadowReferenceTypeDefinition getSimulationDefinition() -
getSimulationDefinitionRequired
SimulatedShadowReferenceTypeDefinition getSimulationDefinitionRequired() -
isEntitlement
boolean isEntitlement() -
getResourceOid
-
clone
- Specified by:
clone
in interfaceDefinition
- Specified by:
clone
in interfaceItemDefinition<PrismContainer<ShadowAssociationValueType>>
- Specified by:
clone
in interfacePrismContainerDefinition<ShadowAssociationValueType>
- Specified by:
clone
in interfaceShadowAttributeDefinition<ShadowReferenceAttribute,
ShadowAssociationValueType>
-
getAssociationDefinitionBean
-
getAssociationTypeDefinitionBean
-
hasModernOutbound
default boolean hasModernOutbound()
-