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:25:37.430+01:00") public class CV extends Object
Specification 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 class
CV.Properties
Property enumeration for CV.
-
Constructor Summary
Constructors Constructor Description CV()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
CV
fullName(String fullName)
Builder method for fullName.@NotNull String
getFullName()
The full name of this CV, for humans.@Min(1L) Integer
getId()
Get id.@NotNull String
getLabel()
The abbreviated CV label.@NotNull String
getUri()
A URI to the CV definition.@NotNull String
getVersion()
The CV version used when the file was generated.int
hashCode()
CV
id(Integer id)
Builder method for id.CV
label(String label)
Builder method for label.void
setFullName(String fullName)
Set fullName.void
setId(Integer id)
Set id.void
setLabel(String label)
Set label.void
setUri(String uri)
Set uri.void
setVersion(String version)
Set version.String
toString()
CV
uri(String uri)
Builder method for uri.CV
version(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
- aInteger
parameter.- Returns:
- CV
- See Also:
CV#setId for specification examples
,CV#getId for validation constraints
-
setId
public void setId(Integer id)
Set id.- Parameters:
id
- aInteger
parameter.- See Also:
CV#getId for validation constraints
-
label
public CV label(String label)
Builder method for label.- Parameters:
label
- aString
parameter.- Returns:
- CV
- See Also:
CV#setLabel for specification examples
,CV#getLabel for validation constraints
-
setLabel
public void setLabel(String label)
Set label.- Parameters:
label
- aString
parameter.- See Also:
CV#getLabel for validation constraints
-
fullName
public CV fullName(String fullName)
Builder method for fullName.- Parameters:
fullName
- aString
parameter.- 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
- aString
parameter.- See Also:
CV#getFullName for validation constraints
-
version
public CV version(String version)
Builder method for version.- Parameters:
version
- aString
parameter.- 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
- aString
parameter.- See Also:
CV#getVersion for validation constraints
-
uri
public CV uri(String uri)
Builder method for uri.- Parameters:
uri
- aString
parameter.- Returns:
- CV
- See Also:
CV#setUri for specification examples
,CV#getUri for validation constraints
-
setUri
public void setUri(String uri)
Set uri.- Parameters:
uri
- aString
parameter.- See Also:
CV#getUri for validation constraints
-
-