org.eclipse.ocl.examples.pivot
Interface NamedElement

All Superinterfaces:
Element, org.eclipse.emf.ecore.EObject, MonikeredElement, Nameable, 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, Constraint, DataType, Detail, Enumeration, EnumerationLiteral, EnumLiteralExp, ExpressionInOcl, Feature, FeatureCallExp, IfExp, IntegerLiteralExp, InvalidLiteralExp, InvalidType, IterateExp, Iteration, IteratorExp, LambdaType, LetExp, Library, LiteralExp, LoopExp, MessageExp, MessageType, Namespace, NavigationCallExp, NullLiteralExp, NumericLiteralExp, OclExpression, OpaqueExpression, Operation, OperationCallExp, OrderedSetType, Package, Parameter, Precedence, PrimitiveLiteralExp, PrimitiveType, Property, PropertyCallExp, RealLiteralExp, SendSignalAction, SequenceType, SetType, Signal, State, StateExp, StringLiteralExp, TemplateParameterType, TupleLiteralExp, TupleLiteralPart, TupleType, Type, TypedElement, TypedMultiplicityElement, TypeExp, 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, ConstraintImpl, DataTypeImpl, DetailImpl, EnumerationImpl, EnumerationLiteralImpl, EnumLiteralExpImpl, ExpressionInOclImpl, FeatureCallExpImpl, FeatureImpl, IfExpImpl, IntegerLiteralExpImpl, InvalidLiteralExpImpl, InvalidTypeImpl, IterateExpImpl, IterationImpl, IteratorExpImpl, LambdaTypeImpl, LetExpImpl, LibraryImpl, LiteralExpImpl, LoopExpImpl, MessageExpImpl, MessageTypeImpl, NamedElementImpl, NamespaceImpl, NavigationCallExpImpl, NullLiteralExpImpl, NumericLiteralExpImpl, OclExpressionImpl, OpaqueExpressionImpl, OperationCallExpImpl, OperationImpl, OrderedSetTypeImpl, PackageImpl, ParameterImpl, PrecedenceImpl, PrimitiveLiteralExpImpl, PrimitiveTypeImpl, PropertyCallExpImpl, PropertyImpl, RealLiteralExpImpl, SendSignalActionImpl, SequenceTypeImpl, SetTypeImpl, SignalImpl, StateExpImpl, StateImpl, StringLiteralExpImpl, TemplateParameterTypeImpl, TupleLiteralExpImpl, TupleLiteralPartImpl, TupleTypeImpl, TypedElementImpl, TypedMultiplicityElementImpl, TypeExpImpl, TypeImpl, TypeManager.TuplePart, UnlimitedNaturalLiteralExpImpl, UnspecifiedTypeImpl, UnspecifiedValueExpImpl, ValueSpecificationImpl, VariableDeclarationImpl, VariableExpImpl, VariableImpl, VoidTypeImpl

public interface NamedElement
extends MonikeredElement, Nameable

A representation of the model object 'Named Element'. A named element represents an element with a name.

The following features are supported:

See Also:
PivotPackage.getNamedElement()
Generated
Model
abstract="true" superTypes="org.eclipse.ocl.examples.pivot.MonikeredElement org.eclipse.ocl.examples.pivot.Nameable"

Method Summary
 Annotation createOwnedAnnotation()
          Creates a new Annotation and appends it to the 'Owned Annotation' containment reference list.
 Constraint createOwnedRule()
          Creates a new Constraint and appends it to the 'Owned Rule' containment reference list.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 org.eclipse.emf.common.util.EList<Annotation> getOwnedAnnotations()
          Returns the value of the 'Owned Annotation' containment reference list.
 org.eclipse.emf.common.util.EList<Constraint> getOwnedRules()
          Returns the value of the 'Owned Rule' containment reference list.
 boolean isStatic()
          Returns the value of the 'Is Static' attribute.
 void setIsStatic(boolean value)
          Sets the value of the 'Is Static' attribute.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.MonikeredElement
getMoniker, hasMoniker, setMoniker
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
createOwnedComment, getETarget, getOwnedComments
 
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

getOwnedAnnotations

org.eclipse.emf.common.util.EList<Annotation> getOwnedAnnotations()
Returns the value of the 'Owned Annotation' containment reference list. The list contents are of type Annotation.

If the meaning of the 'Owned Annotations' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Owned Annotation' containment reference list.
See Also:
PivotPackage.getNamedElement_OwnedAnnotation()
Generated
Model
containment="true"

createOwnedAnnotation

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

Returns:
The new Annotation.
See Also:
getOwnedAnnotations()
Generated

getName

java.lang.String getName()
Returns the value of the 'Name' attribute. The name of the NamedElement.

Specified by:
getName in interface Nameable
Returns:
the value of the 'Name' attribute.
See Also:
setName(String), PivotPackage.getNamedElement_Name()
Generated
Model
dataType="org.eclipse.ocl.examples.pivot.String" ordered="false"

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()
Generated

getOwnedRules

org.eclipse.emf.common.util.EList<Constraint> getOwnedRules()
Returns the value of the 'Owned Rule' containment reference list. The list contents are of type Constraint.

If the meaning of the 'Owned Rule' containment reference list isn't clear, there really should be more of a description here...

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

createOwnedRule

Constraint createOwnedRule()
Creates a new Constraint and appends it to the 'Owned Rule' containment reference list.

Returns:
The new Constraint.
See Also:
getOwnedRules()
Generated

isStatic

boolean isStatic()
Returns the value of the 'Is Static' attribute.

If the meaning of the 'Is Static' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Is Static' attribute.
See Also:
setIsStatic(boolean), PivotPackage.getNamedElement_IsStatic()
Generated
Model
dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false"

setIsStatic

void setIsStatic(boolean value)
Sets the value of the 'Is Static' attribute.

Parameters:
value - the new value of the 'Is Static' attribute.
See Also:
isStatic()
Generated