Package com.evolveum.midpoint.prism
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>
,PartiallyMutableItemDefinition<I>
,PartiallyMutableItemDefinition.Attribute<T>
,PartiallyMutableItemDefinition.Container<C>
,PartiallyMutableItemDefinition.Property<T>
,PartiallyMutableItemDefinition.Reference
,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
,CaseWorkItemTypeWrapper
,ComplexTypeDefinitionImpl
,CompositeObjectDefinitionImpl
,DefinitionImpl
,DummyPrismObjectDefinition
,EnumerationTypeDefinitionImpl
,ExpressionWrapper
,ItemDefinitionImpl
,ItemWrapperImpl
,PrismContainerDefinitionImpl
,PrismContainerWrapperImpl
,PrismObjectDefinitionImpl
,PrismObjectWrapperImpl
,PrismPropertyDefinitionImpl
,PrismPropertyWrapperImpl
,PrismReferenceDefinitionImpl
,PrismReferenceWrapperImpl
,ProfilingClassLoggerContainerWrapperImpl
,ProtectedStringTypeWrapperImpl
,RawResourceAttributeDefinitionImpl
,ResourceAttributeContainerDefinitionImpl
,ResourceAttributeDefinitionImpl
,ResourceAttributeMappingWrapper
,ResourceAttributeWrapperImpl
,ResourceObjectClassDefinitionImpl
,ResourceObjectTypeDefinitionImpl
,ResourceWrapper
,ShadowAssociationWrapperImpl
,ShadowWrapperImpl
,SimpleTypeDefinitionImpl
,TransformableComplexTypeDefinition
,TransformableComplexTypeDefinition.TrCompositeObjectDefinition
,TransformableComplexTypeDefinition.TrResourceObjectClassDefinition
,TransformableComplexTypeDefinition.TrResourceObjectDefinition
,TransformableComplexTypeDefinition.TrResourceObjectTypeDefinition
,TransformableContainerDefinition
,TransformableContainerDefinition.AttributeContainer
,TransformableItemDefinition
,TransformableObjectDefinition
,TransformablePropertyDefinition
,TransformablePropertyDefinition.RefinedAttribute
,TransformablePropertyDefinition.ResourceAttribute
,TransformableReferenceDefinition
,TypeDefinitionImpl
,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(Visitor<T> visitor, SmartVisitation<T> visitation)
-
-
-
Method Detail
-
accept
boolean accept(Visitor<T> visitor, SmartVisitation<T> visitation)
- Returns:
- false if we already was here
-
-