Interface SmartVisitable<T extends SmartVisitable<T>>

All Superinterfaces:
Visitable<T>
All Known Subinterfaces:
AttributeContainerDefinitionDelegator, AttributeDefinitionDelegator<T>, ComplexTypeDefinition, ComplexTypeDefinitionDelegator, CompositeObjectDefinition, CompositeObjectDefinitionDelegator, ContainerDefinitionDelegator<C>, Definition, DefinitionDelegator, EnumerationTypeDefinition, ItemDefinition<I>, ItemDefinitionDelegator<I>, ItemWrapper<I,VW>, MutableComplexTypeDefinition, MutableDefinition, MutableItemDefinition<I>, MutablePrismContainerDefinition<C>, MutablePrismObjectDefinition<O>, MutablePrismPropertyDefinition<T>, MutablePrismReferenceDefinition, MutableRawResourceAttributeDefinition<T>, MutableResourceObjectClassDefinition, MutableTypeDefinition, ObjectDefinitionDelegator<O>, PrismContainerDefinition<C>, PrismContainerWrapper<C>, PrismObjectDefinition<O>, PrismObjectWrapper<O>, PrismPropertyDefinition<T>, PrismPropertyWrapper<T>, PrismReferenceDefinition, PrismReferenceWrapper<R>, PropertyDefinitionDelegator<T>, RawResourceAttributeDefinition<T>, ReferenceDefinitionDelegator, RefinedAttributeDefinitionDelegator<T>, ResourceAttributeContainerDefinition, ResourceAttributeDefinition<T>, ResourceAttributeWrapper<T>, ResourceObjectClassDefinition, ResourceObjectClassDefinitionDelegator, ResourceObjectDefinition, ResourceObjectDefinitionDelegator, ResourceObjectTypeDefinition, ResourceObjectTypeDefinitionDelegator, ShadowWrapper, SimpleTypeDefinition, TypeDefinition, TypeDefinitionDelegator
All Known Implementing Classes:
AbstractResourceObjectDefinitionImpl, AssignmentHolderWrapper, AuthenticationAttemptWrapper, AuthenticationBehaviorWrapper, CaseWorkItemTypeWrapper, CompositeObjectDefinitionImpl, com.evolveum.midpoint.prism.impl.DefinitionImpl, ExpressionWrapper, com.evolveum.midpoint.prism.impl.ItemDefinitionImpl, ItemWrapperImpl, com.evolveum.midpoint.prism.impl.PrismContainerDefinitionImpl, PrismContainerWrapperImpl, PrismObjectWrapperImpl, com.evolveum.midpoint.prism.impl.PrismPropertyDefinitionImpl, PrismPropertyWrapperImpl, PrismReferenceWrapperImpl, ProfilingClassLoggerContainerWrapperImpl, ProtectedStringTypeWrapperImpl, RawResourceAttributeDefinitionImpl, ResourceAttributeContainerDefinitionImpl, ResourceAttributeDefinitionImpl, ResourceAttributeMappingWrapper, ResourceAttributeWrapperImpl, ResourceObjectClassDefinitionImpl, ResourceObjectTypeDefinitionImpl, ResourceWrapper, ShadowAssociationWrapperImpl, ShadowWrapperImpl, ValueMetadataWrapperImpl

public interface SmartVisitable<T extends SmartVisitable<T>> extends Visitable<T>
Visitable element that is smart enough to avoid being visited twice during one visitation. It is needed for object graphs with cycles. Standard visitations fail with stack overflow there. (Or should we call it CycleProofVisitable with CycleProofVisitation?) A little bit experimental.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(Visitor<T> visitor, SmartVisitation<T> visitation)
     

    Methods inherited from interface com.evolveum.midpoint.prism.Visitable

    accept
  • Method Details