If you are taking your maternity leave in 2010, then if you paid class S PRSI (self employed PRSI) during the applicable year (2008) then you will be entitled to the benefit. Give the maternity benefit section a call and the will clarify, they are helpful.