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:19:54.315+02:00") public class CV extends IndexedElementSpecification 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 CVelementType(java.lang.String elementType)Builder method for elementType.booleanequals(java.lang.Object o)CVfullName(java.lang.String fullName)Builder method for fullName.@NotNull java.lang.StringgetFullName()The full name of this CV, for humans.@NotNull java.lang.StringgetLabel()The abbreviated CV label.@NotNull java.lang.StringgetUri()A URI to the CV definition.@NotNull java.lang.StringgetVersion()The CV version used when the file was generated.inthashCode()CVid(java.lang.Integer id)Builder method for id.CVlabel(java.lang.String label)Builder method for label.voidsetFullName(java.lang.String fullName)Set fullName.voidsetLabel(java.lang.String label)Set label.voidsetUri(java.lang.String uri)Set uri.voidsetVersion(java.lang.String version)Set version.java.lang.StringtoString()CVuri(java.lang.String uri)Builder method for uri.CVversion(java.lang.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(java.lang.Integer id)
Description copied from class:IndexedElementBuilder method for id.- Overrides:
idin classIndexedElement- Parameters:
id- aIntegerparameter.- Returns:
- IndexedElement
- See Also:
IndexedElement#setId for specification examples,IndexedElement#getId for validation constraints
-
elementType
public CV elementType(java.lang.String elementType)
Description copied from class:IndexedElementBuilder method for elementType.- Overrides:
elementTypein classIndexedElement- Parameters:
elementType- aStringparameter.- Returns:
- IndexedElement
- See Also:
IndexedElement#setElementType for specification examples,IndexedElement#getElementType for validation constraints
-
label
public CV label(java.lang.String label)
Builder method for label.- Parameters:
label- aStringparameter.- Returns:
- CV
- See Also:
CV#setLabel for specification examples,CV#getLabel for validation constraints
-
getLabel
@NotNull public @NotNull java.lang.String getLabel()
The abbreviated CV label.- Returns:
- label
-
setLabel
public void setLabel(java.lang.String label)
Set label.- Parameters:
label- aStringparameter.- See Also:
CV#getLabel for validation constraints
-
fullName
public CV fullName(java.lang.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 java.lang.String getFullName()
The full name of this CV, for humans.- Returns:
- fullName
-
setFullName
public void setFullName(java.lang.String fullName)
Set fullName.- Parameters:
fullName- aStringparameter.- See Also:
CV#getFullName for validation constraints
-
version
public CV version(java.lang.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 java.lang.String getVersion()
The CV version used when the file was generated.- Returns:
- version
-
setVersion
public void setVersion(java.lang.String version)
Set version.- Parameters:
version- aStringparameter.- See Also:
CV#getVersion for validation constraints
-
uri
public CV uri(java.lang.String uri)
Builder method for uri.- Parameters:
uri- aStringparameter.- Returns:
- CV
- See Also:
CV#setUri for specification examples,CV#getUri for validation constraints
-
getUri
@NotNull public @NotNull java.lang.String getUri()
A URI to the CV definition.- Returns:
- uri
-
setUri
public void setUri(java.lang.String uri)
Set uri.- Parameters:
uri- aStringparameter.- See Also:
CV#getUri for validation constraints
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classIndexedElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classIndexedElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classIndexedElement
-
-