public class RangeModifierMethod extends PrimitiveModifierMethod
| Constructor and Description |
|---|
RangeModifierMethod() |
| Modifier and Type | Method and Description |
|---|---|
Object |
doModification(Object currentObject,
de.fraunhofer.iese.ind2uce.api.policy.parameter.ParameterList modifierMethodParameterList)
This method to be overridden when modifier wants to handle primitive type
like Integer(int), Float(float), Boolean(boolean), Long(long),
Short(short), Byte(byte) and Double(double) and String
|
String |
getDisplayName() |
String |
range(String inputString,
int pivot)
Gets the range.
|
doModification, nameIsValidpublic Object doModification(Object currentObject, de.fraunhofer.iese.ind2uce.api.policy.parameter.ParameterList modifierMethodParameterList)
ModifierMethoddoModification in interface ModifierMethoddoModification in class PrimitiveModifierMethodcurrentObject - The primitive value for modification.modifierMethodParameterList - List of parameters that should be used
for modificationpublic String range(String inputString, int pivot)
inputString - the input stringpivot - the pivotpublic String getDisplayName()
Copyright © 2018. All rights reserved.