public abstract class APopulateProjectionTypes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected GeppettoModelAccess |
geppettoModelAccess |
private GeppettoLibrary |
library |
protected PopulateTypes |
populateTypes |
protected ArrayType |
postPopulationType |
protected Variable |
postPopulationVariable |
protected ArrayType |
prePopulationType |
protected Variable |
prePopulationVariable |
protected CompositeType |
projectionType |
protected ValuesFactory |
valuesFactory |
protected VariablesFactory |
variablesFactory |
Constructor and Description |
---|
APopulateProjectionTypes(PopulateTypes populateTypes,
GeppettoModelAccess access,
GeppettoLibrary library) |
Modifier and Type | Method and Description |
---|---|
private CompositeType |
createProjectionType(Component projection,
CompositeType parentCompositeType) |
private Variable |
getPopulation(CompositeType compositeType,
CompositeType projectionType,
ArrayType populationType,
Resources populationName) |
Type |
resolveProjectionImportType(Component projection,
ImportType importType) |
protected PopulateTypes populateTypes
protected ValuesFactory valuesFactory
protected VariablesFactory variablesFactory
protected GeppettoModelAccess geppettoModelAccess
protected CompositeType projectionType
protected ArrayType prePopulationType
protected Variable prePopulationVariable
protected ArrayType postPopulationType
protected Variable postPopulationVariable
private GeppettoLibrary library
public APopulateProjectionTypes(PopulateTypes populateTypes, GeppettoModelAccess access, GeppettoLibrary library)
public Type resolveProjectionImportType(Component projection, ImportType importType) throws ModelInterpreterException
projection
- importType
- parent
- ModelInterpreterException
private Variable getPopulation(CompositeType compositeType, CompositeType projectionType, ArrayType populationType, Resources populationName) throws GeppettoVisitingException
compositeType
- projectionType
- populationType
- populationName
- GeppettoVisitingException
private CompositeType createProjectionType(Component projection, CompositeType parentCompositeType)
projection
- parentCompositeType
- the parent to which we want to add the projection