io.ciera.tool.sql.ooaofooa.event.impl.GenerateEventStatementSetImpl Maven / Gradle / Ivy
package io.ciera.tool.sql.ooaofooa.event.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.event.EventSpecificationStatementSet;
import io.ciera.tool.sql.ooaofooa.event.GenerateEventStatement;
import io.ciera.tool.sql.ooaofooa.event.GenerateEventStatementSet;
import io.ciera.tool.sql.ooaofooa.event.GenerateSMEventStatementSet;
import io.ciera.tool.sql.ooaofooa.event.impl.EventSpecificationStatementSetImpl;
import io.ciera.tool.sql.ooaofooa.event.impl.GenerateSMEventStatementSetImpl;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
public class GenerateEventStatementSetImpl extends InstanceSet implements GenerateEventStatementSet {
public GenerateEventStatementSetImpl() {
}
public GenerateEventStatementSetImpl(Comparator super GenerateEventStatement> comp) {
super(comp);
}
// attributes
@Override
public void setStatement_ID( UniqueId ref_Statement_ID ) throws XtumlException {
for ( GenerateEventStatement generateeventstatement : this ) generateeventstatement.setStatement_ID( ref_Statement_ID );
}
// selections
@Override
public EventSpecificationStatementSet R701_is_a_EventSpecificationStatement() throws XtumlException {
EventSpecificationStatementSet eventspecificationstatementset = new EventSpecificationStatementSetImpl();
for ( GenerateEventStatement generateeventstatement : this ) eventspecificationstatementset.add( generateeventstatement.R701_is_a_EventSpecificationStatement() );
return eventspecificationstatementset;
}
@Override
public GenerateSMEventStatementSet R703_is_a_GenerateSMEventStatement() throws XtumlException {
GenerateSMEventStatementSet generatesmeventstatementset = new GenerateSMEventStatementSetImpl();
for ( GenerateEventStatement generateeventstatement : this ) generatesmeventstatementset.add( generateeventstatement.R703_is_a_GenerateSMEventStatement() );
return generatesmeventstatementset;
}
@Override
public GenerateEventStatement nullElement() {
return GenerateEventStatementImpl.EMPTY_GENERATEEVENTSTATEMENT;
}
@Override
public GenerateEventStatementSet emptySet() {
return new GenerateEventStatementSetImpl();
}
@Override
public GenerateEventStatementSet emptySet(Comparator super GenerateEventStatement> comp) {
return new GenerateEventStatementSetImpl(comp);
}
@Override
public List elements() {
return Arrays.asList(toArray(new GenerateEventStatement[0]));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy