All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mosip.kernel.packetmanager.dto.metadata.HashSequenceMetaInfo Maven / Gradle / Ivy

package io.mosip.kernel.packetmanager.dto.metadata;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

@Data
public class HashSequenceMetaInfo {
	
	public HashSequenceMetaInfo(String label) {
		this.label = label;
		this.value = new LinkedList();
		this.hashSource = new HashMap<>();
	}
	
	private String label;
	private List value;
	
	@JsonIgnore
	private Map hashSource;
	
	public void addHashSource(String key, byte[] bytes) {
		value.add(key);
		hashSource.put(key, bytes);		
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy