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