Class Helper
- java.lang.Object
-
- de.uka.ipd.sdq.pcm.transformations.Helper
-
public class Helper extends Object
-
-
Constructor Summary
Constructors Constructor Description Helper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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
removeAllSpecialChars(String s)
static String
toEmptyString(Object... o)
Returns an empty string for arbitrary input.
-
-
-
Method Detail
-
toEmptyString
public static String toEmptyString(Object... o)
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:
- ""
-
getResourceURI
public static String getResourceURI(EObject eObject)
- Parameters:
eObject
- The object.- Returns:
- The URI String of the given object.
-
getResourceDescription
public static String getResourceDescription(EObject eObject)
- 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.
-
-