org.eclipse.ocl.examples.pivot
Interface TypedElement

All Superinterfaces:
DomainElement, DomainNamedElement, DomainTypedElement, Element, org.eclipse.emf.ecore.EObject, Nameable, NamedElement, org.eclipse.emf.common.notify.Notifier, PivotObject, Visitable
All Known Subinterfaces:
AssociationClassCallExp, BooleanLiteralExp, CallExp, CollectionItem, CollectionLiteralExp, CollectionLiteralPart, CollectionRange, ConstructorExp, ConstructorPart, EnumLiteralExp, ExpressionInOCL, Feature, FeatureCallExp, IfExp, IntegerLiteralExp, InvalidLiteralExp, IterateExp, Iteration, IteratorExp, LetExp, LiteralExp, LoopExp, MessageExp, NavigationCallExp, NullLiteralExp, NumericLiteralExp, OCLExpression, OpaqueExpression, Operation, OperationCallExp, OppositePropertyCallExp, Parameter, PrimitiveLiteralExp, Property, PropertyCallExp, RealLiteralExp, StateExp, StringLiteralExp, TupleLiteralExp, TupleLiteralPart, TypedMultiplicityElement, TypeExp, UnlimitedNaturalLiteralExp, UnspecifiedValueExp, ValueSpecification, Variable, VariableDeclaration, VariableExp
All Known Implementing Classes:
AssociationClassCallExpImpl, BooleanLiteralExpImpl, CallExpImpl, CollectionItemImpl, CollectionLiteralExpImpl, CollectionLiteralPartImpl, CollectionRangeImpl, ConstructorExpImpl, ConstructorPartImpl, EnumLiteralExpImpl, ExpressionInOCLImpl, FeatureCallExpImpl, FeatureImpl, IfExpImpl, IntegerLiteralExpImpl, InvalidLiteralExpImpl, IterateExpImpl, IterationImpl, IteratorExpImpl, LetExpImpl, LiteralExpImpl, LoopExpImpl, MessageExpImpl, NavigationCallExpImpl, NullLiteralExpImpl, NumericLiteralExpImpl, OCLExpressionImpl, OpaqueExpressionImpl, OperationCallExpImpl, OperationImpl, OppositePropertyCallExpImpl, ParameterImpl, PrimitiveLiteralExpImpl, PropertyCallExpImpl, PropertyImpl, RealLiteralExpImpl, StateExpImpl, StringLiteralExpImpl, TupleLiteralExpImpl, TupleLiteralPartImpl, TuplePartImpl, TupleTypeManager.TuplePart, TypedElementImpl, TypedMultiplicityElementImpl, TypeExpImpl, UnlimitedNaturalLiteralExpImpl, UnspecifiedValueExpImpl, ValueSpecificationImpl, VariableDeclarationImpl, VariableExpImpl, VariableImpl

public interface TypedElement
extends NamedElement, DomainTypedElement

A representation of the model object 'Typed Element'.

See Also:
PivotPackage.getTypedElement()
Extends:
org.eclipse.ocl.examples.domain.elements.DomainTypedElement A typed element is a kind of named element that represents an element with a type.

The following features are supported:

Generated

Method Summary
 Type getType()
          Returns the value of the 'Type' reference.
 boolean isRequired()
          Returns the value of the 'Is Required' attribute.
 void setIsRequired(boolean value)
          Sets the value of the 'Is Required' attribute.
 void setType(Type value)
          Sets the value of the 'Type' reference.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
getName, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, getETarget, getExtension, getOwnedAnnotation, getOwnedComment, getValue
 
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
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainTypedElement
getTypeId
 

Method Detail

getType

Type getType()
Returns the value of the 'Type' reference. The type of the TypedElement.

Specified by:
getType in interface DomainTypedElement
Returns:
the value of the 'Type' reference.
See Also:
setType(Type), PivotPackage.getTypedElement_Type()
Generated

setType

void setType(Type value)
Sets the value of the 'Type' reference.

Parameters:
value - the new value of the 'Type' reference.
See Also:
getType()
Generated

isRequired

boolean isRequired()
Returns the value of the 'Is Required' attribute. The default value is "true".

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

Returns:
the value of the 'Is Required' attribute.
See Also:
setIsRequired(boolean), PivotPackage.getTypedElement_IsRequired()
Generated

setIsRequired

void setIsRequired(boolean value)
Sets the value of the 'Is Required' attribute.

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