org.allurefw.report.entity.AttachmentFile Maven / Gradle / Ivy
The newest version!
package org.allurefw.report.entity;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for AttachmentFile complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AttachmentFile">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="uid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="source" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="size" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
* <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AttachmentFile")
public class AttachmentFile implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlAttribute(name = "uid", required = true)
protected String uid;
@XmlAttribute(name = "source", required = true)
protected String source;
@XmlAttribute(name = "size", required = true)
protected long size;
@XmlAttribute(name = "type")
protected String type;
/**
* Gets the value of the uid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUid() {
return uid;
}
/**
* Sets the value of the uid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUid(String value) {
this.uid = value;
}
/**
* Gets the value of the source property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSource() {
return source;
}
/**
* Sets the value of the source property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSource(String value) {
this.source = value;
}
/**
* Gets the value of the size property.
*
*/
public long getSize() {
return size;
}
/**
* Sets the value of the size property.
*
*/
public void setSize(long value) {
this.size = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
public AttachmentFile withUid(String value) {
setUid(value);
return this;
}
public AttachmentFile withSource(String value) {
setSource(value);
return this;
}
public AttachmentFile withSize(long value) {
setSize(value);
return this;
}
public AttachmentFile withType(String value) {
setType(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy