Package de.isas.mztab2.model
Class Database
- java.lang.Object
- 
- de.isas.mztab2.model.Database
 
- 
 @Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2021-01-02T19:26:21.550+01:00") public class Database extends ObjectSpecification of databases. (empty): The description of databases used. For cases, where a known database has not been used for identification, a userParam SHOULD be inserted to describe any identification performed e.g. de novo. If no identification has been performed at all then "no database" should be inserted followed by null. prefix: The prefix used in the “identifier” column of data tables. For the “no database” case "null" must be used. version: The database version is mandatory where identification has been performed. This may be a formal version number e.g. “1.4.1”, a date of access “2016-10-27” (ISO-8601 format) or “Unknown” if there is no suitable version that can be annotated. uri: The URI to the database. For the “no database” case, "null" must be reported.mzTab-M specification example(s): MTD database[1] [MIRIAM, MIR:00100079, HMDB, ] MTD database[1]-prefix hmdb MTD database[1]-version 3.6 MTD database[1]-uri http://www.hmdb.ca/ MTD database[2] [,, "de novo", ] MTD database[2]-prefix dn MTD database[2]-version Unknown MTD database[2]-uri null MTD database[3] [,, "no database", null ] MTD database[3]-prefix null MTD database[3]-version Unknown MTD database[3]-uri null
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDatabase.PropertiesProperty enumeration for Database.
 - 
Constructor SummaryConstructors Constructor Description Database()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Min(1L) IntegergetId()Get id.@NotNull @Valid ParametergetParam()The parameter to identify this database.@NotNull StringgetPrefix()The database prefix.@NotNull StringgetUri()The URI to the online database.@NotNull StringgetVersion()The database version.inthashCode()Databaseid(Integer id)Builder method for id.Databaseparam(Parameter param)Builder method for param.Databaseprefix(String prefix)Builder method for prefix.voidsetId(Integer id)Set id.voidsetParam(Parameter param)Set param.voidsetPrefix(String prefix)Set prefix.voidsetUri(String uri)Set uri.voidsetVersion(String version)Set version.StringtoString()Databaseuri(String uri)Builder method for uri.Databaseversion(String version)Builder method for version.
 
- 
- 
- 
Constructor Detail- 
Databasepublic Database() 
 
- 
 - 
Method Detail- 
idpublic Database id(Integer id) Builder method for id.- Parameters:
- id- a- Integerparameter.
- Returns:
- Database
- See Also:
- Database#setId for specification examples,- Database#getId for validation constraints
 
 - 
setIdpublic void setId(Integer id) Set id.- Parameters:
- id- a- Integerparameter.
- See Also:
- Database#getId for validation constraints
 
 - 
parampublic Database param(Parameter param) Builder method for param.- Parameters:
- param- a- Parameterparameter.
- Returns:
- Database
- See Also:
- Database#setParam for specification examples,- Database#getParam for validation constraints
 
 - 
getParam@NotNull @Valid public @NotNull @Valid Parameter getParam() The parameter to identify this database.- Returns:
- param
 
 - 
setParampublic void setParam(Parameter param) Set param.- Parameters:
- param- a- Parameterparameter.
- See Also:
- Database#getParam for validation constraints
 
 - 
prefixpublic Database prefix(String prefix) Builder method for prefix.- Parameters:
- prefix- a- Stringparameter.
- Returns:
- Database
- See Also:
- Database#setPrefix for specification examples,- Database#getPrefix for validation constraints
 
 - 
setPrefixpublic void setPrefix(String prefix) Set prefix.- Parameters:
- prefix- a- Stringparameter.
- See Also:
- Database#getPrefix for validation constraints
 
 - 
versionpublic Database version(String version) Builder method for version.- Parameters:
- version- a- Stringparameter.
- Returns:
- Database
- See Also:
- Database#setVersion for specification examples,- Database#getVersion for validation constraints
 
 - 
getVersion@NotNull public @NotNull String getVersion() The database version.- Returns:
- version
 
 - 
setVersionpublic void setVersion(String version) Set version.- Parameters:
- version- a- Stringparameter.
- See Also:
- Database#getVersion for validation constraints
 
 - 
uripublic Database uri(String uri) Builder method for uri.- Parameters:
- uri- a- Stringparameter.
- Returns:
- Database
- See Also:
- Database#setUri for specification examples,- Database#getUri for validation constraints
 
 - 
setUripublic void setUri(String uri) Set uri.- Parameters:
- uri- a- Stringparameter.
- See Also:
- Database#getUri for validation constraints
 
 
- 
 
-