public class CompleteEnvironmentImpl extends ElementImpl implements CompleteEnvironment, CompleteEnvironmentInternal
| 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) |
NotificationChain |
basicSetOwnedCompleteModel(CompleteModel newOwnedCompleteModel,
NotificationChain msgs) |
NotificationChain |
basicSetOwnedStandardLibrary(StandardLibrary newOwnedStandardLibrary,
NotificationChain msgs) |
boolean |
conformsTo(Type firstType,
TemplateParameterSubstitutions firstSubstitutions,
Type secondType,
TemplateParameterSubstitutions secondSubstitutions) |
void |
didAddClass(Class partialClass,
CompleteClassInternal completeClass) |
void |
didRemoveClass(Class pivotType) |
void |
dispose() |
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) |
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(String typeName,
Type contextType,
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,
String name) |
Class |
getNestedType(Package domainPackage,
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(String typeName,
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, toStringgetESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloadedequals, getClass, hashCode, notify, notifyAll, wait, wait, waitallOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuepublic NotificationChain basicSetOwnedCompleteModel(CompleteModel newOwnedCompleteModel, NotificationChain msgs)
public void setOwnedCompleteModel(CompleteModel newOwnedCompleteModel)
setOwnedCompleteModel in interface CompleteEnvironmentnewOwnedCompleteModel - the new value of the 'Owned Complete Model' containment reference.CompleteEnvironment.getOwnedCompleteModel()public NotificationChain basicSetOwnedStandardLibrary(StandardLibrary newOwnedStandardLibrary, NotificationChain msgs)
public void setOwnedStandardLibrary(StandardLibrary newOwnedStandardLibrary)
setOwnedStandardLibrary in interface CompleteEnvironmentnewOwnedStandardLibrary - the new value of the 'Owned Standard Library' containment reference.CompleteEnvironment.getOwnedStandardLibrary()public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseAdd in class ElementImplpublic NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class ElementImplpublic Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in class ElementImplpublic void eSet(int featureID,
Object newValue)
eSet in class ElementImplpublic void eUnset(int featureID)
eUnset in class ElementImplpublic boolean eIsSet(int featureID)
eIsSet in class ElementImplpublic <R> R accept(Visitor<R> visitor)
public void addOrphanClass(Class pivotElement)
addOrphanClass in interface CompleteEnvironmentInternalpublic boolean conformsTo(Type firstType, TemplateParameterSubstitutions firstSubstitutions, Type secondType, TemplateParameterSubstitutions secondSubstitutions)
conformsTo in interface CompleteEnvironmentInternalpublic void didAddClass(Class partialClass, CompleteClassInternal completeClass)
didAddClass in interface CompleteEnvironmentInternalpublic void didRemoveClass(Class pivotType)
didRemoveClass in interface CompleteEnvironmentInternalpublic void dispose()
dispose in interface CompleteEnvironmentInternalpublic CollectionType findCollectionType(CompleteClassInternal completeClass, CollectionTypeParameters<Type> typeParameters)
findCollectionType in interface CompleteEnvironmentInternalpublic MapType findMapType(CompleteClassInternal completeClass, MapTypeParameters<Type,Type> typeParameters)
findMapType in interface CompleteEnvironmentInternalpublic CollectionType getBagType(Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getBagType in interface CompleteEnvironmentpublic CollectionType getBagType(Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironmentgetBagType in interface CompleteEnvironmentpublic CollectionType getCollectionType(CompleteClassInternal completeClass, CollectionTypeParameters<Type> typeParameters)
getCollectionType in interface CompleteEnvironmentInternalpublic CollectionType getCollectionType(Class containerType, Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironmentgetCollectionType in interface CompleteEnvironmentpublic CollectionType getCollectionType(Class containerType, Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getCollectionType in interface CompleteEnvironmentpublic <T extends CollectionType> T getCollectionType(T containerType, Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
getCollectionType in interface CompleteEnvironmentInternalpublic CompleteClassInternal getCompleteClass(Type pivotType)
getCompleteClass in interface CompleteEnvironmentInternalpublic CompleteModelInternal getOwnedCompleteModel()
CompleteEnvironmentOwning 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 CompleteEnvironmentgetOwnedCompleteModel in interface CompleteEnvironmentInternalCompleteEnvironment.setOwnedCompleteModel(CompleteModel),
PivotPackage.getCompleteEnvironment_OwnedCompleteModel(),
CompleteModel.getOwningCompleteEnvironment()public EnvironmentFactoryInternal getEnvironmentFactory()
getEnvironmentFactory in interface CompleteEnvironmentInternalpublic LambdaTypeManager getLambdaManager()
public LambdaType getLambdaType(String typeName, Type contextType, List<? extends Type> parameterTypes, Type resultType, TemplateParameterSubstitutions bindings)
getLambdaType in interface CompleteEnvironmentpublic MapType getMapType(CompleteClassInternal completeClass, MapTypeParameters<Type,Type> typeParameters)
getMapType in interface CompleteEnvironmentInternalpublic MapType getMapType(Class containerType, Type keyType, Type valueType)
getMapType in interface CompleteEnvironmentpublic MapType getMapType(MapType containerType, Type keyType, Type valueType)
getMapType in interface CompleteEnvironmentInternalpublic Package getNestedPackage(Package domainPackage, String name)
getNestedPackage in interface CompleteEnvironmentpublic Class getNestedType(Package domainPackage, String name)
getNestedType in interface CompleteEnvironmentpublic CollectionType getOrderedSetType(Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironmentgetOrderedSetType in interface CompleteEnvironmentpublic CollectionType getOrderedSetType(Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getOrderedSetType in interface CompleteEnvironmentpublic CollectionType getSequenceType(Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironmentgetSequenceType in interface CompleteEnvironmentpublic CollectionType getSequenceType(Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getSequenceType in interface CompleteEnvironmentpublic CollectionType getSetType(Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironmentgetSetType in interface CompleteEnvironmentpublic CollectionType getSetType(Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getSetType in interface CompleteEnvironmentpublic Type getSpecializedType(Type type, TemplateParameterSubstitutions substitutions)
getSpecializedType in interface CompleteEnvironmentpublic StandardLibraryInternal getOwnedStandardLibrary()
CompleteEnvironmentOwning 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 CompleteEnvironmentgetOwnedStandardLibrary in interface CompleteEnvironmentInternalCompleteEnvironment.setOwnedStandardLibrary(StandardLibrary),
PivotPackage.getCompleteEnvironment_OwnedStandardLibrary(),
StandardLibrary.getOwningCompleteEnvironment()public TupleTypeManager getTupleManager()
getTupleManager in interface CompleteEnvironmentInternalpublic TupleType getTupleType(String typeName, Collection<? extends TypedElement> parts, TemplateParameterSubstitutions bindings)
getTupleType in interface CompleteEnvironmentpublic CompleteEnvironmentInternal init(EnvironmentFactoryInternal environmentFactory)
init in interface CompleteEnvironmentInternalpublic boolean isCodeGeneration()
isCodeGeneration in interface CompleteEnvironmentInternalpublic void setCodeGeneration(boolean isCodeGeneration)
setCodeGeneration in interface CompleteEnvironmentInternalCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.