
org.openfuxml.content.ofx.Document Maven / Gradle / Ivy
package org.openfuxml.content.ofx;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* 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 ref="{http://www.openfuxml.org}metadata"/>
* <element ref="{http://www.openfuxml.org}content"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"metadata",
"content"
})
@XmlRootElement(name = "document")
public class Document
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
protected Metadata metadata;
@XmlElement(required = true)
protected Content content;
/**
* Gets the value of the metadata property.
*
* @return
* possible object is
* {@link Metadata }
*
*/
public Metadata getMetadata() {
return metadata;
}
/**
* Sets the value of the metadata property.
*
* @param value
* allowed object is
* {@link Metadata }
*
*/
public void setMetadata(Metadata value) {
this.metadata = value;
}
public boolean isSetMetadata() {
return (this.metadata!= null);
}
/**
* Gets the value of the content property.
*
* @return
* possible object is
* {@link Content }
*
*/
public Content getContent() {
return content;
}
/**
* Sets the value of the content property.
*
* @param value
* allowed object is
* {@link Content }
*
*/
public void setContent(Content value) {
this.content = value;
}
public boolean isSetContent() {
return (this.content!= null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy