Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
id |
Constructor and Description |
---|
Element(java.lang.String name,
Variant variant,
java.lang.String typeElement,
java.lang.String namespace,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
addConcern(java.lang.String concernName)
Adiciona um interesse a classe.
|
void |
addConcerns(java.util.List<java.lang.String> concernsNames) |
void |
addExternalConcern(Concern concern) |
boolean |
belongsToGeneralization() |
boolean |
containsConcern(Concern concern) |
Element |
deepCopy() |
boolean |
equals(java.lang.Object obj) |
abstract java.util.Collection<Concern> |
getAllConcerns() |
Architecture |
getArchitecture() |
java.util.Set<Comment> |
getComments() |
java.lang.String |
getGlobalPosX() |
java.lang.String |
getGlobalPosY() |
java.lang.String |
getHeight() |
java.lang.String |
getId() |
java.lang.String |
getName() |
java.lang.String |
getNamespace() |
float |
getNumberId()
Generates Unique Integer Id according to the namespace:elementType:elementName
|
java.util.Set<Concern> |
getOwnConcerns()
Retorna apenas os interesses pertencentes a este elemento.
|
java.lang.String |
getPosX() |
java.lang.String |
getPosY() |
java.lang.String |
getStringComments() |
java.lang.String |
getTypeElement() |
Variant |
getVariant() |
VariationPoint |
getVariationPoint() |
java.lang.String |
getWidth() |
boolean |
hasComments() |
int |
hashCode() |
boolean |
isFinal() |
boolean |
isFreezeByDM() |
boolean |
isFreezedByCluster() |
boolean |
isMandatory() |
boolean |
isStatic() |
boolean |
isTotalyFreezed() |
java.lang.Boolean |
isVariationPoint() |
void |
removeConcern(java.lang.String concernName) |
void |
setBelongsToGeneralization(boolean belongsToGeneralization) |
void |
setComments(java.util.Set<Comment> comments) |
void |
setComments(java.lang.String comments) |
void |
setFinal(boolean aFinal) |
void |
setFreezedByCluster() |
void |
setFreezedByCluster(boolean freezedByCluster) |
boolean |
setFreezeFromDM() |
boolean |
setFreezeFromDM(boolean bool) |
boolean |
setFreezeFromDM(double bool) |
void |
setGlobalPosX(java.lang.String globalPosX) |
void |
setGlobalPosY(java.lang.String globalPosY) |
void |
setHeight(java.lang.String height) |
void |
setMandatory(boolean mandatory) |
void |
setName(java.lang.String name) |
void |
setNamespace(java.lang.String namespace) |
void |
setPosX(java.lang.String posX) |
void |
setPosY(java.lang.String posY) |
void |
setStatic(boolean aStatic) |
void |
setTypeElement(java.lang.String typeElement) |
void |
setVariant(Variant variant) |
void |
setVariationPoint(VariationPoint variationPoint) |
void |
setWidth(java.lang.String width) |
java.lang.String |
toString() |
boolean |
totalyEquals(Element other) |
boolean |
unsetFreezeFromDM() |
public Element(java.lang.String name, Variant variant, java.lang.String typeElement, java.lang.String namespace, java.lang.String id)
public Element deepCopy()
public java.lang.String getPosX()
public void setPosX(java.lang.String posX)
public java.lang.String getPosY()
public void setPosY(java.lang.String posY)
public java.lang.String getGlobalPosX()
public void setGlobalPosX(java.lang.String globalPosX)
public java.lang.String getGlobalPosY()
public void setGlobalPosY(java.lang.String globalPosY)
public java.lang.String getHeight()
public void setHeight(java.lang.String height)
public java.lang.String getWidth()
public void setWidth(java.lang.String width)
public boolean isMandatory()
public void setMandatory(boolean mandatory)
public boolean isStatic()
public void setStatic(boolean aStatic)
public boolean isFinal()
public void setFinal(boolean aFinal)
public abstract java.util.Collection<Concern> getAllConcerns()
public java.lang.String getId()
public float getNumberId()
public java.lang.String getTypeElement()
public void setTypeElement(java.lang.String typeElement)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.Boolean isVariationPoint()
public Variant getVariant()
public void setVariant(Variant variant)
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Set<Concern> getOwnConcerns()
public boolean containsConcern(Concern concern)
public void addConcerns(java.util.List<java.lang.String> concernsNames) throws ConcernNotFoundException
ConcernNotFoundException
public void addExternalConcern(Concern concern)
public void addConcern(java.lang.String concernName) throws ConcernNotFoundException
Somente irá incluir o interesse se o mesmo estive presente no arquivo de perfil que contêm os interesses
concernName
- ConcernNotFoundException
public void removeConcern(java.lang.String concernName)
public java.lang.String getNamespace()
public void setNamespace(java.lang.String namespace)
public Architecture getArchitecture()
public VariationPoint getVariationPoint()
public void setVariationPoint(VariationPoint variationPoint)
variationPoint
- the variationPoint to setpublic boolean belongsToGeneralization()
public void setBelongsToGeneralization(boolean belongsToGeneralization)
public boolean isFreezeByDM()
public boolean hasComments()
public boolean unsetFreezeFromDM()
public boolean setFreezeFromDM()
public boolean setFreezeFromDM(boolean bool)
public boolean setFreezeFromDM(double bool)
public boolean isFreezedByCluster()
public void setFreezedByCluster(boolean freezedByCluster)
public void setFreezedByCluster()
public boolean isTotalyFreezed()
public java.util.Set<Comment> getComments()
public java.lang.String getStringComments()
public void setComments(java.lang.String comments)
public void setComments(java.util.Set<Comment> comments)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean totalyEquals(Element other)