public class VariationPointFlyweight
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addModel(org.eclipse.uml2.uml.Package model) |
static VariationPointFlyweight |
getInstance() |
VariationPoint |
getOrCreateVariationPoint(org.eclipse.uml2.uml.Classifier klass)
Get or create variation point
|
VariationPoint |
getVariationPoint(java.lang.String variationPointId) |
java.util.List<VariationPoint> |
getVariationPoints() |
void |
resertVariationPoints() |
void |
setArchitecture(Architecture architecture) |
void |
setVariationPoints(java.util.HashMap<java.lang.String,VariationPoint> variationPoints) |
public static VariationPointFlyweight getInstance()
public VariationPoint getOrCreateVariationPoint(org.eclipse.uml2.uml.Classifier klass) throws VariationPointElementTypeErrorException
klass
- classifierVariationPointElementTypeErrorException
- type errorpublic void setArchitecture(Architecture architecture)
architecture
- the architecture to setpublic VariationPoint getVariationPoint(java.lang.String variationPointId)
public java.util.List<VariationPoint> getVariationPoints()
public void setVariationPoints(java.util.HashMap<java.lang.String,VariationPoint> variationPoints)
public void resertVariationPoints()
public void addModel(org.eclipse.uml2.uml.Package model)