org.eclipse.ocl.examples.pivot.util
Interface Visitable

All Known Subinterfaces:
Annotation, AnyType, AssociationClass, AssociationClassCallExp, BagType, Behavior, BooleanLiteralExp, CallExp, CallOperationAction, Class, CollectionItem, CollectionLiteralExp, CollectionLiteralPart, CollectionRange, CollectionType, Comment, ConnectionPointReference, Constraint, ConstructorExp, ConstructorPart, DataType, Detail, DynamicElement, DynamicProperty, DynamicType, Element, ElementExtension, Enumeration, EnumerationLiteral, EnumLiteralExp, ExpressionInOCL, Feature, FeatureCallExp, FinalState, IfExp, Import, IntegerLiteralExp, InvalidLiteralExp, InvalidType, IterateExp, Iteration, IteratorExp, LambdaType, LetExp, Library, LiteralExp, LoopExp, MessageExp, MessageType, Metaclass<T>, NamedElement, Namespace, NavigationCallExp, NullLiteralExp, NumericLiteralExp, OCLExpression, OpaqueExpression, Operation, OperationCallExp, OperationTemplateParameter, OppositePropertyCallExp, OrderedSetType, Package, PackageableElement, Parameter, ParameterableElement, Precedence, PrimitiveLiteralExp, PrimitiveType, Profile, ProfileApplication, Property, PropertyCallExp, Pseudostate, RealLiteralExp, Region, Root, SelfType, SendSignalAction, SequenceType, SetType, Signal, State, StateExp, StateMachine, Stereotype, StringLiteralExp, TemplateableElement, TemplateBinding, TemplateParameter, TemplateParameterSubstitution, TemplateParameterType, TemplateSignature, Transition, Trigger, TupleLiteralExp, TupleLiteralPart, TupleType, Type, TypedElement, TypedMultiplicityElement, TypeExp, TypeExtension, TypeTemplateParameter, UnlimitedNaturalLiteralExp, UnspecifiedType, UnspecifiedValueExp, ValueSpecification, Variable, VariableDeclaration, VariableExp, Vertex, VoidType
All Known Implementing Classes:
AnnotationImpl, AnyTypeImpl, AssociationClassCallExpImpl, AssociationClassImpl, BagTypeImpl, BehaviorImpl, BooleanLiteralExpImpl, CallExpImpl, CallOperationActionImpl, ClassImpl, CollectionItemImpl, CollectionLiteralExpImpl, CollectionLiteralPartImpl, CollectionRangeImpl, CollectionTypeImpl, CommentImpl, ConnectionPointReferenceImpl, ConstraintImpl, ConstructorExpImpl, ConstructorPartImpl, DataTypeImpl, DetailImpl, DynamicElementImpl, DynamicPropertyImpl, DynamicTypeImpl, ElementExtensionImpl, ElementImpl, EnumerationImpl, EnumerationLiteralImpl, EnumLiteralExpImpl, ExpressionInOCLImpl, FeatureCallExpImpl, FeatureImpl, FinalStateImpl, IfExpImpl, ImportImpl, IntegerLiteralExpImpl, InvalidLiteralExpImpl, InvalidTypeImpl, IterateExpImpl, IterationImpl, IteratorExpImpl, LambdaTypeImpl, LetExpImpl, LibraryImpl, LiteralExpImpl, LoopExpImpl, MessageExpImpl, MessageTypeImpl, MetaclassImpl, NamedElementImpl, NamespaceImpl, NavigationCallExpImpl, NullLiteralExpImpl, NumericLiteralExpImpl, OCLExpressionImpl, OpaqueExpressionImpl, OperationCallExpImpl, OperationImpl, OperationTemplateParameterImpl, OppositePropertyCallExpImpl, OrderedSetTypeImpl, Orphanage, PackageableElementImpl, PackageImpl, ParameterableElementImpl, ParameterImpl, PrecedenceImpl, PrimitiveLiteralExpImpl, PrimitiveTypeImpl, ProfileApplicationImpl, ProfileImpl, PropertyCallExpImpl, PropertyImpl, PseudostateImpl, RealLiteralExpImpl, RegionImpl, RootImpl, SelfTypeImpl, SendSignalActionImpl, SequenceTypeImpl, SetTypeImpl, SignalImpl, StateExpImpl, StateImpl, StateMachineImpl, StereotypeImpl, StringLiteralExpImpl, TemplateableElementImpl, TemplateBindingImpl, TemplateParameterImpl, TemplateParameterSubstitutionImpl, TemplateParameterTypeImpl, TemplateSignatureImpl, TransitionImpl, TriggerImpl, TupleLiteralExpImpl, TupleLiteralPartImpl, TuplePartImpl, TupleTypeImpl, TupleTypeManager.TuplePart, TypedElementImpl, TypedMultiplicityElementImpl, TypeExpImpl, TypeExtensionImpl, TypeImpl, TypeTemplateParameterImpl, UnlimitedNaturalLiteralExpImpl, UnspecifiedTypeImpl, UnspecifiedValueExpImpl, ValueSpecificationImpl, VariableDeclarationImpl, VariableExpImpl, VariableImpl, VertexImpl, VoidTypeImpl

public interface Visitable


Method Summary
<R> R
accept(Visitor<R> visitor)
          Returns the result of accepting a visit from a visitor.
 org.eclipse.emf.ecore.EClass eClass()
           
 

Method Detail

accept

@Nullable
<R> R accept(@NonNull
                      Visitor<R> visitor)
Returns the result of accepting a visit from a visitor. Implementations typically invoke a derived-class-specific variant of visitXXX() to facilitate derived-class-specific processing or just visit() when no such method is available.

Implementations of visit() may use the EcoreSwitch to perform derived-class-specific processing.

Derived implementations of accept() may use getAdapter() to obtain richer visitor interfaces.

Parameters:
- C>
visitor -
Returns:
the result of the visit.

eClass

org.eclipse.emf.ecore.EClass eClass()