Package de.isas.mztab2.model
Class CV
- java.lang.Object
-
- de.isas.mztab2.model.IndexedElement
-
- de.isas.mztab2.model.CV
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-08-07T11:10:11.690+02:00") public class CV extends IndexedElement
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 CV
elementType(String elementType)
Builder method for elementType.boolean
equals(Object o)
CV
fullName(String fullName)
Builder method for fullName.@NotNull String
getFullName()
The full name of this CV, for humans.@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
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.-
Methods inherited from class de.isas.mztab2.model.IndexedElement
getElementType, getId, setElementType, setId
-
-
-
-
Method Detail
-
id
public CV id(Integer id)
Description copied from class:IndexedElement
Builder method for id.- Overrides:
id
in classIndexedElement
- Parameters:
id
- aInteger
parameter.- Returns:
- IndexedElement
- See Also:
IndexedElement#setId for specification examples
,IndexedElement#getId for validation constraints
-
elementType
public CV elementType(String elementType)
Description copied from class:IndexedElement
Builder method for elementType.- Overrides:
elementType
in classIndexedElement
- Parameters:
elementType
- aString
parameter.- Returns:
- IndexedElement
- See Also:
IndexedElement#setElementType for specification examples
,IndexedElement#getElementType 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
-
getLabel
@NotNull public @NotNull String getLabel()
The abbreviated CV label.- Returns:
- label
-
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
-
getUri
@NotNull public @NotNull String getUri()
A URI to the CV definition.- Returns:
- uri
-
setUri
public void setUri(String uri)
Set uri.- Parameters:
uri
- aString
parameter.- See Also:
CV#getUri for validation constraints
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classIndexedElement
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classIndexedElement
-
toString
public String toString()
- Overrides:
toString
in classIndexedElement
-
-