public class Variability extends Comment
Modifier and Type | Field and Description |
---|---|
java.lang.String |
constraint |
Constructor and Description |
---|
Variability(java.lang.String name,
java.lang.String minSelection,
java.lang.String maxSelection,
java.lang.String bindingTime,
boolean allowsAddingVar,
java.lang.String ownerClass,
java.lang.String idPackageOwner) |
Modifier and Type | Method and Description |
---|---|
void |
addVariant(Variant variant) |
boolean |
allowAddingVar() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
generateNote(VariationPoint variationPoint) |
java.lang.String |
getBindingTime() |
java.lang.String |
getConstraint() |
java.lang.String |
getId() |
java.lang.String |
getIdPackageOwner() |
java.lang.String |
getMaxSelection() |
java.lang.String |
getMinSelection() |
java.lang.String |
getOwnerClass()
Retorna a classe na qual a Variabilidade pertence.
|
java.util.List<Variant> |
getVariants() |
VariationPoint |
getVariationPoint()
Retorna o
VariationPoint para a Variability . |
int |
hashCode() |
void |
setConstraint(java.lang.String constraint) |
void |
setId(java.lang.String id) |
void |
setIdPackageOwner(java.lang.String idPackageOwner) |
void |
setVariationPoint(VariationPoint variationPoint) |
java.lang.String |
toString() |
getAllConcerns, getValue, setValue
addConcern, addConcerns, addExternalConcern, belongsToGeneralization, containsConcern, deepCopy, getArchitecture, getComments, getGlobalPosX, getGlobalPosY, getHeight, getName, getNamespace, getNumberId, getOwnConcerns, getPosX, getPosY, getStringComments, getTypeElement, getVariant, getWidth, hasComments, isFinal, isFreezeByDM, isFreezedByCluster, isMandatory, isStatic, isTotalyFreezed, isVariationPoint, removeConcern, setBelongsToGeneralization, setComments, setComments, setFinal, setFreezedByCluster, setFreezedByCluster, setFreezeFromDM, setFreezeFromDM, setFreezeFromDM, setGlobalPosX, setGlobalPosY, setHeight, setMandatory, setName, setNamespace, setPosX, setPosY, setStatic, setTypeElement, setVariant, setWidth, totalyEquals, unsetFreezeFromDM
public Variability(java.lang.String name, java.lang.String minSelection, java.lang.String maxSelection, java.lang.String bindingTime, boolean allowsAddingVar, java.lang.String ownerClass, java.lang.String idPackageOwner)
public void setId(java.lang.String id)
public java.lang.String getConstraint()
public void setConstraint(java.lang.String constraint)
public java.lang.String getIdPackageOwner()
public void setIdPackageOwner(java.lang.String idPackageOwner)
public java.lang.String getBindingTime()
public void addVariant(Variant variant)
public java.lang.String getMinSelection()
public java.lang.String getMaxSelection()
public boolean allowAddingVar()
public VariationPoint getVariationPoint()
VariationPoint
para a Variability
.getVariationPoint
in class Element
VariationPoint
public void setVariationPoint(VariationPoint variationPoint)
setVariationPoint
in class Element
variationPoint
- the variationPoint to setpublic java.lang.String generateNote(VariationPoint variationPoint)
public java.util.List<Variant> getVariants()
public java.lang.String getOwnerClass()