Class 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's LeafCondition.getDomainModelReference() and LeafCondition.getValueDomainModelReference().
    Since:
    1.5
    Author:
    jfaltermeier
    • Constructor Detail

      • LeafConditionSettingIterator

        public LeafConditionSettingIterator​(LeafCondition condition,
                                            org.eclipse.emf.ecore.EObject domainModel,
                                            boolean includeNonValueRelatedSettings)
        Parameters:
        condition - the leaf condition
        domainModel - The root domain object of the given LeafCondition
        includeNonValueRelatedSettings - whether to include non value related settings
        Since:
        1.9
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.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 interface java.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature.Setting>
        See Also:
        Iterator.next()
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<org.eclipse.emf.ecore.EStructuralFeature.Setting>
        See Also:
        Iterator.remove()
      • getUsedValueDomainModelReferences

        public java.util.Set<VDomainModelReference> getUsedValueDomainModelReferences()

        Returns the used VDomainModelReferences.
        This map will contain all entries when the iterator has reached its end.
        Returns:
        the map