class IdenticalPayloadDigestRevisit extends AbstractProfile {

	protected final String payloadDigest;
	protected String refersToTargetURI;
		
	/**
	 * Minimal constructor.
	 * @param payloadDigest The digest of the original record
	 */
	public IdenticalPayloadDigestRevisit(String payloadDigest) {
		if (payloadDigest==null) {
			throw new NullPointerException("PayloadDigest may not be null");
		}
		this.payloadDigest = payloadDigest;
	}
	
		
	@Override
	public String getProfileName() {
		return WARCConstants.PROFILE_REVISIT_IDENTICAL_DIGEST;
	}

	@Override
	public Map<String, String> getWarcHeaders() {<FILL_FUNCTION_BODY>}


	public String getRefersToTargetURI() {
		return refersToTargetURI;
	}


	public void setRefersToTargetURI(String refersToTargetURI) {
		this.refersToTargetURI = refersToTargetURI;
	}


	public String getPayloadDigest() {
		return payloadDigest;
	}
	
}

		Map<String, String> headers = super.getWarcHeaders();
		
		headers.put(HEADER_KEY_PAYLOAD_DIGEST, payloadDigest); 
		
		if (refersToTargetURI!=null) {
			headers.put(HEADER_KEY_REFERS_TO_TARGET_URI, refersToTargetURI);
		}
		
	
		return headers;
	
<methods>public non-sealed void <init>() ,public java.lang.String getRefersToDate() ,public java.lang.String getRefersToRecordID() ,public Map<java.lang.String,java.lang.String> getWarcHeaders() ,public void setRefersToDate(java.lang.String) ,public void setRefersToDate(long) ,public void setRefersToRecordID(java.lang.String) <variables>protected java.lang.String refersToDate,protected java.lang.String refersToRecordID