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

io.ciera.tool.sql.loader.impl.EventInstanceSerializerSetImpl Maven / Gradle / Ivy

package io.ciera.tool.sql.loader.impl;


import io.ciera.runtime.summit.classes.InstanceSet;
import io.ciera.runtime.summit.exceptions.XtumlException;
import io.ciera.tool.sql.loader.EventInstanceSerializer;
import io.ciera.tool.sql.loader.EventInstanceSerializerSet;
import io.ciera.tool.sql.loader.InstanceSerializerSet;
import io.ciera.tool.sql.loader.impl.InstanceSerializerSetImpl;

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


public class EventInstanceSerializerSetImpl extends InstanceSet implements EventInstanceSerializerSet {

    public EventInstanceSerializerSetImpl() {
    }

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

    // attributes
    @Override
    public void setClass_name( String ref_class_name ) throws XtumlException {
        for ( EventInstanceSerializer eventinstanceserializer : this ) eventinstanceserializer.setClass_name( ref_class_name );
    }
    @Override
    public void setLoader_package( String ref_loader_package ) throws XtumlException {
        for ( EventInstanceSerializer eventinstanceserializer : this ) eventinstanceserializer.setLoader_package( ref_loader_package );
    }
    @Override
    public void setLoader_name( String ref_loader_name ) throws XtumlException {
        for ( EventInstanceSerializer eventinstanceserializer : this ) eventinstanceserializer.setLoader_name( ref_loader_name );
    }


    // selections
    @Override
    public InstanceSerializerSet R3015_is_a_InstanceSerializer() throws XtumlException {
        InstanceSerializerSet instanceserializerset = new InstanceSerializerSetImpl();
        for ( EventInstanceSerializer eventinstanceserializer : this ) instanceserializerset.add( eventinstanceserializer.R3015_is_a_InstanceSerializer() );
        return instanceserializerset;
    }


    @Override
    public EventInstanceSerializer nullElement() {
        return EventInstanceSerializerImpl.EMPTY_EVENTINSTANCESERIALIZER;
    }

    @Override
    public EventInstanceSerializerSet emptySet() {
      return new EventInstanceSerializerSetImpl();
    }

    @Override
    public EventInstanceSerializerSet emptySet(Comparator comp) {
      return new EventInstanceSerializerSetImpl(comp);
    }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy