Class TransformationParameterInformation
- java.lang.Object
-
- org.palladiosimulator.simulizar.reconfiguration.qvto.TransformationParameterInformation
-
public final class TransformationParameterInformation extends Object
Convenience class to store required information (type, kind, index and name) about parameters of a QVTo transformation- See Also:
TransformationData
-
-
Constructor Summary
Constructors Constructor Description TransformationParameterInformation(EPackage paramType, org.eclipse.m2m.internal.qvt.oml.expressions.DirectionKind paramDirectionKind, int paramIndex, String paramName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getParameterIndex()
Gets the index of the parameter in the corresponding QVTo transformation.String
getParameterName()
Gets the name of the parameter.EPackage
getParameterType()
Gets the type of the parameter, i.e., its corresponding meta-model package.boolean
isOutParameter()
Indicates whether the parameter is marked with the 'out' keyword, i.e, has implicit return type semantics.String
toString()
-
-
-
Method Detail
-
getParameterType
public EPackage getParameterType()
Gets the type of the parameter, i.e., its corresponding meta-model package.- Returns:
- The
EPackage
which denotes the type of the transformation parameter.
-
isOutParameter
public boolean isOutParameter()
Indicates whether the parameter is marked with the 'out' keyword, i.e, has implicit return type semantics.- Returns:
true
in case the parameter is an 'out' parameter,false
otherwise.
-
getParameterIndex
public int getParameterIndex()
Gets the index of the parameter in the corresponding QVTo transformation.
Note, that the first parameter has index0
and so forth.- Returns:
- The index of the parameter, expressed by a nonnegative integer.
-
getParameterName
public String getParameterName()
Gets the name of the parameter.- Returns:
- A
String
that contains the parameter's name.
-
-