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

jadex.bdiv3.model.MConfigBeliefElement Maven / Gradle / Ivy

Go to download

BDIV3 Kernel that supports annotated POJOs and uses byte code manipulation for performance improvements.

There is a newer version: 3.0.95
Show newest version
package jadex.bdiv3.model;

import java.util.ArrayList;
import java.util.List;

import jadex.bridge.modelinfo.UnparsedExpression;

/**
 *  Represents an initial / end belief (set).
 */
public class MConfigBeliefElement	extends MElement
{
	/** The initial / end facts. */
	protected List	facts;
	
	/**
	 *  The value to set.
	 *  @param value The value to set
	 */
	public void setFacts(List facts)
	{
		this.facts = facts;
	}
	
	
	/**
	 *  Get the value.
	 *  @return The value
	 */
	public List getFacts()
	{
		return facts;
	}

	/**
	 *  The value to set.
	 *  @param value The value to set
	 */
	public void addFact(UnparsedExpression fact)
	{
		if(facts==null)
			facts = new ArrayList();
		facts.add(fact);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy