sPFShared/src/main/java/it/polimi/spf/shared/model/SPFTrigger.java
@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeParcelable(query, flags);
		dest.writeParcelable(action, flags);
		dest.writeLong(id);
		dest.writeInt(isOneShot ? 1 : 0);
		dest.writeLong(sleepPeriod);
		dest.writeString(name);
	}
@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeParcelable(query, flags);
		dest.writeParcelable(action, flags);
		dest.writeLong(id);
		dest.writeInt(isOneShot ? 1 : 0);
		dest.writeLong(sleepPeriod);
		dest.writeString(name);
	}
/*
(non-Javadoc)

@see android.os.Parcelable#writeToParcel(android.os.Parcel, int)