package ca.corefacility.bioinformatics.irida.web.controller.test.unit.support;

import java.util.Date;

import ca.corefacility.bioinformatics.irida.model.IridaThing;

/**
 * 
 * @author Franklin Bristow <franklin.bristow@phac-aspc.gc.ca>
 */
public class IdentifiableTestEntity implements IridaThing, Comparable<IdentifiableTestEntity> {
	Long id;

	private Date createdDate;

	private Date modifiedDate;

	public IdentifiableTestEntity() {

	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long identifier) {
		this.id = identifier;
	}

	@Override
	public int compareTo(IdentifiableTestEntity o) {
		return createdDate.compareTo(o.createdDate);
	}

	@Override
	public Date getTimestamp() {
		return createdDate;
	}

	@Override
	public void setTimestamp(Date timestamp) {
		this.createdDate = timestamp;
	}

	@Override
	public String getLabel() {
		return null;
	}

	public Date getModifiedDate() {
		return modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}
}

@@ -874,24 +874,141 @@
 n null;%0A%09%7D%0A%0A
+%09@Override%0A%09public boolean isEnabled() %7B%0A%09%09return true;%0A%09%7D%0A%0A%09@Override%0A%09public void setEnabled(boolean valid) %7B%0A%0A%09%7D%0A%0A
 %09public Date

Revert "Removed the "enabled" property since we're doing real deletes now"