package eu.europa.ec.markt.dss.ws.signature; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for policy complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="policy"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="digestAlgorithm" type="{http://ws.dss.markt.ec.europa.eu/}digestAlgorithm" minOccurs="0"/> * <element name="digestValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "policy", propOrder = { "digestAlgorithm", "digestValue", "id" }) public class Policy { protected DigestAlgorithm digestAlgorithm; protected byte[] digestValue; protected String id; /** * Gets the value of the digestAlgorithm property. * * @return * possible object is * {@link DigestAlgorithm } * */ public DigestAlgorithm getDigestAlgorithm() { return digestAlgorithm; } /** * Sets the value of the digestAlgorithm property. * * @param value * allowed object is * {@link DigestAlgorithm } * */ public void setDigestAlgorithm(DigestAlgorithm value) { this.digestAlgorithm = value; } /** * Gets the value of the digestValue property. * * @return * possible object is * byte[] */ public byte[] getDigestValue() { return digestValue; } /** * Sets the value of the digestValue property. * * @param value * allowed object is * byte[] */ public void setDigestValue(byte[] value) { this.digestValue = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } }