package com.github.aureliano.verbum_domini.domain.bean;

import java.io.Serializable;

public interface IBean extends Serializable {

	public abstract <T extends Object> T toResource();
}
package com.github.aureliano.verbum_domini.domain.bean;

import java.io.Serializable;

public interface IBean extends Serializable {

	public abstract Integer getId();
	
	public abstract <T extends Object> T toResource();
}
Define id reader as contract method.