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

com.safelayer.rap.json.model.mapping.JsonLabelsMapping Maven / Gradle / Ivy

Go to download

The PKI Connector RESTAPI is a library that helps developing new PKI Connectors for TrustedX

The newest version!
package com.safelayer.rap.json.model.mapping;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.safelayer.rap.api.model.mapping.ByLabelsValueMapping.LabelsMapping;

public class JsonLabelsMapping implements LabelsMapping {

	@JsonProperty
	private List labels;
	
	@JsonProperty
	private String value;
	
	public JsonLabelsMapping() {
	}
	
	@JsonIgnore
	public JsonLabelsMapping(String value, List labels) {
		this.labels = labels;
		this.value = value;
	}

	@Override
	public List getLabels() {
		return labels;
	}

	public void setLabels(List labels) {
		this.labels = labels;
	}
	
	@Override
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy