public class Method extends Element
Constructor and Description |
---|
Method(java.lang.String name,
java.lang.Boolean isVariationPoint,
VariantType variantType,
java.lang.String returnType,
boolean isAbstract,
java.util.List<ParameterMethod> paramsMethod,
java.lang.String namespace,
java.lang.String id) |
Method(java.lang.String name,
java.lang.String type,
java.lang.String className,
boolean isAbstract,
java.lang.String id) |
Method(java.lang.String name,
Variant variantType,
java.lang.String returnType,
boolean isAbstract,
java.util.List<ParameterMethod> paramsMethod,
java.lang.String namespace,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Collection<Concern> |
getAllConcerns() |
java.util.List<ParameterMethod> |
getParameters() |
java.lang.String |
getReturnType() |
java.lang.String |
getVisibility() |
boolean |
isAbstract() |
boolean |
isConstructor() |
void |
setAbstract(boolean isAbstract) |
void |
setConstructor(boolean constructor) |
void |
setVisibility(java.lang.String visibility) |
addConcern, addConcerns, addExternalConcern, belongsToGeneralization, containsConcern, deepCopy, getArchitecture, getComments, getGlobalPosX, getGlobalPosY, getHeight, getId, getName, getNamespace, getNumberId, getOwnConcerns, getPosX, getPosY, getStringComments, getTypeElement, getVariant, getVariationPoint, getWidth, hasComments, hashCode, 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, setVariationPoint, setWidth, toString, totalyEquals, unsetFreezeFromDM
public Method(java.lang.String name, Variant variantType, java.lang.String returnType, boolean isAbstract, java.util.List<ParameterMethod> paramsMethod, java.lang.String namespace, java.lang.String id)
public Method(java.lang.String name, java.lang.Boolean isVariationPoint, VariantType variantType, java.lang.String returnType, boolean isAbstract, java.util.List<ParameterMethod> paramsMethod, java.lang.String namespace, java.lang.String id)
public Method(java.lang.String name, java.lang.String type, java.lang.String className, boolean isAbstract, java.lang.String id)
public boolean isConstructor()
public void setConstructor(boolean constructor)
public java.lang.String getVisibility()
public void setVisibility(java.lang.String visibility)
public boolean isAbstract()
public void setAbstract(boolean isAbstract)
public java.lang.String getReturnType()
public java.util.List<ParameterMethod> getParameters()
public java.util.Collection<Concern> getAllConcerns()
getAllConcerns
in class Element