All Downloads are FREE. Search and download functionalities are using the official Maven repository.

umich.ms.fileio.filetypes.pepxml.jaxb.primitive.SearchDatabase Maven / Gradle / Ivy

There is a newer version: 1.8.8
Show newest version

/*
 * Copyright (c) 2016 Dmitry Avtonomov
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package umich.ms.fileio.filetypes.pepxml.jaxb.primitive;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * 

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">
 *       <attribute name="local_path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="URL" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="database_name" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="orig_database_url" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="database_release_date" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *       <attribute name="database_release_identifier" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="size_in_db_entries" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
 *       <attribute name="size_of_residues" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
 *       <attribute name="type" use="required">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             <enumeration value="AA"/>
 *             <enumeration value="NA"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public class SearchDatabase { @XmlAttribute(name = "local_path", required = true) protected String localPath; @XmlAttribute(name = "URL") protected String url; @XmlAttribute(name = "database_name") protected String databaseName; @XmlAttribute(name = "orig_database_url") protected String origDatabaseUrl; @XmlAttribute(name = "database_release_date") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar databaseReleaseDate; @XmlAttribute(name = "database_release_identifier") protected String databaseReleaseIdentifier; @XmlAttribute(name = "size_in_db_entries") @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "nonNegativeInteger") protected Integer sizeInDbEntries; @XmlAttribute(name = "size_of_residues") @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "nonNegativeInteger") protected Integer sizeOfResidues; @XmlAttribute(name = "type", required = true) protected String type; /** * Gets the value of the localPath property. * * @return * possible object is * {@link String } * */ public String getLocalPath() { return localPath; } /** * Sets the value of the localPath property. * * @param value * allowed object is * {@link String } * */ public void setLocalPath(String value) { this.localPath = value; } /** * Gets the value of the url property. * * @return * possible object is * {@link String } * */ public String getURL() { return url; } /** * Sets the value of the url property. * * @param value * allowed object is * {@link String } * */ public void setURL(String value) { this.url = value; } /** * Gets the value of the databaseName property. * * @return * possible object is * {@link String } * */ public String getDatabaseName() { return databaseName; } /** * Sets the value of the databaseName property. * * @param value * allowed object is * {@link String } * */ public void setDatabaseName(String value) { this.databaseName = value; } /** * Gets the value of the origDatabaseUrl property. * * @return * possible object is * {@link String } * */ public String getOrigDatabaseUrl() { return origDatabaseUrl; } /** * Sets the value of the origDatabaseUrl property. * * @param value * allowed object is * {@link String } * */ public void setOrigDatabaseUrl(String value) { this.origDatabaseUrl = value; } /** * Gets the value of the databaseReleaseDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getDatabaseReleaseDate() { return databaseReleaseDate; } /** * Sets the value of the databaseReleaseDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setDatabaseReleaseDate(XMLGregorianCalendar value) { this.databaseReleaseDate = value; } /** * Gets the value of the databaseReleaseIdentifier property. * * @return * possible object is * {@link String } * */ public String getDatabaseReleaseIdentifier() { return databaseReleaseIdentifier; } /** * Sets the value of the databaseReleaseIdentifier property. * * @param value * allowed object is * {@link String } * */ public void setDatabaseReleaseIdentifier(String value) { this.databaseReleaseIdentifier = value; } /** * Gets the value of the sizeInDbEntries property. * * @return * possible object is * {@link String } * */ public Integer getSizeInDbEntries() { return sizeInDbEntries; } /** * Sets the value of the sizeInDbEntries property. * * @param value * allowed object is * {@link String } * */ public void setSizeInDbEntries(Integer value) { this.sizeInDbEntries = value; } /** * Gets the value of the sizeOfResidues property. * * @return * possible object is * {@link String } * */ public Integer getSizeOfResidues() { return sizeOfResidues; } /** * Sets the value of the sizeOfResidues property. * * @param value * allowed object is * {@link String } * */ public void setSizeOfResidues(Integer value) { this.sizeOfResidues = 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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy