package net.sourceforge.fenixedu.domain.jobs; import pt.ist.fenixWebFramework.services.Service; public class JobFileResult extends JobFileResult_Base { public JobFileResult(String filename, byte[] content) { super(); init(filename, filename, content); setSize(content.length); } @Override @Service public Integer getSize() { // TODO remove this once all size are initialised if (super.getSize() == null) { super.setSize(getContent().length); } return super.getSize(); } }