jadex.platform.service.message.streams.InitInfo Maven / Gradle / Ivy
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;
}
}