io.ciera.tool.sql.ooaofooa.subsystem.impl.DeferralSetImpl Maven / Gradle / Ivy
package io.ciera.tool.sql.ooaofooa.subsystem.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.association.AssociationSet;
import io.ciera.tool.sql.ooaofooa.association.impl.AssociationSetImpl;
import io.ciera.tool.sql.ooaofooa.subsystem.Deferral;
import io.ciera.tool.sql.ooaofooa.subsystem.DeferralSet;
import io.ciera.tool.sql.ooaofooa.subsystem.O_TFRSet;
import io.ciera.tool.sql.ooaofooa.subsystem.impl.O_TFRSetImpl;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
public class DeferralSetImpl extends InstanceSet implements DeferralSet {
public DeferralSetImpl() {
}
public DeferralSetImpl(Comparator super Deferral> comp) {
super(comp);
}
// attributes
@Override
public void setRel_ID( UniqueId ref_Rel_ID ) throws XtumlException {
for ( Deferral deferral : this ) deferral.setRel_ID( ref_Rel_ID );
}
@Override
public void setRequired( int m_required ) throws XtumlException {
for ( Deferral deferral : this ) deferral.setRequired( m_required );
}
@Override
public void setTfr_ID( UniqueId ref_Tfr_ID ) throws XtumlException {
for ( Deferral deferral : this ) deferral.setTfr_ID( ref_Tfr_ID );
}
// selections
@Override
public AssociationSet R126_defers_execution_to_subtypes_across_Association() throws XtumlException {
AssociationSet associationset = new AssociationSetImpl();
for ( Deferral deferral : this ) associationset.add( deferral.R126_defers_execution_to_subtypes_across_Association() );
return associationset;
}
@Override
public O_TFRSet R126_delegates_execution_of_O_TFR() throws XtumlException {
O_TFRSet o_tfrset = new O_TFRSetImpl();
for ( Deferral deferral : this ) o_tfrset.add( deferral.R126_delegates_execution_of_O_TFR() );
return o_tfrset;
}
@Override
public Deferral nullElement() {
return DeferralImpl.EMPTY_DEFERRAL;
}
@Override
public DeferralSet emptySet() {
return new DeferralSetImpl();
}
@Override
public DeferralSet emptySet(Comparator super Deferral> comp) {
return new DeferralSetImpl(comp);
}
@Override
public List elements() {
return Arrays.asList(toArray(new Deferral[0]));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy