public class Helper extends Object
Constructor and Description |
---|
Helper() |
Modifier and Type | Method and 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.
|
public static String toEmptyString(Object... o)
o
- will not be usedpublic static String getResourceURI(EObject eObject)
eObject
- The object.public static String getResourceDescription(EObject eObject)
eObject
- The object.public static String getResourceFileName(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF eObject)
eObject
- The object.public static String getResourceFileName(org.palladiosimulator.analyzer.quality.qualityannotation.CharacterisedPCMParameterPartition eObject)
eObject
- The object.public static org.palladiosimulator.pcm.seff.ResourceDemandingSEFF getRdseff(org.palladiosimulator.pcm.seff.AbstractAction action)
action
- The action.ResourceDemandingSEFF
containing the action or null
if none could
be found.