org.eclipse.emf.emfstore.internal.modelmutator.intern.attribute
Class AttributeSetterEFeatureMapEntry
java.lang.Object
org.eclipse.emf.emfstore.internal.modelmutator.intern.attribute.AttributeSetter<org.eclipse.emf.ecore.change.FeatureMapEntry>
org.eclipse.emf.emfstore.internal.modelmutator.intern.attribute.AttributeSetterEFeatureMapEntry
public class AttributeSetterEFeatureMapEntry
- extends AttributeSetter<org.eclipse.emf.ecore.change.FeatureMapEntry>
- Author:
- emueller
Method Summary |
org.eclipse.emf.ecore.change.FeatureMapEntry |
createNewAttribute()
Creates one attribute of type E . |
Collection<org.eclipse.emf.ecore.change.FeatureMapEntry> |
createNewAttributes(int maxAmount)
Creates a collection of attributes of type E . |
AttributeSetterEFeatureMapEntry
public AttributeSetterEFeatureMapEntry(Random random)
- Creates a new AttributeSetter for a FeatureMapEntry attribute.
- Parameters:
random
- Random object used to create attribute values
createNewAttribute
public org.eclipse.emf.ecore.change.FeatureMapEntry createNewAttribute()
- Creates one attribute of type
E
.
The result is determined by random
.
- Specified by:
createNewAttribute
in class AttributeSetter<org.eclipse.emf.ecore.change.FeatureMapEntry>
- Returns:
- the created attribute
- See Also:
AttributeSetter.createNewAttribute()
createNewAttributes
public Collection<org.eclipse.emf.ecore.change.FeatureMapEntry> createNewAttributes(int maxAmount)
- Creates a collection of attributes of type
E
.
The result is determined by random
.
- Specified by:
createNewAttributes
in class AttributeSetter<org.eclipse.emf.ecore.change.FeatureMapEntry>
- Parameters:
maxAmount
- the maximum amount of attributes to create
- Returns:
- all created attributes as a collection
- See Also:
AttributeSetter.createNewAttributes(int)
Copyright © 2015. All Rights Reserved.