org.eclipse.ocl.examples.pivot
Interface ElementExtension

All Superinterfaces:
DomainElement, DomainNamedElement, DomainNamespace, DomainType, Element, org.eclipse.emf.ecore.EObject, Nameable, NamedElement, org.eclipse.emf.common.notify.Notifier, OCLValue, ParameterableElement, PivotObject, TemplateableElement, Type, Visitable
All Known Implementing Classes:
ElementExtensionImpl

public interface ElementExtension
extends Type

A representation of the model object 'Applied Stereotype'.

The following features are supported:

See Also:
PivotPackage.getElementExtension()
Generated

Method Summary
 Element getBase()
          Returns the value of the 'Base' container reference.
 Stereotype getStereotype()
          Returns the value of the 'Stereotype' reference.
 boolean isApplied()
          Returns the value of the 'Is Applied' attribute.
 boolean isRequired()
          Returns the value of the 'Is Required' attribute.
 void setBase(Element value)
          Sets the value of the 'Base' container reference.
 void setIsApplied(boolean value)
          Sets the value of the 'Is Applied' attribute.
 void setIsRequired(boolean value)
          Sets the value of the 'Is Required' attribute.
 void setStereotype(Stereotype value)
          Sets the value of the 'Stereotype' reference.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Type
getExtendedBys, getInstanceClassName, getOwnedAttribute, getOwnedInvariant, getOwnedOperation, getPackage, getSuperClass, setInstanceClassName, setPackage, specializeIn, validateUniqueInvariantName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
getName, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TemplateableElement
getOwnedTemplateSignature, getTemplateBinding, getUnspecializedElement, isTemplate, parameterableElements, setOwnedTemplateSignature, setUnspecializedElement
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
 
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.DomainType
conformsTo, createInstance, createInstance, getCommonType, getInheritance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getName, getNormalizedType, getTypeId, getTypeParameters, isEqualTo, isEqualToUnspecializedType, isInvalid, isOrdered, isUnique, lookupImplementation, specializeIn
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainNamespace
getOwnedRule
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.OCLValue
oclEquals, oclHashCode
 

Method Detail

getStereotype

Stereotype getStereotype()
Returns the value of the 'Stereotype' reference.

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

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

setStereotype

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

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

getBase

Element getBase()
Returns the value of the 'Base' container reference. It is bidirectional and its opposite is 'Extension'.

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

Returns:
the value of the 'Base' container reference.
See Also:
setBase(Element), PivotPackage.getElementExtension_Base(), Element.getExtension()
Generated

setBase

void setBase(Element value)
Sets the value of the 'Base' container reference.

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

isApplied

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

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

Returns:
the value of the 'Is Applied' attribute.
See Also:
setIsApplied(boolean), PivotPackage.getElementExtension_IsApplied()
Generated

setIsApplied

void setIsApplied(boolean value)
Sets the value of the 'Is Applied' attribute.

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

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