|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl org.eclipse.emf.ecore.impl.BasicEObjectImpl org.eclipse.emf.ecore.impl.EObjectImpl org.eclipse.ocl.examples.pivot.utilities.PivotObjectImpl org.eclipse.ocl.examples.pivot.internal.impl.ElementImpl org.eclipse.ocl.examples.pivot.internal.impl.MonikeredElementImpl org.eclipse.ocl.examples.pivot.internal.impl.NamedElementImpl org.eclipse.ocl.examples.pivot.internal.impl.NamespaceImpl org.eclipse.ocl.examples.pivot.internal.impl.PackageImpl
public class PackageImpl
An implementation of the model object 'Package'.
The following features are implemented:
Template Binding
Owned Template Signature
Unspecialized Element
Nested Package
Nesting Package
Ns Prefix
Ns URI
Owned Precedence
Owned Type
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList |
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
---|
org.eclipse.emf.common.notify.Adapter.Internal |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary | |
---|---|
protected org.eclipse.emf.common.util.EList<Package> |
nestedPackages
The cached value of the ' Nested Package ' containment reference list. |
protected static java.lang.String |
NS_PREFIX_EDEFAULT
The default value of the ' Ns Prefix ' attribute. |
protected static java.lang.String |
NS_URI_EDEFAULT
The default value of the ' Ns URI ' attribute. |
protected java.lang.String |
nsPrefix
The cached value of the ' Ns Prefix ' attribute. |
protected java.lang.String |
nsURI
The cached value of the ' Ns URI ' attribute. |
protected org.eclipse.emf.common.util.EList<Precedence> |
ownedPrecedences
The cached value of the ' Owned Precedence ' containment reference list. |
protected TemplateSignature |
ownedTemplateSignature
The cached value of the ' Owned Template Signature ' containment reference. |
protected org.eclipse.emf.common.util.EList<Type> |
ownedTypes
The cached value of the ' Owned Type ' containment reference list. |
protected org.eclipse.emf.common.util.EList<TemplateBinding> |
templateBindings
The cached value of the ' Template Binding ' containment reference list. |
protected TemplateableElement |
unspecializedElement
The cached value of the ' Unspecialized Element ' reference. |
Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.NamedElementImpl |
---|
IS_STATIC_EDEFAULT, IS_STATIC_EFLAG, name, NAME_EDEFAULT, ownedAnnotations, ownedRules |
Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.MonikeredElementImpl |
---|
MONIKER_EDEFAULT |
Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.ElementImpl |
---|
ownedComments |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
PackageImpl()
|
Method Summary | ||
---|---|---|
|
accept(Visitor<R,C> visitor)
Returns the result of accepting a visit from a visitor. |
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetNestingPackage(Package newNestingPackage,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetOwnedTemplateSignature(TemplateSignature newOwnedTemplateSignature,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
|
Package |
createNestedPackage()
|
|
Package |
createNestedPackage(org.eclipse.emf.ecore.EClass eClass)
|
|
Precedence |
createOwnedPrecedence()
|
|
TemplateSignature |
createOwnedTemplateSignature()
|
|
Type |
createOwnedType()
|
|
Type |
createOwnedType(org.eclipse.emf.ecore.EClass eClass)
|
|
TemplateBinding |
createTemplateBinding()
|
|
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
|
|
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
|
|
int |
eDerivedOperationID(int baseOperationID,
java.lang.Class<?> baseClass)
|
|
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
|
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
|
java.lang.Object |
eInvoke(int operationID,
org.eclipse.emf.common.util.EList<?> arguments)
|
|
boolean |
eIsSet(int featureID)
|
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
|
void |
eUnset(int featureID)
|
|
org.eclipse.emf.common.util.EList<Package> |
getNestedPackages()
|
|
Package |
getNestingPackage()
|
|
java.lang.String |
getNsPrefix()
|
|
java.lang.String |
getNsURI()
|
|
org.eclipse.emf.common.util.EList<Precedence> |
getOwnedPrecedences()
|
|
TemplateSignature |
getOwnedTemplateSignature()
|
|
org.eclipse.emf.common.util.EList<Type> |
getOwnedTypes()
|
|
org.eclipse.emf.common.util.EList<TemplateBinding> |
getTemplateBindings()
|
|
TemplateableElement |
getUnspecializedElement()
|
|
boolean |
isTemplate()
|
|
java.util.Iterator<Package> |
iterator()
|
|
org.eclipse.emf.common.util.EList<ParameterableElement> |
parameterableElements()
|
|
void |
setNestingPackage(Package newNestingPackage)
|
|
void |
setNsPrefix(java.lang.String newNsPrefix)
|
|
void |
setNsURI(java.lang.String newNsURI)
|
|
void |
setOwnedTemplateSignature(TemplateSignature newOwnedTemplateSignature)
|
|
void |
setUnspecializedElement(TemplateableElement newUnspecializedElement)
|
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.NamedElementImpl |
---|
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotations, getOwnedRules, isStatic, setIsStatic, setName |
Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.MonikeredElementImpl |
---|
getMoniker, hasMoniker, resetMoniker, setMoniker |
Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.ElementImpl |
---|
create, createOwnedComment, getOwnedComments |
Methods inherited from class org.eclipse.ocl.examples.pivot.utilities.PivotObjectImpl |
---|
getETarget, getTarget, isAdapterForType, notifyChanged, setTarget, unsetTarget |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement |
---|
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotations, getOwnedRules, isStatic, setIsStatic, setName |
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 |
---|
eClass |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
---|
protected org.eclipse.emf.common.util.EList<TemplateBinding> templateBindings
Template Binding
' containment reference list.
getTemplateBindings()
protected TemplateSignature ownedTemplateSignature
Owned Template Signature
' containment reference.
getOwnedTemplateSignature()
protected TemplateableElement unspecializedElement
Unspecialized Element
' reference.
getUnspecializedElement()
protected org.eclipse.emf.common.util.EList<Package> nestedPackages
Nested Package
' containment reference list.
getNestedPackages()
protected static final java.lang.String NS_PREFIX_EDEFAULT
Ns Prefix
' attribute.
getNsPrefix()
protected java.lang.String nsPrefix
Ns Prefix
' attribute.
getNsPrefix()
protected static final java.lang.String NS_URI_EDEFAULT
Ns URI
' attribute.
getNsURI()
protected java.lang.String nsURI
Ns URI
' attribute.
getNsURI()
protected org.eclipse.emf.common.util.EList<Precedence> ownedPrecedences
Owned Precedence
' containment reference list.
getOwnedPrecedences()
protected org.eclipse.emf.common.util.EList<Type> ownedTypes
Owned Type
' containment reference list.
getOwnedTypes()
Constructor Detail |
---|
protected PackageImpl()
Method Detail |
---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class NamespaceImpl
public org.eclipse.emf.common.util.EList<TemplateBinding> getTemplateBindings()
getTemplateBindings
in interface TemplateableElement
PivotPackage.getTemplateableElement_TemplateBinding()
,
TemplateBinding.getBoundElement()
public TemplateBinding createTemplateBinding()
createTemplateBinding
in interface TemplateableElement
TemplateBinding
.TemplateableElement.getTemplateBindings()
public TemplateSignature getOwnedTemplateSignature()
getOwnedTemplateSignature
in interface TemplateableElement
TemplateableElement.setOwnedTemplateSignature(TemplateSignature)
,
PivotPackage.getTemplateableElement_OwnedTemplateSignature()
,
TemplateSignature.getTemplate()
public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedTemplateSignature(TemplateSignature newOwnedTemplateSignature, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOwnedTemplateSignature(TemplateSignature newOwnedTemplateSignature)
setOwnedTemplateSignature
in interface TemplateableElement
newOwnedTemplateSignature
- the new value of the 'Owned Template Signature' containment reference.TemplateableElement.getOwnedTemplateSignature()
public TemplateSignature createOwnedTemplateSignature()
createOwnedTemplateSignature
in interface TemplateableElement
TemplateSignature
.TemplateableElement.getOwnedTemplateSignature()
public TemplateableElement getUnspecializedElement()
getUnspecializedElement
in interface TemplateableElement
TemplateableElement.setUnspecializedElement(TemplateableElement)
,
PivotPackage.getTemplateableElement_UnspecializedElement()
public void setUnspecializedElement(TemplateableElement newUnspecializedElement)
setUnspecializedElement
in interface TemplateableElement
newUnspecializedElement
- the new value of the 'Unspecialized Element' reference.TemplateableElement.getUnspecializedElement()
public java.lang.String getNsPrefix()
getNsPrefix
in interface Package
Package.setNsPrefix(String)
,
PivotPackage.getPackage_NsPrefix()
public void setNsPrefix(java.lang.String newNsPrefix)
setNsPrefix
in interface Package
newNsPrefix
- the new value of the 'Ns Prefix' attribute.Package.getNsPrefix()
public java.lang.String getNsURI()
getNsURI
in interface Package
Package.setNsURI(String)
,
PivotPackage.getPackage_NsURI()
public void setNsURI(java.lang.String newNsURI)
setNsURI
in interface Package
newNsURI
- the new value of the 'Ns URI' attribute.Package.getNsURI()
public org.eclipse.emf.common.util.EList<Precedence> getOwnedPrecedences()
getOwnedPrecedences
in interface Package
PivotPackage.getPackage_OwnedPrecedence()
public Precedence createOwnedPrecedence()
createOwnedPrecedence
in interface Package
Precedence
.Package.getOwnedPrecedences()
public org.eclipse.emf.common.util.EList<Package> getNestedPackages()
getNestedPackages
in interface Package
PivotPackage.getPackage_NestedPackage()
,
Package.getNestingPackage()
public Package createNestedPackage(org.eclipse.emf.ecore.EClass eClass)
createNestedPackage
in interface Package
eClass
- The Ecore class of the Package
to create.
Package
.Package.getNestedPackages()
public Package createNestedPackage()
createNestedPackage
in interface Package
Package
.Package.getNestedPackages()
public Package getNestingPackage()
getNestingPackage
in interface Package
Package.setNestingPackage(Package)
,
PivotPackage.getPackage_NestingPackage()
,
Package.getNestedPackages()
public org.eclipse.emf.common.notify.NotificationChain basicSetNestingPackage(Package newNestingPackage, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setNestingPackage(Package newNestingPackage)
setNestingPackage
in interface Package
newNestingPackage
- the new value of the 'Nesting Package' container reference.Package.getNestingPackage()
public org.eclipse.emf.common.util.EList<Type> getOwnedTypes()
getOwnedTypes
in interface Package
PivotPackage.getPackage_OwnedType()
,
Type.getPackage()
public Type createOwnedType(org.eclipse.emf.ecore.EClass eClass)
createOwnedType
in interface Package
eClass
- The Ecore class of the Type
to create.
Type
.Package.getOwnedTypes()
public Type createOwnedType()
createOwnedType
in interface Package
Type
.Package.getOwnedTypes()
public org.eclipse.emf.common.util.EList<ParameterableElement> parameterableElements()
parameterableElements
in interface TemplateableElement
public boolean isTemplate()
isTemplate
in interface TemplateableElement
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class NamedElementImpl
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class NamedElementImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class NamedElementImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class NamedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class NamedElementImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
eBaseStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eDerivedStructuralFeatureID
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public int eDerivedOperationID(int baseOperationID, java.lang.Class<?> baseClass)
eDerivedOperationID
in interface org.eclipse.emf.ecore.InternalEObject
eDerivedOperationID
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws java.lang.reflect.InvocationTargetException
eInvoke
in interface org.eclipse.emf.ecore.InternalEObject
eInvoke
in class MonikeredElementImpl
java.lang.reflect.InvocationTargetException
public java.lang.String toString()
toString
in class NamedElementImpl
public <R,C> R accept(Visitor<R,C> visitor)
Visitable
Implementations of visit() may use the EcoreSwitch to perform derived-class-specific processing.
Derived implementations of accept() may use getAdapter() to obtain richer visitor interfaces.
accept
in interface Visitable
accept
in class NamespaceImpl
public java.util.Iterator<Package> iterator()
iterator
in interface java.lang.Iterable<Package>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |