Package de.isas.mztab2.model
Class Comment
- java.lang.Object
-
- de.isas.mztab2.model.Comment
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2021-01-02T19:26:21.550+01:00") public class Comment extends Object
Comment lines can be placed anywhere in an mzTab file. These lines must start with the three-letter code COM and are ignored by most parsers. Empty lines can also occur anywhere in an mzTab file and are ignored.mzTab-M specification example(s):
COM This is a comment line
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Comment.PrefixEnum
Gets or Sets prefixstatic class
Comment.Properties
Property enumeration for Comment.
-
Constructor Summary
Constructors Constructor Description Comment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Integer
getLineNumber()
Get lineNumber.@NotNull String
getMsg()
Get msg.@NotNull Comment.PrefixEnum
getPrefix()
Get prefix.int
hashCode()
Comment
lineNumber(Integer lineNumber)
Builder method for lineNumber.Comment
msg(String msg)
Builder method for msg.Comment
prefix(Comment.PrefixEnum prefix)
Builder method for prefix.void
setLineNumber(Integer lineNumber)
Set lineNumber.void
setMsg(String msg)
Set msg.void
setPrefix(Comment.PrefixEnum prefix)
Set prefix.String
toString()
-
-
-
Constructor Detail
-
Comment
public Comment()
-
-
Method Detail
-
prefix
public Comment prefix(Comment.PrefixEnum prefix)
Builder method for prefix.- Parameters:
prefix
- aPrefixEnum
parameter.- Returns:
- Comment
- See Also:
Comment#setPrefix for specification examples
,Comment#getPrefix for validation constraints
-
getPrefix
@NotNull public @NotNull Comment.PrefixEnum getPrefix()
Get prefix.
- Returns:
- prefix
-
setPrefix
public void setPrefix(Comment.PrefixEnum prefix)
Set prefix.- Parameters:
prefix
- aPrefixEnum
parameter.- See Also:
Comment#getPrefix for validation constraints
-
msg
public Comment msg(String msg)
Builder method for msg.- Parameters:
msg
- aString
parameter.- Returns:
- Comment
- See Also:
Comment#setMsg for specification examples
,Comment#getMsg for validation constraints
-
setMsg
public void setMsg(String msg)
Set msg.- Parameters:
msg
- aString
parameter.- See Also:
Comment#getMsg for validation constraints
-
lineNumber
public Comment lineNumber(Integer lineNumber)
Builder method for lineNumber.- Parameters:
lineNumber
- aInteger
parameter.- Returns:
- Comment
- See Also:
Comment#setLineNumber for specification examples
,Comment#getLineNumber for validation constraints
-
getLineNumber
public Integer getLineNumber()
Get lineNumber.
- Returns:
- lineNumber
-
setLineNumber
public void setLineNumber(Integer lineNumber)
Set lineNumber.- Parameters:
lineNumber
- aInteger
parameter.- See Also:
Comment#getLineNumber for validation constraints
-
-