Package de.isas.mztab2.model
Class CV
- java.lang.Object
 - 
- de.isas.mztab2.model.CV
 
 
- 
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2021-01-02T19:26:21.550+01:00") public class CV extends ObjectSpecification of controlled vocabularies. label: A string describing the labels of the controlled vocabularies/ontologies used in the mzTab file as a short-hand e.g. "MS" for PSI-MS. full_name: A string describing the full names of the controlled vocabularies/ontologies used in the mzTab file. version: A string describing the version of the controlled vocabularies/ontologies used in the mzTab file. uri: A string containing the URIs of the controlled vocabularies/ontologies used in the mzTab file.mzTab-M specification example(s):
MTD cv[1]-label MS MTD cv[1]-full_name PSI-MS controlled vocabulary MTD cv[1]-version 4.1.11 MTD cv[1]-uri https://raw.githubusercontent.com/HUPO-PSI/psi-ms-CV/master/psi-ms.obo 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCV.PropertiesProperty enumeration for CV. 
- 
Constructor Summary
Constructors Constructor Description CV() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)CVfullName(String fullName)Builder method for fullName.@NotNull StringgetFullName()The full name of this CV, for humans.@Min(1L) IntegergetId()Get id.@NotNull StringgetLabel()The abbreviated CV label.@NotNull StringgetUri()A URI to the CV definition.@NotNull StringgetVersion()The CV version used when the file was generated.inthashCode()CVid(Integer id)Builder method for id.CVlabel(String label)Builder method for label.voidsetFullName(String fullName)Set fullName.voidsetId(Integer id)Set id.voidsetLabel(String label)Set label.voidsetUri(String uri)Set uri.voidsetVersion(String version)Set version.StringtoString()CVuri(String uri)Builder method for uri.CVversion(String version)Builder method for version. 
 - 
 
- 
- 
Constructor Detail
- 
CV
public CV()
 
 - 
 
- 
Method Detail
- 
id
public CV id(Integer id)
Builder method for id.- Parameters:
 id- aIntegerparameter.- Returns:
 - CV
 - See Also:
 CV#setId for specification examples,CV#getId for validation constraints
 
- 
setId
public void setId(Integer id)
Set id.- Parameters:
 id- aIntegerparameter.- See Also:
 CV#getId for validation constraints
 
- 
label
public CV label(String label)
Builder method for label.- Parameters:
 label- aStringparameter.- Returns:
 - CV
 - See Also:
 CV#setLabel for specification examples,CV#getLabel for validation constraints
 
- 
setLabel
public void setLabel(String label)
Set label.- Parameters:
 label- aStringparameter.- See Also:
 CV#getLabel for validation constraints
 
- 
fullName
public CV fullName(String fullName)
Builder method for fullName.- Parameters:
 fullName- aStringparameter.- Returns:
 - CV
 - See Also:
 CV#setFullName for specification examples,CV#getFullName for validation constraints
 
- 
getFullName
@NotNull public @NotNull String getFullName()
The full name of this CV, for humans.- Returns:
 - fullName
 
 
- 
setFullName
public void setFullName(String fullName)
Set fullName.- Parameters:
 fullName- aStringparameter.- See Also:
 CV#getFullName for validation constraints
 
- 
version
public CV version(String version)
Builder method for version.- Parameters:
 version- aStringparameter.- Returns:
 - CV
 - See Also:
 CV#setVersion for specification examples,CV#getVersion for validation constraints
 
- 
getVersion
@NotNull public @NotNull String getVersion()
The CV version used when the file was generated.- Returns:
 - version
 
 
- 
setVersion
public void setVersion(String version)
Set version.- Parameters:
 version- aStringparameter.- See Also:
 CV#getVersion for validation constraints
 
- 
uri
public CV uri(String uri)
Builder method for uri.- Parameters:
 uri- aStringparameter.- Returns:
 - CV
 - See Also:
 CV#setUri for specification examples,CV#getUri for validation constraints
 
- 
setUri
public void setUri(String uri)
Set uri.- Parameters:
 uri- aStringparameter.- See Also:
 CV#getUri for validation constraints
 
 - 
 
 -