public class InstanceSpecificationImpl extends NamedElementImpl implements InstanceSpecification
The following features are implemented:
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(Visitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
NotificationChain |
basicSetOwnedSpecification(LanguageExpression newOwnedSpecification,
NotificationChain msgs) |
NotificationChain |
basicSetOwningPackage(Package newOwningPackage,
NotificationChain msgs) |
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
List<Class> |
getClasses() |
List<Slot> |
getOwnedSlots() |
LanguageExpression |
getOwnedSpecification() |
Package |
getOwningPackage() |
void |
setOwnedSpecification(LanguageExpression newOwnedSpecification) |
void |
setOwningPackage(Package newOwningPackage) |
getName, setName, toString
allOwnedElements, eInvoke, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, setName
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public List<Class> getClasses()
getClasses
in interface InstanceSpecification
PivotPackage.getInstanceSpecification_Classes()
public List<Slot> getOwnedSlots()
getOwnedSlots
in interface InstanceSpecification
PivotPackage.getInstanceSpecification_OwnedSlots()
,
Slot.getOwningInstance()
public LanguageExpression getOwnedSpecification()
getOwnedSpecification
in interface InstanceSpecification
InstanceSpecification.setOwnedSpecification(LanguageExpression)
,
PivotPackage.getInstanceSpecification_OwnedSpecification()
public NotificationChain basicSetOwnedSpecification(LanguageExpression newOwnedSpecification, NotificationChain msgs)
public void setOwnedSpecification(LanguageExpression newOwnedSpecification)
setOwnedSpecification
in interface InstanceSpecification
newOwnedSpecification
- the new value of the 'Owned Specification' containment reference.InstanceSpecification.getOwnedSpecification()
public Package getOwningPackage()
getOwningPackage
in interface InstanceSpecification
InstanceSpecification.setOwningPackage(org.eclipse.ocl.pivot.Package)
,
PivotPackage.getInstanceSpecification_OwningPackage()
,
Package.getOwnedInstances()
public NotificationChain basicSetOwningPackage(Package newOwningPackage, NotificationChain msgs)
public void setOwningPackage(Package newOwningPackage)
setOwningPackage
in interface InstanceSpecification
newOwningPackage
- the new value of the 'Owning Package' container reference.InstanceSpecification.getOwningPackage()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class ElementImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ElementImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class NamedElementImpl
public void eSet(int featureID, Object newValue)
eSet
in class NamedElementImpl
public void eUnset(int featureID)
eUnset
in class NamedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in class NamedElementImpl
public <R> R accept(Visitor<R> visitor)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.