org.eclipse.ocl.examples.pivot
Interface TypeExtension

All Superinterfaces:
DomainElement, Element, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, PivotObject, Visitable
All Known Implementing Classes:
TypeExtensionImpl

public interface TypeExtension
extends Element

A representation of the model object 'Type Extension'.

The following features are supported:

See Also:
PivotPackage.getTypeExtension()
Generated

Method Summary
 Stereotype getStereotype()
          Returns the value of the 'Stereotype' container reference.
 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 setStereotype(Stereotype value)
          Sets the value of the 'Stereotype' container reference.
 void setType(Type value)
          Sets the value of the 'Type' reference.
 
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
 

Method Detail

isRequired

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

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.getTypeExtension_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

getStereotype

Stereotype getStereotype()
Returns the value of the 'Stereotype' container reference. It is bidirectional and its opposite is 'Extension Ofs'.

If the meaning of the 'Stereotype' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Stereotype' container reference.
See Also:
setStereotype(Stereotype), PivotPackage.getTypeExtension_Stereotype(), Stereotype.getExtensionOfs()
Generated

setStereotype

void setStereotype(Stereotype value)
Sets the value of the 'Stereotype' container reference.

Parameters:
value - the new value of the 'Stereotype' container reference.
See Also:
getStereotype()
Generated

getType

Type getType()
Returns the value of the 'Type' reference. It is bidirectional and its opposite is 'Extended Bys'.

If the meaning of the 'Type' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Type' reference.
See Also:
setType(Type), PivotPackage.getTypeExtension_Type(), Type.getExtendedBys()
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