package com.axiastudio.suite.interoperabilita.entities;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
@XmlRootElement(name = "Impronta")
public class Impronta {
@XmlAttribute(name = "algoritmo")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String algoritmo;
@XmlAttribute(name = "codifica")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String codifica;
@XmlValue
protected String value;
/**
* Gets the value of the algoritmo property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAlgoritmo() {
if (algoritmo == null) {
return "SHA-256";
} else {
return algoritmo;
}
}
/**
* Sets the value of the algoritmo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAlgoritmo(String value) {
this.algoritmo = value;
}
/**
* Gets the value of the codifica property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCodifica() {
if (codifica == null) {
return "base64";
} else {
return codifica;
}
}
/**
* Sets the value of the codifica property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCodifica(String value) {
this.codifica = value;
}
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getvalue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setvalue(String value) {
this.value = value;
}
}