Class TransformationParameterInformation
java.lang.Object
org.palladiosimulator.simulizar.reconfiguration.qvto.TransformationParameterInformation
Convenience class to store required information (type, kind, index and name) about parameters of
a QVTo transformation
- See Also:
-
TransformationData
-
Constructor Summary
ConstructorDescriptionTransformationParameterInformation
(EPackage paramType, org.eclipse.m2m.internal.qvt.oml.expressions.DirectionKind paramDirectionKind, int paramIndex, String paramName) -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the index of the parameter in the corresponding QVTo transformation.Gets the name of the parameter.Gets the type of the parameter, i.e., its corresponding meta-model package.boolean
Indicates whether the parameter is marked with the 'out' keyword, i.e, has implicit return type semantics.toString()
-
Constructor Details
-
TransformationParameterInformation
-
-
Method Details
-
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
Gets the name of the parameter.- Returns:
- A
String
that contains the parameter's name.
-
toString
-