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="2020-02-11T15:11:41.249+01: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 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(String elementType)Builder method for elementType.booleanequals(Object o)CVfullName(String fullName)Builder method for fullName.@NotNull StringgetFullName()The full name of this CV, for humans.@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.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.- 
Methods inherited from class de.isas.mztab2.model.IndexedElement
getElementType, getId, setElementType, setId 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
CV
public CV()
 
 - 
 
- 
Method Detail
- 
id
public CV id(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(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(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
 
- 
equals
public boolean equals(Object o)
- Overrides:
 equalsin classIndexedElement
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classIndexedElement
 
- 
toString
public String toString()
- Overrides:
 toStringin classIndexedElement
 
 - 
 
 -