org.eclipse.emf.emfstore.internal.modelmutator.intern.attribute
Class AttributeSetterEByte
java.lang.Object
org.eclipse.emf.emfstore.internal.modelmutator.intern.attribute.AttributeSetter<Byte>
org.eclipse.emf.emfstore.internal.modelmutator.intern.attribute.AttributeSetterEByte
public class AttributeSetterEByte
- extends AttributeSetter<Byte>
Class for creating random Byte values.
- Author:
- Eugen Neufeld, Stephan Koehler, Philip Achenbach
- See Also:
AttributeSetter
AttributeSetterEByte
public AttributeSetterEByte(Random random)
- Creates a new AttributeSetter for Byte attributes.
- Parameters:
random - Random object used to create attribute values
createNewAttribute
public Byte createNewAttribute()
- Creates one attribute of type
E.
The result is determined by random.
- Specified by:
createNewAttribute in class AttributeSetter<Byte>
- Returns:
- the created attribute
createNewAttributes
public Collection<Byte> createNewAttributes(int maxAmount)
- Creates a collection of attributes of type
E.
The result is determined by random.
- Specified by:
createNewAttributes in class AttributeSetter<Byte>
- Parameters:
maxAmount - the maximum amount of attributes to create
- Returns:
- all created attributes as a collection
Copyright © 2015. All Rights Reserved.