no.difi.xsd.asic.model._1.AsicFile Maven / Gradle / Ivy
Show all versions of commons-asic Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.04.07 at 02:26:28 PM CEST
//
package no.difi.xsd.asic.model._1;
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for asicFile complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="asicFile">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="mimetype" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="digest" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
* <element name="certRef" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
* <element name="verified" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "asicFile", propOrder = {
"name",
"mimetype",
"digest",
"certRef",
"verified"
})
public class AsicFile {
@XmlElement(required = true)
protected String name;
@XmlElement(required = true)
protected String mimetype;
@XmlElement(required = true)
protected byte[] digest;
@XmlElement(required = true)
protected List certRef;
protected boolean verified;
/**
* 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 mimetype property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMimetype() {
return mimetype;
}
/**
* Sets the value of the mimetype property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMimetype(String value) {
this.mimetype = value;
}
/**
* Gets the value of the digest property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getDigest() {
return digest;
}
/**
* Sets the value of the digest property.
*
* @param value
* allowed object is
* byte[]
*/
public void setDigest(byte[] value) {
this.digest = value;
}
/**
* Gets the value of the certRef 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 certRef property.
*
*
* For example, to add a new item, do as follows:
*
* getCertRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getCertRef() {
if (certRef == null) {
certRef = new ArrayList();
}
return this.certRef;
}
/**
* Gets the value of the verified property.
*
*/
public boolean isVerified() {
return verified;
}
/**
* Sets the value of the verified property.
*
*/
public void setVerified(boolean value) {
this.verified = value;
}
}