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

com.safelayer.rap.json.model.mapping.JsonStaticValueMapping 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 com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.safelayer.rap.api.model.mapping.StaticValueMapping;

@JsonTypeName("static")
public class JsonStaticValueMapping extends JsonValueMapping implements StaticValueMapping {
	@JsonProperty("value")
	private String value;
	
	@JsonCreator
	public JsonStaticValueMapping() {
	}

	@JsonIgnore
	public JsonStaticValueMapping(String value) {
		this.value = value;
	}
	
	@Override
	@JsonIgnore
	public String getValue() {
		return value;
	}

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy