Class Argument
- java.lang.Object
-
- net.ssehub.easy.producer.ui.productline_editor.instantiator.Argument
-
class Argument extends java.lang.ObjectRepresents a user-specified call argument.- Author:
- Holger Eichelberger
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringargumentprivate java.lang.StringparameterTypeprivate IMetaTypetype
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArgument()Returns the current argument (expression).java.lang.StringgetParameterType()Returns the parameter type as String.IMetaTypegetType()Returns the actual type of the argument.voidsetArgument(java.lang.String argument)Changes the argument (expression).
-
-
-
Field Detail
-
type
private IMetaType type
-
parameterType
private java.lang.String parameterType
-
argument
private java.lang.String argument
-
-
Constructor Detail
-
Argument
Argument(IMetaType type)
Creates a call argument.- Parameters:
type- the type of the argument
-
-
Method Detail
-
getParameterType
public java.lang.String getParameterType()
Returns the parameter type as String.- Returns:
- the parameter type as string
-
getArgument
public java.lang.String getArgument()
Returns the current argument (expression).- Returns:
- the current argument
-
setArgument
public void setArgument(java.lang.String argument)
Changes the argument (expression).- Parameters:
argument- the new argument expression
-
getType
public IMetaType getType()
Returns the actual type of the argument.- Returns:
- the type
-
-