// Path: be.iminds.iot.things.api/src/be/iminds/iot/things/api/Thing.java
// public interface Thing {
// 
//     public final static String ID = "thing.id";
//     public final static String DEVICE = "thing.device";
//     public final static String SERVICE = "thing.service";
//     public final static String GATEWAY = "thing.gateway";
//     public final static String TYPE = "thing.type";
//     
// }
// 
// Path: be.iminds.iot.things.rule.api/src/be/iminds/iot/things/rule/api/Change.java
// public class Change {
// 
// 	public Change(UUID thingId, String stateVariable, Object value){
// 		this.thingId = thingId;
// 		this.stateVariable = stateVariable;
// 		this.value = value;
// 	}
// 	
// 	public UUID thingId;
// 	public String stateVariable;
// 	public Object value;
// 
// }
// 
// Path: be.iminds.iot.things.rule.api/src/be/iminds/iot/things/rule/api/Condition.java
// public interface Condition extends Serializable {
// 	
// 	public UUID getId();
// 	
// 	public String getType();
// 	
// 	public void setThing(Thing thing);
// 	
// 	public boolean trigger(Change change);
// 
// }


import aQute.lib.converter.Converter;
import be.iminds.iot.things.api.Thing;
import be.iminds.iot.things.rule.api.Change;
import be.iminds.iot.things.rule.api.Condition;
import java.util.UUID;
	
	public SimpleCondition(
			UUID id,
			String type, 
			String variable, 
			Operator operator, 
			Object value) {
		this.id = id;
		this.type = type;
		this.variable = variable;
		this.operator = operator;
		this.value = value;
	}
	
	@Override
	public UUID getId() {
		return id;
	}

	@Override
	public String getType() {
		return type;
	}

	@Override
	public void setThing(Thing thing) {
		// ignore
	}

	@Override
// Path: be.iminds.iot.things.api/src/be/iminds/iot/things/api/Thing.java
// public interface Thing {
// 
//     public final static String ID = "thing.id";
//     public final static String DEVICE = "thing.device";
//     public final static String SERVICE = "thing.service";
//     public final static String GATEWAY = "thing.gateway";
//     public final static String TYPE = "thing.type";
//     
// }
// 
// Path: be.iminds.iot.things.rule.api/src/be/iminds/iot/things/rule/api/Change.java
// public class Change {
// 
// 	public Change(UUID thingId, String stateVariable, Object value){
// 		this.thingId = thingId;
// 		this.stateVariable = stateVariable;
// 		this.value = value;
// 	}
// 	
// 	public UUID thingId;
// 	public String stateVariable;
// 	public Object value;
// 
// }
// 
// Path: be.iminds.iot.things.rule.api/src/be/iminds/iot/things/rule/api/Condition.java
// public interface Condition extends Serializable {
// 	
// 	public UUID getId();
// 	
// 	public String getType();
// 	
// 	public void setThing(Thing thing);
// 	
// 	public boolean trigger(Change change);
// 
// }


// Path: be.iminds.iot.things.rule.engine.provider/src/be/iminds/iot/things/rule/factory/SimpleCondition.java
import aQute.lib.converter.Converter;
import be.iminds.iot.things.api.Thing;
import be.iminds.iot.things.rule.api.Change;
import be.iminds.iot.things.rule.api.Condition;
import java.util.UUID;

	
	public SimpleCondition(
			UUID id,
			String type, 
			String variable, 
			Operator operator, 
			Object value) {
		this.id = id;
		this.type = type;
		this.variable = variable;
		this.operator = operator;
		this.value = value;
	}
	
	@Override
	public UUID getId() {
		return id;
	}

	@Override
	public String getType() {
		return type;
	}

	@Override
	public void setThing(Thing thing) {
		// ignore
	}

	@Override
	public boolean trigger(Change change) {