Class LeafConditionSettingIterator
- java.lang.Object
-
- org.eclipse.emf.ecp.view.spi.rule.model.impl.LeafConditionSettingIterator
-
- All Implemented Interfaces:
java.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature.Setting>
public class LeafConditionSettingIterator extends java.lang.Object implements java.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature.Setting>
Iterator that returns all settings of the condition'sLeafCondition.getDomainModelReference()
andLeafCondition.getValueDomainModelReference()
.- Since:
- 1.5
- Author:
- jfaltermeier
-
-
Constructor Summary
Constructors Constructor Description LeafConditionSettingIterator(LeafCondition condition, org.eclipse.emf.ecore.EObject domainModel, boolean includeNonValueRelatedSettings)
Constructs a newLeafConditionSettingIterator
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Disposes thisLeafConditionSettingIterator
.java.util.Set<VDomainModelReference>
getUsedValueDomainModelReferences()
Returns the usedVDomainModelReferences
. This map will contain all entries when the iterator has reached its end.boolean
hasNext()
boolean
isDisposed()
org.eclipse.emf.ecore.EStructuralFeature.Setting
next()
void
remove()
-
-
-
Constructor Detail
-
LeafConditionSettingIterator
public LeafConditionSettingIterator(LeafCondition condition, org.eclipse.emf.ecore.EObject domainModel, boolean includeNonValueRelatedSettings)
Constructs a newLeafConditionSettingIterator
.- Parameters:
condition
- the leaf conditiondomainModel
- The root domain object of the givenLeafCondition
includeNonValueRelatedSettings
- whether to include non value related settings- Since:
- 1.9
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature.Setting>
- See Also:
Iterator.hasNext()
-
next
public org.eclipse.emf.ecore.EStructuralFeature.Setting next()
- Specified by:
next
in interfacejava.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature.Setting>
- See Also:
Iterator.next()
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature.Setting>
- See Also:
Iterator.remove()
-
getUsedValueDomainModelReferences
public java.util.Set<VDomainModelReference> getUsedValueDomainModelReferences()
Returns the usedVDomainModelReferences
. This map will contain all entries when the iterator has reached its end.- Returns:
- the map
-
dispose
public void dispose()
Disposes thisLeafConditionSettingIterator
.- Since:
- 1.9
-
isDisposed
public boolean isDisposed()
- Returns:
true
if thisLeafConditionSettingIterator
is disposed,false
otherwise- Since:
- 1.9
-
-