io.ciera.tool.sql.ooaofooa.statemachine.impl.CreationTransitionSetImpl Maven / Gradle / Ivy
package io.ciera.tool.sql.ooaofooa.statemachine.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.statemachine.CreationTransition;
import io.ciera.tool.sql.ooaofooa.statemachine.CreationTransitionSet;
import io.ciera.tool.sql.ooaofooa.statemachine.LocalEventSet;
import io.ciera.tool.sql.ooaofooa.statemachine.TransitionSet;
import io.ciera.tool.sql.ooaofooa.statemachine.impl.LocalEventSetImpl;
import io.ciera.tool.sql.ooaofooa.statemachine.impl.TransitionSetImpl;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
public class CreationTransitionSetImpl extends InstanceSet implements CreationTransitionSet {
public CreationTransitionSetImpl() {
}
public CreationTransitionSetImpl(Comparator super CreationTransition> comp) {
super(comp);
}
// attributes
@Override
public void setSMevt_ID( UniqueId ref_SMevt_ID ) throws XtumlException {
for ( CreationTransition creationtransition : this ) creationtransition.setSMevt_ID( ref_SMevt_ID );
}
@Override
public void setSM_ID( UniqueId ref_SM_ID ) throws XtumlException {
for ( CreationTransition creationtransition : this ) creationtransition.setSM_ID( ref_SM_ID );
}
@Override
public void setTrans_ID( UniqueId ref_Trans_ID ) throws XtumlException {
for ( CreationTransition creationtransition : this ) creationtransition.setTrans_ID( ref_Trans_ID );
}
@Override
public void setSMspd_IDdeprecated( UniqueId m_SMspd_IDdeprecated ) throws XtumlException {
for ( CreationTransition creationtransition : this ) creationtransition.setSMspd_IDdeprecated( m_SMspd_IDdeprecated );
}
// selections
@Override
public TransitionSet R507_is_a_Transition() throws XtumlException {
TransitionSet transitionset = new TransitionSetImpl();
for ( CreationTransition creationtransition : this ) transitionset.add( creationtransition.R507_is_a_Transition() );
return transitionset;
}
@Override
public LocalEventSet R509_is_assigned_to_LocalEvent() throws XtumlException {
LocalEventSet localeventset = new LocalEventSetImpl();
for ( CreationTransition creationtransition : this ) localeventset.add( creationtransition.R509_is_assigned_to_LocalEvent() );
return localeventset;
}
@Override
public CreationTransition nullElement() {
return CreationTransitionImpl.EMPTY_CREATIONTRANSITION;
}
@Override
public CreationTransitionSet emptySet() {
return new CreationTransitionSetImpl();
}
@Override
public CreationTransitionSet emptySet(Comparator super CreationTransition> comp) {
return new CreationTransitionSetImpl(comp);
}
@Override
public List elements() {
return Arrays.asList(toArray(new CreationTransition[0]));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy