org.linguafranca.pwdb.kdbx.jaxb.binding.BinaryField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of KeePassJava2-jaxb Show documentation
Show all versions of KeePassJava2-jaxb Show documentation
Contains a JAXB implementation for KDBX.
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 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;
/**
* If derived from a file then the Key element conventionally contains the file name.
* I think it would be useful to add a mime type on this ...
*
* The Value element is the value of /./meta/binaries/binary/@ID that is referenced from this
* binary.
*
*
* Java class for binaryField complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="binaryField">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Key" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Value">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Ref" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "binaryField", propOrder = {
"key",
"value"
})
public class BinaryField {
@XmlElement(name = "Key", required = true)
protected String key;
@XmlElement(name = "Value", required = true)
protected BinaryField.Value value;
/**
* Gets the value of the key property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link BinaryField.Value }
*
*/
public BinaryField.Value getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link BinaryField.Value }
*
*/
public void setValue(BinaryField.Value value) {
this.value = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Ref" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Value {
@XmlAttribute(name = "Ref")
protected Integer ref;
/**
* Gets the value of the ref property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getRef() {
return ref;
}
/**
* Sets the value of the ref property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setRef(Integer value) {
this.ref = value;
}
}
}