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

org.linguafranca.pwdb.kdbx.jaxb.binding.Binaries Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.05.17 at 11:23:19 AM BST 
//


package org.linguafranca.pwdb.kdbx.jaxb.binding;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * Binary field for elements are centrally stored in this element.
 *                 The same Binary element may be referenced from many Entries.
 *             
 * 
 * 

Java class for binaries complex type. * *

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

 * <complexType name="binaries">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence maxOccurs="unbounded" minOccurs="0">
 *         <element name="Binary">
 *           <complexType>
 *             <simpleContent>
 *               <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary">
 *                 <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}int" />
 *                 <attribute name="Compressed" type="{}keepassBoolean" default="False" />
 *               </extension>
 *             </simpleContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "binaries", propOrder = { "binary" }) public class Binaries { @XmlElement(name = "Binary") protected List binary; /** * Gets the value of the binary 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 JAXB object. * This is why there is not a set method for the binary property. * *

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

     *    getBinary().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Binaries.Binary } * * */ public List getBinary() { if (binary == null) { binary = new ArrayList(); } return this.binary; } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <simpleContent>
     *     <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary">
     *       <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}int" />
     *       <attribute name="Compressed" type="{}keepassBoolean" default="False" />
     *     </extension>
     *   </simpleContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class Binary { @XmlValue protected byte[] value; @XmlAttribute(name = "ID") protected Integer id; @XmlAttribute(name = "Compressed") @XmlJavaTypeAdapter(Adapter2 .class) protected Boolean compressed; /** * Gets the value of the value property. * * @return * possible object is * byte[] */ public byte[] getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * byte[] */ public void setValue(byte[] value) { this.value = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link Integer } * */ public Integer getID() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Integer } * */ public void setID(Integer value) { this.id = value; } /** * Gets the value of the compressed property. * * @return * possible object is * {@link String } * */ public Boolean getCompressed() { if (compressed == null) { return new Adapter2().unmarshal("False"); } else { return compressed; } } /** * Sets the value of the compressed property. * * @param value * allowed object is * {@link String } * */ public void setCompressed(Boolean value) { this.compressed = value; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy