com.safelayer.rap.json.model.mapping.JsonStaticValueMapping Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pki-connector-restapi Show documentation
Show all versions of pki-connector-restapi Show documentation
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;
}
}