Class StringGeneratorVariableValue
java.lang.Object
de.rpgframework.random.StringGeneratorVariableValue
- All Implemented Interfaces:
GeneratorVariableValue
-
Constructor Summary
ConstructorsConstructorDescriptionStringGeneratorVariableValue(RandomGenerator generator, GeneratorVariable type, String value) -
Method Summary
Modifier and TypeMethodDescriptionReturn the identifier of the generator who created thisvoidsetGenerator(RandomGenerator generator) toString()Convert this into a human readable text description.Convert to an identifier suitable for storing in an XML file
-
Constructor Details
-
StringGeneratorVariableValue
public StringGeneratorVariableValue(RandomGenerator generator, GeneratorVariable type, String value)
-
-
Method Details
-
getGeneratorId
Description copied from interface:GeneratorVariableValueReturn the identifier of the generator who created this- Specified by:
getGeneratorIdin interfaceGeneratorVariableValue- See Also:
-
getVariable
- Specified by:
getVariablein interfaceGeneratorVariableValue- See Also:
-
toXMLIdentifier
Description copied from interface:GeneratorVariableValueConvert to an identifier suitable for storing in an XML file- Specified by:
toXMLIdentifierin interfaceGeneratorVariableValue- See Also:
-
toString
Description copied from interface:GeneratorVariableValueConvert this into a human readable text description.- Specified by:
toStringin interfaceGeneratorVariableValue- See Also:
-
toString
-
setGenerator
- Parameters:
generator- the generator to set
-