org.eclipse.ocl.examples.pivot
Interface Element

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, PivotObject, Visitable
All Known Subinterfaces:
Annotation, AnyType, AssociationClass, AssociationClassCallExp, BagType, BooleanLiteralExp, CallExp, CallOperationAction, Class, ClassifierType, CollectionItem, CollectionLiteralExp, CollectionLiteralPart, CollectionRange, CollectionType, Comment, Constraint, DataType, Detail, Enumeration, EnumerationLiteral, EnumLiteralExp, ExpressionInOcl, Feature, FeatureCallExp, IfExp, IntegerLiteralExp, InvalidLiteralExp, InvalidType, IterateExp, Iteration, IteratorExp, LambdaType, LetExp, Library, LiteralExp, LoopExp, MessageExp, MessageType, MonikeredElement, MultiplicityElement, NamedElement, Namespace, NavigationCallExp, NullLiteralExp, NumericLiteralExp, OclExpression, OpaqueExpression, Operation, OperationCallExp, OperationTemplateParameter, OrderedSetType, Package, PackageableElement, Parameter, ParameterableElement, Precedence, PrimitiveLiteralExp, PrimitiveType, Property, PropertyCallExp, RealLiteralExp, 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, DataTypeImpl, DetailImpl, ElementImpl, EnumerationImpl, EnumerationLiteralImpl, EnumLiteralExpImpl, ExpressionInOclImpl, FeatureCallExpImpl, FeatureImpl, IfExpImpl, IntegerLiteralExpImpl, InvalidLiteralExpImpl, InvalidTypeImpl, IterateExpImpl, IterationImpl, IteratorExpImpl, LambdaTypeImpl, LetExpImpl, LibraryImpl, LiteralExpImpl, LoopExpImpl, MessageExpImpl, MessageTypeImpl, MonikeredElementImpl, MultiplicityElementImpl, NamedElementImpl, NamespaceImpl, NavigationCallExpImpl, NullLiteralExpImpl, NumericLiteralExpImpl, OclExpressionImpl, OpaqueExpressionImpl, OperationCallExpImpl, OperationImpl, OperationTemplateParameterImpl, OrderedSetTypeImpl, PackageableElementImpl, PackageImpl, ParameterableElementImpl, ParameterImpl, PrecedenceImpl, PrimitiveLiteralExpImpl, PrimitiveTypeImpl, PropertyCallExpImpl, PropertyImpl, RealLiteralExpImpl, SendSignalActionImpl, SequenceTypeImpl, SetTypeImpl, SignalImpl, StateExpImpl, StateImpl, StringLiteralExpImpl, TemplateableElementImpl, TemplateBindingImpl, TemplateParameterImpl, TemplateParameterSubstitutionImpl, TemplateParameterTypeImpl, TemplateSignatureImpl, TupleLiteralExpImpl, TupleLiteralPartImpl, TupleTypeImpl, TypedElementImpl, TypedMultiplicityElementImpl, TypeExpImpl, TypeImpl, TypeManager.TuplePart, TypeTemplateParameterImpl, UnlimitedNaturalLiteralExpImpl, UnspecifiedTypeImpl, UnspecifiedValueExpImpl, ValueSpecificationImpl, VariableDeclarationImpl, VariableExpImpl, VariableImpl, VoidTypeImpl

public interface Element
extends PivotObject, Visitable

A representation of the model object 'Element'. An element is a constituent of a model.

The following features are supported:

See Also:
PivotPackage.getElement()
Generated
Model
abstract="true" superTypes="org.eclipse.ocl.examples.pivot.Visitable"

Method Summary
 Comment createOwnedComment()
          Creates a new Comment and appends it to the 'Owned Comment' containment reference list.
 org.eclipse.emf.ecore.EObject getETarget()
           
 org.eclipse.emf.common.util.EList<Comment> getOwnedComments()
          Returns the value of the 'Owned Comment' containment reference list.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 

Method Detail

getOwnedComments

org.eclipse.emf.common.util.EList<Comment> getOwnedComments()
Returns the value of the 'Owned Comment' containment reference list. The list contents are of type Comment. The Comments owned by this element.

Returns:
the value of the 'Owned Comment' containment reference list.
See Also:
PivotPackage.getElement_OwnedComment()
Generated
Model
containment="true" ordered="false"

createOwnedComment

Comment createOwnedComment()
Creates a new Comment and appends it to the 'Owned Comment' containment reference list.

Returns:
The new Comment.
See Also:
getOwnedComments()
Generated

getETarget

org.eclipse.emf.ecore.EObject getETarget()