package at.knowcenter.wag.egov.egiz.pdf; import java.io.Serializable; import at.gv.egiz.pdfas.framework.input.DataSource; import at.knowcenter.wag.egov.egiz.sig.SignatureObject; public class NoSignatureHolder implements Serializable, SignatureHolder { private static final long serialVersionUID = 1L; // # sigs before modification private int position; public NoSignatureHolder(int pos) { this.position = pos; } public DataSource getDataSource() { return null; } public SignatureObject getSignatureObject() { return null; } public int getPosition() { return this.position; } public int hashCode() { final int prime = 31; int result = 1; result = prime * result + this.position; return result; } public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final NoSignatureHolder other = (NoSignatureHolder) obj; if (this.position != other.position) { return false; } return true; } }