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, toString
getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public NotificationChain basicSetOwnedCompleteModel(CompleteModel newOwnedCompleteModel, 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 NotificationChain basicSetOwnedStandardLibrary(StandardLibrary newOwnedStandardLibrary, 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 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 Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class ElementImpl
public void eSet(int featureID, Object newValue)
eSet
in class ElementImpl
public void eUnset(int featureID)
eUnset
in class ElementImpl
public boolean eIsSet(int featureID)
eIsSet
in class ElementImpl
public <R> R accept(Visitor<R> visitor)
public void addOrphanClass(Class pivotElement)
addOrphanClass
in interface CompleteEnvironmentInternal
public boolean conformsTo(Type firstType, TemplateParameterSubstitutions firstSubstitutions, Type secondType, TemplateParameterSubstitutions secondSubstitutions)
conformsTo
in interface CompleteEnvironmentInternal
public void didAddClass(Class partialClass, CompleteClassInternal completeClass)
didAddClass
in interface CompleteEnvironmentInternal
public void didRemoveClass(Class pivotType)
didRemoveClass
in interface CompleteEnvironmentInternal
public void dispose()
dispose
in interface CompleteEnvironmentInternal
public CollectionType findCollectionType(CompleteClassInternal completeClass, CollectionTypeParameters<Type> typeParameters)
findCollectionType
in interface CompleteEnvironmentInternal
public MapType findMapType(CompleteClassInternal completeClass, MapTypeParameters<Type,Type> typeParameters)
findMapType
in interface CompleteEnvironmentInternal
public CollectionType getBagType(Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getBagType
in interface CompleteEnvironment
public CollectionType getBagType(Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironment
getBagType
in interface CompleteEnvironment
public CollectionType getCollectionType(CompleteClassInternal completeClass, CollectionTypeParameters<Type> typeParameters)
getCollectionType
in interface CompleteEnvironmentInternal
public CollectionType getCollectionType(Class containerType, Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironment
getCollectionType
in interface CompleteEnvironment
public CollectionType getCollectionType(Class containerType, Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getCollectionType
in interface CompleteEnvironment
public <T extends CollectionType> T getCollectionType(T containerType, Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
getCollectionType
in interface CompleteEnvironmentInternal
public CompleteClassInternal getCompleteClass(Type pivotType)
getCompleteClass
in interface CompleteEnvironmentInternal
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()
public EnvironmentFactoryInternal getEnvironmentFactory()
getEnvironmentFactory
in interface CompleteEnvironmentInternal
public LambdaTypeManager getLambdaManager()
public LambdaType getLambdaType(String typeName, Type contextType, List<? extends Type> parameterTypes, Type resultType, TemplateParameterSubstitutions bindings)
getLambdaType
in interface CompleteEnvironment
public MapType getMapType(CompleteClassInternal completeClass, MapTypeParameters<Type,Type> typeParameters)
getMapType
in interface CompleteEnvironmentInternal
public MapType getMapType(Class containerType, Type keyType, Type valueType)
getMapType
in interface CompleteEnvironment
public MapType getMapType(MapType containerType, Type keyType, Type valueType)
getMapType
in interface CompleteEnvironmentInternal
public Package getNestedPackage(Package domainPackage, String name)
getNestedPackage
in interface CompleteEnvironment
public Class getNestedType(Package domainPackage, String name)
getNestedType
in interface CompleteEnvironment
public CollectionType getOrderedSetType(Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironment
getOrderedSetType
in interface CompleteEnvironment
public CollectionType getOrderedSetType(Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getOrderedSetType
in interface CompleteEnvironment
public CollectionType getSequenceType(Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironment
getSequenceType
in interface CompleteEnvironment
public CollectionType getSequenceType(Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getSequenceType
in interface CompleteEnvironment
public CollectionType getSetType(Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironment
getSetType
in interface CompleteEnvironment
public CollectionType getSetType(Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getSetType
in interface CompleteEnvironment
public Type getSpecializedType(Type type, TemplateParameterSubstitutions substitutions)
getSpecializedType
in interface CompleteEnvironment
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()
public TupleTypeManager getTupleManager()
getTupleManager
in interface CompleteEnvironmentInternal
public TupleType getTupleType(String typeName, Collection<? extends TypedElement> parts, TemplateParameterSubstitutions bindings)
getTupleType
in interface CompleteEnvironment
public CompleteEnvironmentInternal init(EnvironmentFactoryInternal environmentFactory)
init
in interface CompleteEnvironmentInternal
public boolean isCodeGeneration()
isCodeGeneration
in interface CompleteEnvironmentInternal
public void setCodeGeneration(boolean isCodeGeneration)
setCodeGeneration
in interface CompleteEnvironmentInternal
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.