public class CompleteModelImpl extends NamedElementImpl implements CompleteModel, CompleteModelInternal
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
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
Modifier and Type | Field and Description |
---|---|
protected EnvironmentFactoryInternal |
environmentFactory |
protected OrphanCompletePackage |
orphanCompletePackage
The cached value of the '
Orphan Complete Package ' reference. |
protected RootCompletePackages |
ownedCompletePackages
The cached value of the '
Owned Complete Packages ' containment reference list. |
protected PartialModels |
partialModels
The cached value of the '
Partial Roots ' reference list. |
protected PrimitiveCompletePackage |
primitiveCompletePackage
The cached value of the '
Primitive Complete Package ' reference. |
name, NAME_EDEFAULT
annotatingComments, ownedAnnotations, ownedComments, ownedExtensions
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
CompleteModelImpl() |
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.
|
void |
addPackageURI2completeURI(java.lang.String packageURI,
java.lang.String newCompleteURI)
Partial models such as the OCL Standard Library have their own distinct package URI.
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetOwningCompleteEnvironment(CompleteEnvironment newOwningCompleteEnvironment,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
conformsTo(Type firstType,
TemplateParameterSubstitutions firstSubstitutions,
Type secondType,
TemplateParameterSubstitutions secondSubstitutions) |
void |
didAddClass(Class partialClass,
CompleteClassInternal completeClass) |
void |
didAddCompletePackage(CompletePackageInternal completePackage) |
void |
didAddNestedPackage(Package pivotPackage) |
void |
didAddPartialModel(Model partialModel) |
void |
didRemoveClass(Class pivotType) |
void |
didRemoveCompletePackage(CompletePackageInternal completePackage) |
void |
didRemoveNestedPackage(Package pivotPackage) |
void |
didRemovePartialModel(Model partialModel) |
void |
dispose() |
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) |
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) |
CollectionType |
findCollectionType(CompleteClassInternal completeClass,
CollectionTypeParameters<Type> typeParameters) |
MapType |
findMapType(CompleteClassInternal completeClass,
MapTypeParameters<Type,Type> typeParameters) |
java.lang.Iterable<CompletePackageInternal> |
getAllCompletePackages() |
java.lang.Iterable<? extends CompletePackage> |
getAllCompletePackagesWithUris() |
CollectionType |
getCollectionType(CompleteClassInternal completeClass,
CollectionTypeParameters<Type> typeParameters) |
CollectionType |
getCollectionType(CompleteClassInternal completeClass,
Type elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper) |
CompleteClassInternal |
getCompleteClass(Type pivotType) |
CompleteEnvironmentInternal |
getCompleteEnvironment() |
CompletePackageInternal |
getCompletePackage(Package asPackage) |
CompletePackageInternal |
getCompletePackageByURI(java.lang.String packageURI) |
java.lang.String |
getCompleteURI(java.lang.String packageURI) |
CompleteURIs |
getCompleteURIs() |
EnvironmentFactoryInternal |
getEnvironmentFactory() |
LambdaType |
getLambdaType(java.lang.String typeName,
Type contextType,
java.util.List<? extends Type> parameterTypes,
Type resultType) |
LambdaType |
getLambdaType(java.lang.String typeName,
Type contextType,
java.util.List<? extends Type> parameterTypes,
Type resultType,
TemplateParameterSubstitutions bindings) |
MapType |
getMapType(CompleteClassInternal completeClass,
MapTypeParameters<Type,Type> typeParameters) |
CompletePackage |
getMemberPackage(java.lang.String memberPackageName) |
java.lang.Iterable<? extends CompletePackage> |
getMemberPackages() |
PivotMetamodelManager |
getMetamodelManager() |
Orphanage |
getOrphanage() |
OrphanCompletePackageImpl |
getOrphanCompletePackage()
Returns the value of the 'Orphan Complete Package' reference.
|
CompletePackage |
getOwnedCompletePackage(java.lang.String completeURIorName) |
java.util.List<CompletePackage> |
getOwnedCompletePackages() |
CompleteEnvironment |
getOwningCompleteEnvironment() |
PartialModels |
getPartialModels() |
PrimitiveCompletePackageImpl |
getPrimitiveCompletePackage()
Returns the value of the 'Primitive Complete Package' reference.
|
Package |
getRootPackage(java.lang.String completeURIorName) |
Type |
getSpecializedType(Type type,
TemplateParameterSubstitutions substitutions) |
StandardLibraryInternal |
getStandardLibrary() |
TupleTypeManager |
getTupleManager() |
TupleType |
getTupleType(java.lang.String typeName,
java.util.Collection<? extends TypedElement> parts,
TemplateParameterSubstitutions bindings) |
CompleteModelInternal |
init(CompleteEnvironmentInternal completeEnvironment) |
void |
resolveSuperClasses(Class specializedClass,
Class unspecializedClass) |
void |
setOwningCompleteEnvironment(CompleteEnvironment newOwningCompleteEnvironment) |
getName, setName, toString
allOwnedElements, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
eBasicSetContainer, getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
eAdapters, eBasicAdapters, eBasicProperties, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, 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
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, setName
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected OrphanCompletePackage orphanCompletePackage
Orphan Complete Package
' reference.
getOrphanCompletePackage()
protected RootCompletePackages ownedCompletePackages
Owned Complete Packages
' containment reference list.protected PartialModels partialModels
Partial Roots
' reference list.protected PrimitiveCompletePackage primitiveCompletePackage
Primitive Complete Package
' reference.
getPrimitiveCompletePackage()
protected EnvironmentFactoryInternal environmentFactory
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class NamedElementImpl
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 ElementImpl
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 ElementImpl
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 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 ElementImpl
java.lang.reflect.InvocationTargetException
public <R> R accept(@NonNull Visitor<R> visitor)
Element
public void addPackageURI2completeURI(@NonNull java.lang.String packageURI, @NonNull java.lang.String newCompleteURI)
addPackageURI2completeURI
in interface CompleteModel
public boolean conformsTo(@NonNull Type firstType, @NonNull TemplateParameterSubstitutions firstSubstitutions, @NonNull Type secondType, @NonNull TemplateParameterSubstitutions secondSubstitutions)
conformsTo
in interface CompleteModel
public void didAddClass(Class partialClass, @NonNull CompleteClassInternal completeClass)
didAddClass
in interface CompleteModelInternal
public void didAddCompletePackage(@NonNull CompletePackageInternal completePackage)
didAddCompletePackage
in interface CompleteModelInternal
public void didAddNestedPackage(Package pivotPackage)
didAddNestedPackage
in interface CompleteModelInternal
public void didAddPartialModel(@NonNull Model partialModel)
didAddPartialModel
in interface CompleteModelInternal
public void didRemoveClass(Class pivotType)
didRemoveClass
in interface CompleteModelInternal
public void didRemoveCompletePackage(@NonNull CompletePackageInternal completePackage)
didRemoveCompletePackage
in interface CompleteModelInternal
public void didRemoveNestedPackage(Package pivotPackage)
didRemoveNestedPackage
in interface CompleteModelInternal
public void didRemovePartialModel(@NonNull Model partialModel)
didRemovePartialModel
in interface CompleteModelInternal
public void dispose()
dispose
in interface CompleteModelInternal
@Nullable public CollectionType findCollectionType(@NonNull CompleteClassInternal completeClass, @NonNull CollectionTypeParameters<Type> typeParameters)
findCollectionType
in interface CompleteModelInternal
@Nullable public MapType findMapType(@NonNull CompleteClassInternal completeClass, @NonNull MapTypeParameters<Type,Type> typeParameters)
findMapType
in interface CompleteModelInternal
@NonNull public java.lang.Iterable<CompletePackageInternal> getAllCompletePackages()
getAllCompletePackages
in interface CompleteModel
getAllCompletePackages
in interface CompleteModelInternal
@NonNull public java.lang.Iterable<? extends CompletePackage> getAllCompletePackagesWithUris()
getAllCompletePackagesWithUris
in interface CompleteModel
@NonNull public CollectionType getCollectionType(@NonNull CompleteClassInternal completeClass, @NonNull CollectionTypeParameters<Type> typeParameters)
getCollectionType
in interface CompleteModelInternal
@NonNull public CollectionType getCollectionType(@NonNull CompleteClassInternal completeClass, @NonNull Type elementType, boolean isNullFree, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
@NonNull public CompleteClassInternal getCompleteClass(@NonNull Type pivotType)
getCompleteClass
in interface CompleteModel
getCompleteClass
in interface CompleteModelInternal
@NonNull public CompleteEnvironmentInternal getCompleteEnvironment()
getCompleteEnvironment
in interface CompleteModel
getCompleteEnvironment
in interface CompleteModelInternal
@NonNull public CompletePackageInternal getCompletePackage(Package asPackage)
getCompletePackage
in interface CompleteModel
getCompletePackage
in interface CompleteModelInternal
@Nullable public CompletePackageInternal getCompletePackageByURI(@NonNull java.lang.String packageURI)
getCompletePackageByURI
in interface CompleteModel
getCompletePackageByURI
in interface CompleteModelInternal
@Nullable public java.lang.String getCompleteURI(@Nullable java.lang.String packageURI)
getCompleteURI
in interface CompleteModelInternal
@NonNull public CompleteURIs getCompleteURIs()
getCompleteURIs
in interface CompleteModelInternal
@NonNull public LambdaType getLambdaType(@NonNull java.lang.String typeName, @NonNull Type contextType, @NonNull java.util.List<? extends Type> parameterTypes, @NonNull Type resultType)
getLambdaType
in interface CompleteModel
@NonNull public LambdaType getLambdaType(@NonNull java.lang.String typeName, @NonNull Type contextType, @NonNull java.util.List<? extends Type> parameterTypes, @NonNull Type resultType, @Nullable TemplateParameterSubstitutions bindings)
getLambdaType
in interface CompleteModelInternal
@NonNull public MapType getMapType(@NonNull CompleteClassInternal completeClass, @NonNull MapTypeParameters<Type,Type> typeParameters)
getMapType
in interface CompleteModelInternal
@Nullable public CompletePackage getMemberPackage(@NonNull java.lang.String memberPackageName)
@NonNull public java.lang.Iterable<? extends CompletePackage> getMemberPackages()
@NonNull public PivotMetamodelManager getMetamodelManager()
getMetamodelManager
in interface CompleteModelInternal
@NonNull public OrphanCompletePackageImpl getOrphanCompletePackage()
CompleteModel
If the meaning of the 'Orphan Complete Package' reference isn't clear, there really should be more of a description here...
getOrphanCompletePackage
in interface CompleteModel
getOrphanCompletePackage
in interface CompleteModelInternal
PivotPackage.getCompleteModel_OrphanCompletePackage()
@NonNull public Orphanage getOrphanage()
getOrphanage
in interface CompleteModelInternal
@NonNull public java.util.List<CompletePackage> getOwnedCompletePackages()
getOwnedCompletePackages
in interface CompleteModel
PivotPackage.getCompleteModel_OwnedCompletePackages()
,
CompletePackage.getOwningCompleteModel()
public CompleteEnvironment getOwningCompleteEnvironment()
getOwningCompleteEnvironment
in interface CompleteModel
CompleteModel.setOwningCompleteEnvironment(CompleteEnvironment)
,
PivotPackage.getCompleteModel_OwningCompleteEnvironment()
,
CompleteEnvironment.getOwnedCompleteModel()
public org.eclipse.emf.common.notify.NotificationChain basicSetOwningCompleteEnvironment(CompleteEnvironment newOwningCompleteEnvironment, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOwningCompleteEnvironment(CompleteEnvironment newOwningCompleteEnvironment)
setOwningCompleteEnvironment
in interface CompleteModel
newOwningCompleteEnvironment
- the new value of the 'Owning Complete Environment' container reference.CompleteModel.getOwningCompleteEnvironment()
@NonNull public EnvironmentFactoryInternal getEnvironmentFactory()
getEnvironmentFactory
in interface CompleteModelInternal
@NonNull public PartialModels getPartialModels()
getPartialModels
in interface CompleteModel
getPartialModels
in interface CompleteModelInternal
PivotPackage.getCompleteModel_PartialModels()
@NonNull public PrimitiveCompletePackageImpl getPrimitiveCompletePackage()
CompleteModel
If the meaning of the 'Primitive Complete Package' reference isn't clear, there really should be more of a description here...
getPrimitiveCompletePackage
in interface CompleteModel
getPrimitiveCompletePackage
in interface CompleteModelInternal
PivotPackage.getCompleteModel_PrimitiveCompletePackage()
@Nullable public CompletePackage getOwnedCompletePackage(@Nullable java.lang.String completeURIorName)
getOwnedCompletePackage
in interface CompleteModel
public Package getRootPackage(@NonNull java.lang.String completeURIorName)
getRootPackage
in interface CompleteModel
@NonNull public Type getSpecializedType(@NonNull Type type, @Nullable TemplateParameterSubstitutions substitutions)
getSpecializedType
in interface CompleteModelInternal
@NonNull public StandardLibraryInternal getStandardLibrary()
getStandardLibrary
in interface CompleteModelInternal
@NonNull public TupleTypeManager getTupleManager()
getTupleManager
in interface CompleteModelInternal
@NonNull public TupleType getTupleType(@NonNull java.lang.String typeName, @NonNull java.util.Collection<? extends TypedElement> parts, @Nullable TemplateParameterSubstitutions bindings)
getTupleType
in interface CompleteModelInternal
@NonNull public CompleteModelInternal init(@NonNull CompleteEnvironmentInternal completeEnvironment)
init
in interface CompleteModelInternal
public void resolveSuperClasses(Class specializedClass, Class unspecializedClass)
resolveSuperClasses
in interface CompleteModelInternal