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 intgetParameterIndex()Gets the index of the parameter in the corresponding QVTo transformation.StringgetParameterName()Gets the name of the parameter.EPackagegetParameterType()Gets the type of the parameter, i.e., its corresponding meta-model package.booleanisOutParameter()Indicates whether the parameter is marked with the 'out' keyword, i.e, has implicit return type semantics.StringtoString()
-
-
-
Method Detail
-
getParameterType
public EPackage getParameterType()
Gets the type of the parameter, i.e., its corresponding meta-model package.- Returns:
- The
EPackagewhich 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:
truein case the parameter is an 'out' parameter,falseotherwise.
-
getParameterIndex
public int getParameterIndex()
Gets the index of the parameter in the corresponding QVTo transformation.
Note, that the first parameter has index0and 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
Stringthat contains the parameter's name.
-
-