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

io.ciera.tool.sql.ooaofooa.message.impl.ExecutablePropertyArgumentSetImpl Maven / Gradle / Ivy

package io.ciera.tool.sql.ooaofooa.message.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.PropertyParameterSet;
import io.ciera.tool.sql.ooaofooa.component.impl.PropertyParameterSetImpl;
import io.ciera.tool.sql.ooaofooa.message.ExecutablePropertyArgument;
import io.ciera.tool.sql.ooaofooa.message.ExecutablePropertyArgumentSet;
import io.ciera.tool.sql.ooaofooa.message.MessageArgumentSet;
import io.ciera.tool.sql.ooaofooa.message.impl.MessageArgumentSetImpl;

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


public class ExecutablePropertyArgumentSetImpl extends InstanceSet implements ExecutablePropertyArgumentSet {

    public ExecutablePropertyArgumentSetImpl() {
    }

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

    // attributes
    @Override
    public void setPP_Id( UniqueId ref_PP_Id ) throws XtumlException {
        for ( ExecutablePropertyArgument executablepropertyargument : this ) executablepropertyargument.setPP_Id( ref_PP_Id );
    }
    @Override
    public void setArg_ID( UniqueId ref_Arg_ID ) throws XtumlException {
        for ( ExecutablePropertyArgument executablepropertyargument : this ) executablepropertyargument.setArg_ID( ref_Arg_ID );
    }


    // selections
    @Override
    public MessageArgumentSet R1013_is_a_MessageArgument() throws XtumlException {
        MessageArgumentSet messageargumentset = new MessageArgumentSetImpl();
        for ( ExecutablePropertyArgument executablepropertyargument : this ) messageargumentset.add( executablepropertyargument.R1013_is_a_MessageArgument() );
        return messageargumentset;
    }
    @Override
    public PropertyParameterSet R1023_is_represented_by_PropertyParameter() throws XtumlException {
        PropertyParameterSet propertyparameterset = new PropertyParameterSetImpl();
        for ( ExecutablePropertyArgument executablepropertyargument : this ) propertyparameterset.add( executablepropertyargument.R1023_is_represented_by_PropertyParameter() );
        return propertyparameterset;
    }


    @Override
    public ExecutablePropertyArgument nullElement() {
        return ExecutablePropertyArgumentImpl.EMPTY_EXECUTABLEPROPERTYARGUMENT;
    }

    @Override
    public ExecutablePropertyArgumentSet emptySet() {
      return new ExecutablePropertyArgumentSetImpl();
    }

    @Override
    public ExecutablePropertyArgumentSet emptySet(Comparator comp) {
      return new ExecutablePropertyArgumentSetImpl(comp);
    }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy