Class Helper
java.lang.Object
de.uka.ipd.sdq.pcm.transformations.Helper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.palladiosimulator.pcm.seff.ResourceDemandingSEFF
getRdseff
(org.palladiosimulator.pcm.seff.AbstractAction action) static String
getResourceDescription
(EObject eObject) static String
getResourceFileName
(org.palladiosimulator.analyzer.quality.qualityannotation.CharacterisedPCMParameterPartition eObject) static String
getResourceFileName
(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF eObject) static String
getResourceURI
(EObject eObject) static String
static String
toEmptyString
(Object... o) Returns an empty string for arbitrary input.
-
Constructor Details
-
Helper
public Helper()
-
-
Method Details
-
toEmptyString
Returns an empty string for arbitrary input. Since Xtend outputs all return of methods in rich strings this can be used to suppress any output.- Parameters:
o
- will not be used- Returns:
- ""
-
removeAllSpecialChars
-
getResourceURI
- Parameters:
eObject
- The object.- Returns:
- The URI String of the given object.
-
getResourceDescription
- Parameters:
eObject
- The object.- Returns:
- The measuring point description of the given object.
-
getResourceFileName
public static String getResourceFileName(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF eObject) - Parameters:
eObject
- The object.- Returns:
- The file name of the resource containing the object.
-
getResourceFileName
public static String getResourceFileName(org.palladiosimulator.analyzer.quality.qualityannotation.CharacterisedPCMParameterPartition eObject) - Parameters:
eObject
- The object.- Returns:
- The file name of the resource containing the object.
-
getRdseff
public static org.palladiosimulator.pcm.seff.ResourceDemandingSEFF getRdseff(org.palladiosimulator.pcm.seff.AbstractAction action) - Parameters:
action
- The action.- Returns:
- The
ResourceDemandingSEFF
containing the action ornull
if none could be found.
-