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

eu.europa.esig.dss.diagnostic.jaxb.XmlPDFLockDictionary Maven / Gradle / Ivy

//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.09.11 at 03:26:28 PM CEST 
//


package eu.europa.esig.dss.diagnostic.jaxb;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import eu.europa.esig.dss.enumerations.CertificationPermission;
import eu.europa.esig.dss.enumerations.PdfLockAction;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for PDFLockDictionary complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="PDFLockDictionary">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Action" type="{http://dss.esig.europa.eu/validation/diagnostic}PDFLockAction"/>
 *         <element name="Field" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Permissions" type="{http://dss.esig.europa.eu/validation/diagnostic}CertificationPermission" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PDFLockDictionary", propOrder = { "action", "fields", "permissions" }) public class XmlPDFLockDictionary implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "Action", required = true, type = String.class) @XmlJavaTypeAdapter(Adapter2 .class) protected PdfLockAction action; @XmlElement(name = "Field") protected List fields; @XmlElement(name = "Permissions", type = String.class) @XmlJavaTypeAdapter(Adapter3 .class) protected CertificationPermission permissions; /** * Gets the value of the action property. * * @return * possible object is * {@link String } * */ public PdfLockAction getAction() { return action; } /** * Sets the value of the action property. * * @param value * allowed object is * {@link String } * */ public void setAction(PdfLockAction value) { this.action = value; } /** * Gets the value of the fields property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a set method for the fields property. * *

* For example, to add a new item, do as follows: *

     *    getFields().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getFields() { if (fields == null) { fields = new ArrayList(); } return this.fields; } /** * Gets the value of the permissions property. * * @return * possible object is * {@link String } * */ public CertificationPermission getPermissions() { return permissions; } /** * Sets the value of the permissions property. * * @param value * allowed object is * {@link String } * */ public void setPermissions(CertificationPermission value) { this.permissions = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy