Class Helper
java.lang.Object
de.uka.ipd.sdq.pcm.transformations.Helper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.palladiosimulator.pcm.seff.ResourceDemandingSEFFgetRdseff(org.palladiosimulator.pcm.seff.AbstractAction action) static StringgetResourceDescription(EObject eObject) static StringgetResourceFileName(org.palladiosimulator.analyzer.quality.qualityannotation.CharacterisedPCMParameterPartition eObject) static StringgetResourceFileName(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF eObject) static StringgetResourceURI(EObject eObject) static Stringstatic StringtoEmptyString(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
ResourceDemandingSEFFcontaining the action ornullif none could be found.
-