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

jadex.platform.service.message.streams.InitInfo Maven / Gradle / Ivy

Go to download

The Jadex platform package contains implementations of platform services as well as the platform component itself.

There is a newer version: 3.0.117
Show newest version
package jadex.platform.service.message.streams;

import java.util.Map;

import jadex.bridge.ITransportComponentIdentifier;
import jadex.commons.transformation.annotations.Alias;

/**
 *  Info sent as content of the init message.
 */
@Alias("jadex.base.service.message.streams.InitInfo")
public class InitInfo
{
	/** The initiator. */
	protected ITransportComponentIdentifier initiator;
	
	/** The participant. */
	protected ITransportComponentIdentifier participant;
	
	/** The non-functional properties. */
	protected Map nonfunc;

	/**
	 *  Create a new init info.
	 */
	public InitInfo()
	{
	}

	/**
	 *  Create a new init info.
	 */
	public InitInfo(ITransportComponentIdentifier initiator,
		ITransportComponentIdentifier participant, Map nonfunc)
	{
		this.initiator = initiator;
		this.participant = participant;
		this.nonfunc = nonfunc;
	}

	/**
	 *  Get the initiator.
	 *  @return the initiator.
	 */
	public ITransportComponentIdentifier getInitiator()
	{
		return initiator;
	}

	/**
	 *  Set the initiator.
	 *  @param initiator The initiator to set.
	 */
	public void setInitiator(ITransportComponentIdentifier initiator)
	{
		this.initiator = initiator;
	}

	/**
	 *  Get the participant.
	 *  @return the participant.
	 */
	public ITransportComponentIdentifier getParticipant()
	{
		return participant;
	}

	/**
	 *  Set the participant.
	 *  @param participant The participant to set.
	 */
	public void setParticipant(ITransportComponentIdentifier participant)
	{
		this.participant = participant;
	}

	/**
	 *  Get the nonFunctionalProperties.
	 *  @return the nonFunctionalProperties.
	 */
	public Map getNonFunctionalProperties()
	{
		return nonfunc;
	}

	/**
	 *  Set the nonFunctionalProperties.
	 *  @param nonFunctionalProperties The nonFunctionalProperties to set.
	 */
	public void setNonFunctionalProperties(Map nonFunctionalProperties)
	{
		this.nonfunc = nonFunctionalProperties;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy