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

org.jbpt.petri.Transition Maven / Gradle / Ivy

Go to download

The jBPT code library is a compendium of technologies that support research on design, execution, and evaluation of business processes.

The newest version!
package org.jbpt.petri;

/**
 * Implementation of a Petri net transition. 
 * 
 * @author Artem Polyvyanyy
 */
public class Transition extends Node implements ITransition {
	
	public Transition() {
		super();
	}
	
	public Transition(String name) {
		super(name);
	}
	
	public Transition(String name, String label) {
		super(name,label);
	}
	
	public Transition(String name, String label, String desc) {
		super(name,label,desc);
	}
	
	@Override
	public boolean isSilent() {
		return this.getLabel().isEmpty();
	}

	@Override
	public boolean isObservable() {
		return !this.isSilent();
	}
	
	@Override
	public ITransition clone() {
		return (ITransition) super.clone();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy