public class VariantFlyweight extends XmiHelper
Modifier and Type | Method and Description |
---|---|
static VariantFlyweight |
getInstance() |
Variant |
getOrCreateVariant(org.eclipse.uml2.uml.Classifier classifier)
Get or create variant
|
Variant |
getVariant(java.lang.String name) |
java.util.List<Variant> |
getVariants() |
void |
resetVariants() |
void |
setArchitecture(Architecture architecture) |
void |
setVariants(java.util.HashMap<java.lang.String,Variant> variants) |
findByID, findByIDInNotationFile, findIdByName, findTypeById, getHeightForPackage, getIdForNode, getOnlyIdOfXmiAttribute, getOriginalNotation, getWidhtForPackage, getXmiId, getXValueForElement, getYValueForElement, isClassAbstract, randomNum, removeNode, setNotationOriginalFile, setRecursiveOwnedComments, splitVariants
public static VariantFlyweight getInstance()
public Variant getOrCreateVariant(org.eclipse.uml2.uml.Classifier classifier)
classifier
- classifierpublic Variant getVariant(java.lang.String name)
public java.util.List<Variant> getVariants()
public void setVariants(java.util.HashMap<java.lang.String,Variant> variants)
public void setArchitecture(Architecture architecture)
public void resetVariants()