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

All Known Subinterfaces:
Annotation, AnyType, AssociationClass, AssociationClassCallExp, BagType, BooleanLiteralExp, CallExp, CallOperationAction, Class, ClassifierType, CollectionItem, CollectionLiteralExp, CollectionLiteralPart, CollectionRange, CollectionType, Comment, Constraint, ConstructorExp, ConstructorPart, DataType, Detail, Element, Enumeration, EnumerationLiteral, EnumLiteralExp, ExpressionInOCL, Feature, FeatureCallExp, IfExp, IntegerLiteralExp, InvalidLiteralExp, InvalidType, IterateExp, Iteration, IteratorExp, LambdaType, LetExp, Library, LiteralExp, LoopExp, MessageExp, MessageType, Model, MultiplicityElement, NamedElement, Namespace, NavigationCallExp, NullLiteralExp, NumericLiteralExp, OCLExpression, OpaqueExpression, Operation, OperationCallExp, OperationTemplateParameter, OrderedSetType, Package, PackageableElement, Parameter, ParameterableElement, Precedence, PrimitiveLiteralExp, PrimitiveType, Property, PropertyCallExp, RealLiteralExp, SelfType, SendSignalAction, SequenceType, SetType, Signal, State, StateExp, StringLiteralExp, TemplateableElement, TemplateBinding, TemplateParameter, TemplateParameterSubstitution, TemplateParameterType, TemplateSignature, TupleLiteralExp, TupleLiteralPart, TupleType, Type, TypedElement, TypedMultiplicityElement, TypeExp, TypeTemplateParameter, UnlimitedNaturalLiteralExp, UnspecifiedType, UnspecifiedValueExp, ValueSpecification, Variable, VariableDeclaration, VariableExp, VoidType
All Known Implementing Classes:
AnnotationImpl, AnyTypeImpl, AssociationClassCallExpImpl, AssociationClassImpl, BagTypeImpl, BooleanLiteralExpImpl, CallExpImpl, CallOperationActionImpl, ClassifierTypeImpl, ClassImpl, CollectionItemImpl, CollectionLiteralExpImpl, CollectionLiteralPartImpl, CollectionRangeImpl, CollectionTypeImpl, CommentImpl, ConstraintImpl, ConstructorExpImpl, ConstructorPartImpl, DataTypeImpl, DetailImpl, ElementImpl, EnumerationImpl, EnumerationLiteralImpl, EnumLiteralExpImpl, ExpressionInOCLImpl, FeatureCallExpImpl, FeatureImpl, IfExpImpl, IntegerLiteralExpImpl, InvalidLiteralExpImpl, InvalidTypeImpl, IterateExpImpl, IterationImpl, IteratorExpImpl, LambdaTypeImpl, LetExpImpl, LibraryImpl, LiteralExpImpl, LoopExpImpl, MessageExpImpl, MessageTypeImpl, ModelImpl, MultiplicityElementImpl, NamedElementImpl, NamespaceImpl, NavigationCallExpImpl, NullLiteralExpImpl, NumericLiteralExpImpl, OCLExpressionImpl, OpaqueExpressionImpl, OperationCallExpImpl, OperationImpl, OperationTemplateParameterImpl, OrderedSetTypeImpl, PackageableElementImpl, PackageImpl, ParameterableElementImpl, ParameterImpl, PrecedenceImpl, PrimitiveLiteralExpImpl, PrimitiveTypeImpl, PropertyCallExpImpl, PropertyImpl, RealLiteralExpImpl, SelfTypeImpl, SendSignalActionImpl, SequenceTypeImpl, SetTypeImpl, SignalImpl, StateExpImpl, StateImpl, StringLiteralExpImpl, TemplateableElementImpl, TemplateBindingImpl, TemplateParameterImpl, TemplateParameterSubstitutionImpl, TemplateParameterTypeImpl, TemplateSignatureImpl, TupleLiteralExpImpl, TupleLiteralPartImpl, TupleTypeImpl, TupleTypeManager.TuplePart, TypedElementImpl, TypedMultiplicityElementImpl, TypeExpImpl, TypeImpl, TypeTemplateParameterImpl, UnlimitedNaturalLiteralExpImpl, UnspecifiedTypeImpl, UnspecifiedValueExpImpl, ValueSpecificationImpl, VariableDeclarationImpl, VariableExpImpl, VariableImpl, 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

<R> R accept(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()