All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ciera.tool.sql.ooaofooa.instance.impl.RuntimeChannelSetImpl Maven / Gradle / Ivy

There is a newer version: 2.7.3
Show newest version
package io.ciera.tool.sql.ooaofooa.instance.impl;


import io.ciera.runtime.summit.classes.InstanceSet;
import io.ciera.runtime.summit.exceptions.XtumlException;
import io.ciera.runtime.summit.types.UniqueId;
import io.ciera.tool.sql.ooaofooa.component.DelegationSet;
import io.ciera.tool.sql.ooaofooa.component.SatisfactionSet;
import io.ciera.tool.sql.ooaofooa.component.impl.DelegationSetImpl;
import io.ciera.tool.sql.ooaofooa.component.impl.SatisfactionSetImpl;
import io.ciera.tool.sql.ooaofooa.instance.ComponentInstanceSet;
import io.ciera.tool.sql.ooaofooa.instance.RuntimeChannel;
import io.ciera.tool.sql.ooaofooa.instance.RuntimeChannelSet;
import io.ciera.tool.sql.ooaofooa.instance.impl.ComponentInstanceSetImpl;
import io.ciera.tool.sql.ooaofooa.instance.impl.RuntimeChannelSetImpl;

import java.util.Arrays;
import java.util.Comparator;
import java.util.List;


public class RuntimeChannelSetImpl extends InstanceSet implements RuntimeChannelSet {

    public RuntimeChannelSetImpl() {
    }

    public RuntimeChannelSetImpl(Comparator comp) {
        super(comp);
    }

    // attributes
    @Override
    public void setOther_Execution_Engine_ID( UniqueId ref_other_Execution_Engine_ID ) throws XtumlException {
        for ( RuntimeChannel runtimechannel : this ) runtimechannel.setOther_Execution_Engine_ID( ref_other_Execution_Engine_ID );
    }
    @Override
    public void setChannel_Id( UniqueId m_Channel_Id ) throws XtumlException {
        for ( RuntimeChannel runtimechannel : this ) runtimechannel.setChannel_Id( m_Channel_Id );
    }
    @Override
    public void setExecution_Engine_ID( UniqueId ref_Execution_Engine_ID ) throws XtumlException {
        for ( RuntimeChannel runtimechannel : this ) runtimechannel.setExecution_Engine_ID( ref_Execution_Engine_ID );
    }
    @Override
    public void setSatisfaction_Id( UniqueId ref_Satisfaction_Id ) throws XtumlException {
        for ( RuntimeChannel runtimechannel : this ) runtimechannel.setSatisfaction_Id( ref_Satisfaction_Id );
    }
    @Override
    public void setNext_provider_Channel_Id( UniqueId ref_Next_provider_Channel_Id ) throws XtumlException {
        for ( RuntimeChannel runtimechannel : this ) runtimechannel.setNext_provider_Channel_Id( ref_Next_provider_Channel_Id );
    }
    @Override
    public void setDelegation_Id( UniqueId ref_Delegation_Id ) throws XtumlException {
        for ( RuntimeChannel runtimechannel : this ) runtimechannel.setDelegation_Id( ref_Delegation_Id );
    }


    // selections
    @Override
    public ComponentInstanceSet R2968_is_interface_provider_to_ComponentInstance() throws XtumlException {
        ComponentInstanceSet componentinstanceset = new ComponentInstanceSetImpl();
        for ( RuntimeChannel runtimechannel : this ) componentinstanceset.add( runtimechannel.R2968_is_interface_provider_to_ComponentInstance() );
        return componentinstanceset;
    }
    @Override
    public ComponentInstanceSet R2968_is_interface_requirer_of_ComponentInstance() throws XtumlException {
        ComponentInstanceSet componentinstanceset = new ComponentInstanceSetImpl();
        for ( RuntimeChannel runtimechannel : this ) componentinstanceset.add( runtimechannel.R2968_is_interface_requirer_of_ComponentInstance() );
        return componentinstanceset;
    }
    @Override
    public SatisfactionSet R2969_implements_Satisfaction() throws XtumlException {
        SatisfactionSet satisfactionset = new SatisfactionSetImpl();
        for ( RuntimeChannel runtimechannel : this ) satisfactionset.add( runtimechannel.R2969_implements_Satisfaction() );
        return satisfactionset;
    }
    @Override
    public DelegationSet R2972_implements_Delegation() throws XtumlException {
        DelegationSet delegationset = new DelegationSetImpl();
        for ( RuntimeChannel runtimechannel : this ) delegationset.add( runtimechannel.R2972_implements_Delegation() );
        return delegationset;
    }
    @Override
    public RuntimeChannelSet R2973_provider_RuntimeChannel() throws XtumlException {
        RuntimeChannelSet runtimechannelset = new RuntimeChannelSetImpl();
        for ( RuntimeChannel runtimechannel : this ) runtimechannelset.add( runtimechannel.R2973_provider_RuntimeChannel() );
        return runtimechannelset;
    }
    @Override
    public RuntimeChannelSet R2973_requirer_RuntimeChannel() throws XtumlException {
        RuntimeChannelSet runtimechannelset = new RuntimeChannelSetImpl();
        for ( RuntimeChannel runtimechannel : this ) runtimechannelset.add( runtimechannel.R2973_requirer_RuntimeChannel() );
        return runtimechannelset;
    }


    @Override
    public RuntimeChannel nullElement() {
        return RuntimeChannelImpl.EMPTY_RUNTIMECHANNEL;
    }

    @Override
    public RuntimeChannelSet emptySet() {
      return new RuntimeChannelSetImpl();
    }

    @Override
    public RuntimeChannelSet emptySet(Comparator comp) {
      return new RuntimeChannelSetImpl(comp);
    }

    @Override
    public List elements() {
        return Arrays.asList(toArray(new RuntimeChannel[0]));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy