org.linguafranca.pwdb.kdbx.jaxb.binding.CustomIcons Maven / Gradle / Ivy
Show all versions of KeePassJava2-jaxb Show documentation
//
// 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.Date;
import java.util.List;
import java.util.UUID;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for customIcons complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="customIcons">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded">
* <element name="Icon">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="UUID" type="{}uuid"/>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="LastModificationTime" type="{}keepassDateTime"/>
* <element name="Data" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "customIcons", propOrder = {
"icon"
})
public class CustomIcons {
@XmlElement(name = "Icon", required = true)
protected List icon;
/**
* Gets the value of the icon 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 icon property.
*
*
* For example, to add a new item, do as follows:
*
* getIcon().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CustomIcons.Icon }
*
*
*/
public List getIcon() {
if (icon == null) {
icon = new ArrayList();
}
return this.icon;
}
/**
* 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">
* <sequence>
* <element name="UUID" type="{}uuid"/>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="LastModificationTime" type="{}keepassDateTime"/>
* <element name="Data" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"uuid",
"name",
"lastModificationTime",
"data"
})
public static class Icon {
@XmlElement(name = "UUID", required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter3 .class)
@XmlSchemaType(name = "base64Binary")
protected UUID uuid;
@XmlElement(name = "Name", required = true)
protected String name;
@XmlElement(name = "LastModificationTime", required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date lastModificationTime;
@XmlElement(name = "Data", required = true)
protected byte[] data;
/**
* Gets the value of the uuid property.
*
* @return
* possible object is
* {@link String }
*
*/
public UUID getUUID() {
return uuid;
}
/**
* Sets the value of the uuid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUUID(UUID value) {
this.uuid = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the lastModificationTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getLastModificationTime() {
return lastModificationTime;
}
/**
* Sets the value of the lastModificationTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLastModificationTime(Date value) {
this.lastModificationTime = value;
}
/**
* Gets the value of the data property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getData() {
return data;
}
/**
* Sets the value of the data property.
*
* @param value
* allowed object is
* byte[]
*/
public void setData(byte[] value) {
this.data = value;
}
}
}