public class CompleteEnvironmentImpl extends ElementImpl implements CompleteEnvironment, CompleteEnvironmentInternal
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 java.util.Map<Class,CompleteClassInternal> |
class2completeClass |
protected EnvironmentFactoryInternal |
environmentFactory |
protected CompleteModelInternal |
ownedCompleteModel |
protected StandardLibraryInternal |
ownedStandardLibrary |
annotatingComments, ownedAnnotations, ownedComments, ownedExtensions
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
CompleteEnvironmentImpl() |
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 |
addOrphanClass(Class pivotElement) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetOwnedCompleteModel(CompleteModel newOwnedCompleteModel,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetOwnedStandardLibrary(StandardLibrary newOwnedStandardLibrary,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
conformsTo(Type firstType,
TemplateParameterSubstitutions firstSubstitutions,
Type secondType,
TemplateParameterSubstitutions secondSubstitutions) |
protected boolean |
conformsToCollectionType(CollectionType firstType,
TemplateParameterSubstitutions firstSubstitutions,
CollectionType secondType,
TemplateParameterSubstitutions secondSubstitutions) |
protected boolean |
conformsToLambdaType(LambdaType actualType,
TemplateParameterSubstitutions actualSubstitutions,
LambdaType requiredType,
TemplateParameterSubstitutions requiredSubstitutions) |
protected boolean |
conformsToMapType(MapType firstType,
TemplateParameterSubstitutions firstSubstitutions,
MapType secondType,
TemplateParameterSubstitutions secondSubstitutions) |
protected boolean |
conformsToTupleType(TupleType actualType,
TemplateParameterSubstitutions actualSubstitutions,
TupleType requiredType,
TemplateParameterSubstitutions requiredSubstitutions) |
void |
didAddClass(Class partialClass,
CompleteClassInternal completeClass) |
void |
didRemoveClass(Class pivotType) |
void |
dispose() |
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) |
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) |
CollectionType |
getBagType(Type elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper)
Return the instance of the Bag metatype whose elements are of elementType.
|
CollectionType |
getBagType(Type elementType,
IntegerValue lower,
UnlimitedNaturalValue upper) |
CollectionType |
getCollectionType(Class containerType,
Type elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper)
Return the specialized collection type for the containerType for elementType.
|
CollectionType |
getCollectionType(Class containerType,
Type elementType,
IntegerValue lower,
UnlimitedNaturalValue upper) |
CollectionType |
getCollectionType(CompleteClassInternal completeClass,
CollectionTypeParameters<Type> typeParameters) |
<T extends CollectionType> |
getCollectionType(T containerType,
Type elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper) |
CompleteClassInternal |
getCompleteClass(Type pivotType) |
EnvironmentFactoryInternal |
getEnvironmentFactory() |
LambdaTypeManager |
getLambdaManager() |
LambdaType |
getLambdaType(java.lang.String typeName,
Type contextType,
java.util.List<? extends Type> parameterTypes,
Type resultType,
TemplateParameterSubstitutions bindings) |
MapType |
getMapType(Class containerType,
Type keyType,
Type valueType) |
MapType |
getMapType(CompleteClassInternal completeClass,
MapTypeParameters<Type,Type> typeParameters) |
MapType |
getMapType(MapType containerType,
Type keyType,
Type valueType) |
Package |
getNestedPackage(Package domainPackage,
java.lang.String name) |
Class |
getNestedType(Package domainPackage,
java.lang.String name) |
CollectionType |
getOrderedSetType(Type elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper)
Return the instance of the OrderedSet metatype whose elements are of elementType.
|
CollectionType |
getOrderedSetType(Type elementType,
IntegerValue lower,
UnlimitedNaturalValue upper) |
CompleteModelInternal |
getOwnedCompleteModel()
Returns the value of the 'Owned Complete Model' containment reference.
|
StandardLibraryInternal |
getOwnedStandardLibrary()
Returns the value of the 'Owned Standard Library' containment reference.
|
CollectionType |
getSequenceType(Type elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper)
Return the instance of the Sequence metatype whose elements are of elementType.
|
CollectionType |
getSequenceType(Type elementType,
IntegerValue lower,
UnlimitedNaturalValue upper) |
CollectionType |
getSetType(Type elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper)
Return the instance of the Set metatype whose elements are of elementType.
|
CollectionType |
getSetType(Type elementType,
IntegerValue lower,
UnlimitedNaturalValue upper) |
Type |
getSpecializedType(Type type,
TemplateParameterSubstitutions substitutions) |
TupleTypeManager |
getTupleManager() |
TupleType |
getTupleType(java.lang.String typeName,
java.util.Collection<? extends TypedElement> parts,
TemplateParameterSubstitutions bindings) |
CompleteEnvironmentInternal |
init(EnvironmentFactoryInternal environmentFactory) |
boolean |
isCodeGeneration() |
void |
setCodeGeneration(boolean isCodeGeneration) |
void |
setOwnedCompleteModel(CompleteModel newOwnedCompleteModel) |
void |
setOwnedStandardLibrary(StandardLibrary newOwnedStandardLibrary) |
allOwnedElements, eInvoke, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue, toString
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, eBasicRemoveFromContainerFeature, 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
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected EnvironmentFactoryInternal environmentFactory
protected CompleteModelInternal ownedCompleteModel
protected StandardLibraryInternal ownedStandardLibrary
@NonNull protected final java.util.Map<Class,CompleteClassInternal> class2completeClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class ElementImpl
public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedCompleteModel(CompleteModel newOwnedCompleteModel, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOwnedCompleteModel(CompleteModel newOwnedCompleteModel)
setOwnedCompleteModel
in interface CompleteEnvironment
newOwnedCompleteModel
- the new value of the 'Owned Complete Model' containment reference.CompleteEnvironment.getOwnedCompleteModel()
public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedStandardLibrary(StandardLibrary newOwnedStandardLibrary, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOwnedStandardLibrary(StandardLibrary newOwnedStandardLibrary)
setOwnedStandardLibrary
in interface CompleteEnvironment
newOwnedStandardLibrary
- the new value of the 'Owned Standard Library' containment reference.CompleteEnvironment.getOwnedStandardLibrary()
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 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class ElementImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class ElementImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class ElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class ElementImpl
public <R> R accept(@NonNull Visitor<R> visitor)
public void addOrphanClass(Class pivotElement)
addOrphanClass
in interface CompleteEnvironmentInternal
public boolean conformsTo(@NonNull Type firstType, @NonNull TemplateParameterSubstitutions firstSubstitutions, @NonNull Type secondType, @NonNull TemplateParameterSubstitutions secondSubstitutions)
conformsTo
in interface CompleteEnvironmentInternal
protected boolean conformsToCollectionType(@NonNull CollectionType firstType, @NonNull TemplateParameterSubstitutions firstSubstitutions, @NonNull CollectionType secondType, @NonNull TemplateParameterSubstitutions secondSubstitutions)
protected boolean conformsToLambdaType(@NonNull LambdaType actualType, @NonNull TemplateParameterSubstitutions actualSubstitutions, @NonNull LambdaType requiredType, @NonNull TemplateParameterSubstitutions requiredSubstitutions)
protected boolean conformsToMapType(@NonNull MapType firstType, @NonNull TemplateParameterSubstitutions firstSubstitutions, @NonNull MapType secondType, @NonNull TemplateParameterSubstitutions secondSubstitutions)
protected boolean conformsToTupleType(@NonNull TupleType actualType, @NonNull TemplateParameterSubstitutions actualSubstitutions, @NonNull TupleType requiredType, @NonNull TemplateParameterSubstitutions requiredSubstitutions)
public void didAddClass(Class partialClass, @NonNull CompleteClassInternal completeClass)
didAddClass
in interface CompleteEnvironmentInternal
public void didRemoveClass(Class pivotType)
didRemoveClass
in interface CompleteEnvironmentInternal
public void dispose()
dispose
in interface CompleteEnvironmentInternal
@Nullable public CollectionType findCollectionType(@NonNull CompleteClassInternal completeClass, @NonNull CollectionTypeParameters<Type> typeParameters)
findCollectionType
in interface CompleteEnvironmentInternal
@Nullable public MapType findMapType(@NonNull CompleteClassInternal completeClass, @NonNull MapTypeParameters<Type,Type> typeParameters)
findMapType
in interface CompleteEnvironmentInternal
@NonNull public CollectionType getBagType(@NonNull Type elementType, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
getBagType
in interface CompleteEnvironment
@NonNull public CollectionType getBagType(@NonNull Type elementType, boolean isNullFree, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
CompleteEnvironment
getBagType
in interface CompleteEnvironment
@NonNull public CollectionType getCollectionType(@NonNull CompleteClassInternal completeClass, @NonNull CollectionTypeParameters<Type> typeParameters)
getCollectionType
in interface CompleteEnvironmentInternal
@NonNull public CollectionType getCollectionType(Class containerType, @NonNull Type elementType, boolean isNullFree, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
CompleteEnvironment
getCollectionType
in interface CompleteEnvironment
@NonNull public CollectionType getCollectionType(Class containerType, @NonNull Type elementType, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
getCollectionType
in interface CompleteEnvironment
@NonNull public <T extends CollectionType> T getCollectionType(@NonNull T containerType, @NonNull Type elementType, boolean isNullFree, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
getCollectionType
in interface CompleteEnvironmentInternal
@NonNull public CompleteClassInternal getCompleteClass(@NonNull Type pivotType)
getCompleteClass
in interface CompleteEnvironmentInternal
@NonNull public CompleteModelInternal getOwnedCompleteModel()
CompleteEnvironment
Owning Complete Environment
'.
If the meaning of the 'Owned Complete Model' containment reference isn't clear, there really should be more of a description here...
getOwnedCompleteModel
in interface CompleteEnvironment
getOwnedCompleteModel
in interface CompleteEnvironmentInternal
CompleteEnvironment.setOwnedCompleteModel(CompleteModel)
,
PivotPackage.getCompleteEnvironment_OwnedCompleteModel()
,
CompleteModel.getOwningCompleteEnvironment()
@NonNull public EnvironmentFactoryInternal getEnvironmentFactory()
getEnvironmentFactory
in interface CompleteEnvironmentInternal
@NonNull public LambdaTypeManager getLambdaManager()
@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 CompleteEnvironment
@NonNull public MapType getMapType(@NonNull CompleteClassInternal completeClass, @NonNull MapTypeParameters<Type,Type> typeParameters)
getMapType
in interface CompleteEnvironmentInternal
@NonNull public MapType getMapType(Class containerType, @NonNull Type keyType, @NonNull Type valueType)
getMapType
in interface CompleteEnvironment
@NonNull public MapType getMapType(@NonNull MapType containerType, @NonNull Type keyType, @NonNull Type valueType)
getMapType
in interface CompleteEnvironmentInternal
public Package getNestedPackage(Package domainPackage, @NonNull java.lang.String name)
getNestedPackage
in interface CompleteEnvironment
public Class getNestedType(Package domainPackage, @NonNull java.lang.String name)
getNestedType
in interface CompleteEnvironment
@NonNull public CollectionType getOrderedSetType(@NonNull Type elementType, boolean isNullFree, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
CompleteEnvironment
getOrderedSetType
in interface CompleteEnvironment
@NonNull public CollectionType getOrderedSetType(@NonNull Type elementType, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
getOrderedSetType
in interface CompleteEnvironment
@NonNull public CollectionType getSequenceType(@NonNull Type elementType, boolean isNullFree, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
CompleteEnvironment
getSequenceType
in interface CompleteEnvironment
@NonNull public CollectionType getSequenceType(@NonNull Type elementType, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
getSequenceType
in interface CompleteEnvironment
@NonNull public CollectionType getSetType(@NonNull Type elementType, boolean isNullFree, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
CompleteEnvironment
getSetType
in interface CompleteEnvironment
@NonNull public CollectionType getSetType(@NonNull Type elementType, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
getSetType
in interface CompleteEnvironment
@NonNull public Type getSpecializedType(@NonNull Type type, @Nullable TemplateParameterSubstitutions substitutions)
getSpecializedType
in interface CompleteEnvironment
@NonNull public StandardLibraryInternal getOwnedStandardLibrary()
CompleteEnvironment
Owning Complete Environment
'.
If the meaning of the 'Owned Standard Library' containment reference isn't clear, there really should be more of a description here...
getOwnedStandardLibrary
in interface CompleteEnvironment
getOwnedStandardLibrary
in interface CompleteEnvironmentInternal
CompleteEnvironment.setOwnedStandardLibrary(StandardLibrary)
,
PivotPackage.getCompleteEnvironment_OwnedStandardLibrary()
,
StandardLibrary.getOwningCompleteEnvironment()
@NonNull public TupleTypeManager getTupleManager()
getTupleManager
in interface CompleteEnvironmentInternal
@NonNull public TupleType getTupleType(@NonNull java.lang.String typeName, @NonNull java.util.Collection<? extends TypedElement> parts, @Nullable TemplateParameterSubstitutions bindings)
getTupleType
in interface CompleteEnvironment
@NonNull public CompleteEnvironmentInternal init(@NonNull EnvironmentFactoryInternal environmentFactory)
init
in interface CompleteEnvironmentInternal
public boolean isCodeGeneration()
isCodeGeneration
in interface CompleteEnvironmentInternal
public void setCodeGeneration(boolean isCodeGeneration)
setCodeGeneration
in interface CompleteEnvironmentInternal