Package com.evolveum.midpoint.prism
Interface SmartVisitable<T extends SmartVisitable<T>>
-
- All Superinterfaces:
Visitable<T>
- All Known Subinterfaces:
AttributeContainerDefinitionDelegator
,AttributeDefinitionDelegator<T>
,ComplexTypeDefinition
,ComplexTypeDefinitionDelegator
,CompositeRefinedObjectClassDefinition
,ContainerDefinitionDelegator<C>
,Definition
,DefinitionDelegator
,ItemDefinition<I>
,ItemDefinitionDelegator<I>
,LayerRefinedAttributeDefinition<T>
,LayerRefinedObjectClassDefinition
,MutableComplexTypeDefinition
,MutableDefinition
,MutableItemDefinition<I>
,MutableObjectClassComplexTypeDefinition
,MutablePrismContainerDefinition<C>
,MutablePrismObjectDefinition<O>
,MutablePrismPropertyDefinition<T>
,MutablePrismReferenceDefinition
,MutableResourceAttributeDefinition<T>
,MutableTypeDefinition
,ObjectClassComplexTypeDefinition
,ObjectClassTypeDefinitionDelegator
,ObjectDefinitionDelegator<O>
,PartiallyMutableItemDefinition<I>
,PartiallyMutableItemDefinition.Attribute<T>
,PartiallyMutableItemDefinition.Container<C>
,PartiallyMutableItemDefinition.Property<T>
,PartiallyMutableItemDefinition.Reference
,PrismContainerDefinition<C>
,PrismObjectDefinition<O>
,PrismPropertyDefinition<T>
,PrismReferenceDefinition
,PropertyDefinitionDelegator<T>
,ReferenceDefinitionDelegator
,RefinedAttributeDefinition<T>
,RefinedAttributeDefinitionDelegator<T>
,RefinedObjectClassDefinition
,ResourceAttributeContainerDefinition
,ResourceAttributeDefinition<T>
,SimpleTypeDefinition
,TypeDefinition
,TypeDefinitionDelegator
- All Known Implementing Classes:
ComplexTypeDefinitionImpl
,CompositeRefinedObjectClassDefinitionImpl
,DefinitionImpl
,DummyPrismObjectDefinition
,ItemDefinitionImpl
,LayerRefinedAttributeDefinitionImpl
,LayerRefinedObjectClassDefinitionImpl
,ObjectClassComplexTypeDefinitionImpl
,PrismContainerDefinitionImpl
,PrismObjectDefinitionImpl
,PrismPropertyDefinitionImpl
,PrismReferenceDefinitionImpl
,RefinedAttributeDefinitionImpl
,RefinedObjectClassDefinitionImpl
,ResourceAttributeContainerDefinitionImpl
,ResourceAttributeDefinitionImpl
,SimpleTypeDefinitionImpl
,TransformableComplexTypeDefinition
,TransformableComplexTypeDefinition.ObjectClass
,TransformableContainerDefinition
,TransformableContainerDefinition.AttributeContainer
,TransformableDefinition
,TransformableItemDefinition
,TransformableObjectDefinition
,TransformablePropertyDefinition
,TransformablePropertyDefinition.RefinedAttribute
,TransformablePropertyDefinition.ResourceAttribute
,TransformableReferenceDefinition
,TypeDefinitionImpl
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
-
-