Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.docbook.model.Info Maven / Gradle / Ivy
package org.docbook.model;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
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.XmlElements;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* 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">
* <choice maxOccurs="unbounded" minOccurs="0">
* <choice maxOccurs="unbounded" minOccurs="0">
* <element ref="{http://docbook.org/ns/docbook}title"/>
* <element ref="{http://docbook.org/ns/docbook}titleabbrev"/>
* <element ref="{http://docbook.org/ns/docbook}subtitle"/>
* </choice>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element ref="{http://docbook.org/ns/docbook}abstract"/>
* <element ref="{http://docbook.org/ns/docbook}address"/>
* <element ref="{http://docbook.org/ns/docbook}artpagenums"/>
* <element ref="{http://docbook.org/ns/docbook}author"/>
* <element ref="{http://docbook.org/ns/docbook}authorgroup"/>
* <element ref="{http://docbook.org/ns/docbook}authorinitials"/>
* <element ref="{http://docbook.org/ns/docbook}bibliocoverage"/>
* <element ref="{http://docbook.org/ns/docbook}biblioid"/>
* <element ref="{http://docbook.org/ns/docbook}bibliosource"/>
* <element ref="{http://docbook.org/ns/docbook}collab"/>
* <element ref="{http://docbook.org/ns/docbook}confgroup"/>
* <element ref="{http://docbook.org/ns/docbook}contractsponsor"/>
* <element ref="{http://docbook.org/ns/docbook}contractnum"/>
* <element ref="{http://docbook.org/ns/docbook}copyright"/>
* <element ref="{http://docbook.org/ns/docbook}cover"/>
* <element ref="{http://docbook.org/ns/docbook}date"/>
* <element ref="{http://docbook.org/ns/docbook}edition"/>
* <element ref="{http://docbook.org/ns/docbook}editor"/>
* <element ref="{http://docbook.org/ns/docbook}issuenum"/>
* <element ref="{http://docbook.org/ns/docbook}keywordset"/>
* <element ref="{http://docbook.org/ns/docbook}legalnotice"/>
* <element ref="{http://docbook.org/ns/docbook}mediaobject"/>
* <element ref="{http://docbook.org/ns/docbook}org"/>
* <element ref="{http://docbook.org/ns/docbook}orgname"/>
* <element ref="{http://docbook.org/ns/docbook}othercredit"/>
* <element ref="{http://docbook.org/ns/docbook}pagenums"/>
* <element ref="{http://docbook.org/ns/docbook}printhistory"/>
* <element ref="{http://docbook.org/ns/docbook}pubdate"/>
* <element ref="{http://docbook.org/ns/docbook}publisher"/>
* <element ref="{http://docbook.org/ns/docbook}publishername"/>
* <element ref="{http://docbook.org/ns/docbook}releaseinfo"/>
* <element ref="{http://docbook.org/ns/docbook}revhistory"/>
* <element ref="{http://docbook.org/ns/docbook}seriesvolnums"/>
* <element ref="{http://docbook.org/ns/docbook}subjectset"/>
* <element ref="{http://docbook.org/ns/docbook}volumenum"/>
* <element ref="{http://docbook.org/ns/docbook}annotation"/>
* <element ref="{http://docbook.org/ns/docbook}extendedlink"/>
* <element ref="{http://docbook.org/ns/docbook}bibliomisc"/>
* <element ref="{http://docbook.org/ns/docbook}bibliomset"/>
* <element ref="{http://docbook.org/ns/docbook}bibliorelation"/>
* <element ref="{http://docbook.org/ns/docbook}biblioset"/>
* <element ref="{http://docbook.org/ns/docbook}itermset"/>
* <element ref="{http://docbook.org/ns/docbook}productname"/>
* <element ref="{http://docbook.org/ns/docbook}productnumber"/>
* </choice>
* </choice>
* <attGroup ref="{http://docbook.org/ns/docbook}db.common.attributes"/>
* <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"content"
})
@XmlRootElement(name = "info")
public class Info {
@XmlElements({
@XmlElement(name = "title", type = Title.class),
@XmlElement(name = "titleabbrev", type = TitleAbbreviation.class),
@XmlElement(name = "subtitle", type = Subtitle.class),
@XmlElement(name = "abstract", type = Abstract.class),
@XmlElement(name = "address", type = Address.class),
@XmlElement(name = "artpagenums", type = Artpagenums.class),
@XmlElement(name = "author", type = Author.class),
@XmlElement(name = "authorgroup", type = Authorgroup.class),
@XmlElement(name = "authorinitials", type = Authorinitials.class),
@XmlElement(name = "bibliocoverage", type = BibliographicCoverage.class),
@XmlElement(name = "biblioid", type = BibliographicIdentifier.class),
@XmlElement(name = "bibliosource", type = BibliographicSource.class),
@XmlElement(name = "collab", type = Collab.class),
@XmlElement(name = "confgroup", type = Confgroup.class),
@XmlElement(name = "contractsponsor", type = Contractsponsor.class),
@XmlElement(name = "contractnum", type = Contractnum.class),
@XmlElement(name = "copyright", type = Copyright.class),
@XmlElement(name = "cover", type = Cover.class),
@XmlElement(name = "date", type = Date.class),
@XmlElement(name = "edition", type = Edition.class),
@XmlElement(name = "editor", type = Editor.class),
@XmlElement(name = "issuenum", type = Issuenum.class),
@XmlElement(name = "keywordset", type = Keywordset.class),
@XmlElement(name = "legalnotice", type = Legalnotice.class),
@XmlElement(name = "mediaobject", type = MediaObject.class),
@XmlElement(name = "org", type = Org.class),
@XmlElement(name = "orgname", type = OrganizationName.class),
@XmlElement(name = "othercredit", type = OtherCredit.class),
@XmlElement(name = "pagenums", type = Pagenums.class),
@XmlElement(name = "printhistory", type = Printhistory.class),
@XmlElement(name = "pubdate", type = Pubdate.class),
@XmlElement(name = "publisher", type = Publisher.class),
@XmlElement(name = "publishername", type = Publishername.class),
@XmlElement(name = "releaseinfo", type = Releaseinfo.class),
@XmlElement(name = "revhistory", type = Revhistory.class),
@XmlElement(name = "seriesvolnums", type = Seriesvolnums.class),
@XmlElement(name = "subjectset", type = Subjectset.class),
@XmlElement(name = "volumenum", type = Volumenum.class),
@XmlElement(name = "annotation", type = Annotation.class),
@XmlElement(name = "extendedlink", type = Extendedlink.class),
@XmlElement(name = "bibliomisc", type = Bibliomisc.class),
@XmlElement(name = "bibliomset", type = Bibliomset.class),
@XmlElement(name = "bibliorelation", type = BibliographicRelation.class),
@XmlElement(name = "biblioset", type = Biblioset.class),
@XmlElement(name = "itermset", type = Itermset.class),
@XmlElement(name = "productname", type = ProductName.class),
@XmlElement(name = "productnumber", type = Productnumber.class)
})
protected List content;
@XmlAttribute(name = "role")
@XmlSchemaType(name = "anySimpleType")
protected String role;
@XmlAttribute(name = "id", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
@XmlAttribute(name = "version")
@XmlSchemaType(name = "anySimpleType")
protected String version;
@XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlSchemaType(name = "anySimpleType")
protected String xmlLang;
@XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlSchemaType(name = "anySimpleType")
protected String base;
@XmlAttribute(name = "remap")
@XmlSchemaType(name = "anySimpleType")
protected String remap;
@XmlAttribute(name = "xreflabel")
@XmlSchemaType(name = "anySimpleType")
protected String xreflabel;
@XmlAttribute(name = "revisionflag")
protected RevisionFlag revisionflag;
@XmlAttribute(name = "dir")
protected Direction dir;
@XmlAttribute(name = "arch")
@XmlSchemaType(name = "anySimpleType")
protected String arch;
@XmlAttribute(name = "audience")
@XmlSchemaType(name = "anySimpleType")
protected String audience;
@XmlAttribute(name = "condition")
@XmlSchemaType(name = "anySimpleType")
protected String condition;
@XmlAttribute(name = "conformance")
@XmlSchemaType(name = "anySimpleType")
protected String conformance;
@XmlAttribute(name = "os")
@XmlSchemaType(name = "anySimpleType")
protected String os;
@XmlAttribute(name = "revision")
@XmlSchemaType(name = "anySimpleType")
protected String revisionAttribute;
@XmlAttribute(name = "security")
@XmlSchemaType(name = "anySimpleType")
protected String security;
@XmlAttribute(name = "userlevel")
@XmlSchemaType(name = "anySimpleType")
protected String userlevel;
@XmlAttribute(name = "vendor")
@XmlSchemaType(name = "anySimpleType")
protected String vendor;
@XmlAttribute(name = "wordsize")
@XmlSchemaType(name = "anySimpleType")
protected String wordsize;
@XmlAttribute(name = "annotations")
@XmlSchemaType(name = "anySimpleType")
protected String annotations;
/**
* Gets the value of the content 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 content property.
*
*
* For example, to add a new item, do as follows:
*
* getContent().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Title }
* {@link TitleAbbreviation }
* {@link Subtitle }
* {@link Abstract }
* {@link Address }
* {@link Artpagenums }
* {@link Author }
* {@link Authorgroup }
* {@link Authorinitials }
* {@link BibliographicCoverage }
* {@link BibliographicIdentifier }
* {@link BibliographicSource }
* {@link Collab }
* {@link Confgroup }
* {@link Contractsponsor }
* {@link Contractnum }
* {@link Copyright }
* {@link Cover }
* {@link Date }
* {@link Edition }
* {@link Editor }
* {@link Issuenum }
* {@link Keywordset }
* {@link Legalnotice }
* {@link MediaObject }
* {@link Org }
* {@link OrganizationName }
* {@link OtherCredit }
* {@link Pagenums }
* {@link Printhistory }
* {@link Pubdate }
* {@link Publisher }
* {@link Publishername }
* {@link Releaseinfo }
* {@link Revhistory }
* {@link Seriesvolnums }
* {@link Subjectset }
* {@link Volumenum }
* {@link Annotation }
* {@link Extendedlink }
* {@link Bibliomisc }
* {@link Bibliomset }
* {@link BibliographicRelation }
* {@link Biblioset }
* {@link Itermset }
* {@link ProductName }
* {@link Productnumber }
*
*
*/
public List getContent() {
if (content == null) {
content = new ArrayList();
}
return this.content;
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRole(String value) {
this.role = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the xmlLang property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getXmlLang() {
return xmlLang;
}
/**
* Sets the value of the xmlLang property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setXmlLang(String value) {
this.xmlLang = value;
}
/**
* Gets the value of the base property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBase() {
return base;
}
/**
* Sets the value of the base property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBase(String value) {
this.base = value;
}
/**
* Gets the value of the remap property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRemap() {
return remap;
}
/**
* Sets the value of the remap property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRemap(String value) {
this.remap = value;
}
/**
* Gets the value of the xreflabel property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getXreflabel() {
return xreflabel;
}
/**
* Sets the value of the xreflabel property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setXreflabel(String value) {
this.xreflabel = value;
}
/**
* Gets the value of the revisionflag property.
*
* @return
* possible object is
* {@link RevisionFlag }
*
*/
public RevisionFlag getRevisionflag() {
return revisionflag;
}
/**
* Sets the value of the revisionflag property.
*
* @param value
* allowed object is
* {@link RevisionFlag }
*
*/
public void setRevisionflag(RevisionFlag value) {
this.revisionflag = value;
}
/**
* Gets the value of the dir property.
*
* @return
* possible object is
* {@link Direction }
*
*/
public Direction getDir() {
return dir;
}
/**
* Sets the value of the dir property.
*
* @param value
* allowed object is
* {@link Direction }
*
*/
public void setDir(Direction value) {
this.dir = value;
}
/**
* Gets the value of the arch property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getArch() {
return arch;
}
/**
* Sets the value of the arch property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArch(String value) {
this.arch = value;
}
/**
* Gets the value of the audience property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAudience() {
return audience;
}
/**
* Sets the value of the audience property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAudience(String value) {
this.audience = value;
}
/**
* Gets the value of the condition property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCondition() {
return condition;
}
/**
* Sets the value of the condition property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCondition(String value) {
this.condition = value;
}
/**
* Gets the value of the conformance property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getConformance() {
return conformance;
}
/**
* Sets the value of the conformance property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setConformance(String value) {
this.conformance = value;
}
/**
* Gets the value of the os property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOs() {
return os;
}
/**
* Sets the value of the os property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOs(String value) {
this.os = value;
}
/**
* Gets the value of the revisionAttribute property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRevisionAttribute() {
return revisionAttribute;
}
/**
* Sets the value of the revisionAttribute property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRevisionAttribute(String value) {
this.revisionAttribute = value;
}
/**
* Gets the value of the security property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSecurity() {
return security;
}
/**
* Sets the value of the security property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSecurity(String value) {
this.security = value;
}
/**
* Gets the value of the userlevel property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUserlevel() {
return userlevel;
}
/**
* Sets the value of the userlevel property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUserlevel(String value) {
this.userlevel = value;
}
/**
* Gets the value of the vendor property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVendor() {
return vendor;
}
/**
* Sets the value of the vendor property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVendor(String value) {
this.vendor = value;
}
/**
* Gets the value of the wordsize property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getWordsize() {
return wordsize;
}
/**
* Sets the value of the wordsize property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWordsize(String value) {
this.wordsize = value;
}
/**
* Gets the value of the annotations property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAnnotations() {
return annotations;
}
/**
* Sets the value of the annotations property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAnnotations(String value) {
this.annotations = value;
}
public Info withContent(Object... values) {
if (values!= null) {
for (Object value: values) {
getContent().add(value);
}
}
return this;
}
public Info withContent(Collection values) {
if (values!= null) {
getContent().addAll(values);
}
return this;
}
public Info withRole(String value) {
setRole(value);
return this;
}
public Info withId(String value) {
setId(value);
return this;
}
public Info withVersion(String value) {
setVersion(value);
return this;
}
public Info withXmlLang(String value) {
setXmlLang(value);
return this;
}
public Info withBase(String value) {
setBase(value);
return this;
}
public Info withRemap(String value) {
setRemap(value);
return this;
}
public Info withXreflabel(String value) {
setXreflabel(value);
return this;
}
public Info withRevisionflag(RevisionFlag value) {
setRevisionflag(value);
return this;
}
public Info withDir(Direction value) {
setDir(value);
return this;
}
public Info withArch(String value) {
setArch(value);
return this;
}
public Info withAudience(String value) {
setAudience(value);
return this;
}
public Info withCondition(String value) {
setCondition(value);
return this;
}
public Info withConformance(String value) {
setConformance(value);
return this;
}
public Info withOs(String value) {
setOs(value);
return this;
}
public Info withRevisionAttribute(String value) {
setRevisionAttribute(value);
return this;
}
public Info withSecurity(String value) {
setSecurity(value);
return this;
}
public Info withUserlevel(String value) {
setUserlevel(value);
return this;
}
public Info withVendor(String value) {
setVendor(value);
return this;
}
public Info withWordsize(String value) {
setWordsize(value);
return this;
}
public Info withAnnotations(String value) {
setAnnotations(value);
return this;
}
}