Package de.isas.mztab2.model
Class ValidationMessage
- java.lang.Object
-
- de.isas.mztab2.model.ValidationMessage
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2021-01-02T19:26:21.550+01:00") public class ValidationMessage extends Object
ValidationMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValidationMessage.CategoryEnum
Gets or Sets categorystatic class
ValidationMessage.MessageTypeEnum
Gets or Sets messageTypestatic class
ValidationMessage.Properties
Property enumeration for ValidationMessage.
-
Constructor Summary
Constructors Constructor Description ValidationMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationMessage
category(ValidationMessage.CategoryEnum category)
Builder method for category.ValidationMessage
code(String code)
Builder method for code.boolean
equals(Object o)
@NotNull ValidationMessage.CategoryEnum
getCategory()
Get category.@NotNull String
getCode()
Get code.Long
getLineNumber()
Get lineNumber.@NotNull String
getMessage()
Get message.ValidationMessage.MessageTypeEnum
getMessageType()
Get messageType.int
hashCode()
ValidationMessage
lineNumber(Long lineNumber)
Builder method for lineNumber.ValidationMessage
message(String message)
Builder method for message.ValidationMessage
messageType(ValidationMessage.MessageTypeEnum messageType)
Builder method for messageType.void
setCategory(ValidationMessage.CategoryEnum category)
Set category.void
setCode(String code)
Set code.void
setLineNumber(Long lineNumber)
Set lineNumber.void
setMessage(String message)
Set message.void
setMessageType(ValidationMessage.MessageTypeEnum messageType)
Set messageType.String
toString()
-
-
-
Constructor Detail
-
ValidationMessage
public ValidationMessage()
-
-
Method Detail
-
code
public ValidationMessage code(String code)
Builder method for code.- Parameters:
code
- aString
parameter.- Returns:
- ValidationMessage
- See Also:
ValidationMessage#setCode for specification examples
,ValidationMessage#getCode for validation constraints
-
setCode
public void setCode(String code)
Set code.- Parameters:
code
- aString
parameter.- See Also:
ValidationMessage#getCode for validation constraints
-
category
public ValidationMessage category(ValidationMessage.CategoryEnum category)
Builder method for category.- Parameters:
category
- aCategoryEnum
parameter.- Returns:
- ValidationMessage
- See Also:
ValidationMessage#setCategory for specification examples
,ValidationMessage#getCategory for validation constraints
-
getCategory
@NotNull public @NotNull ValidationMessage.CategoryEnum getCategory()
Get category.
- Returns:
- category
-
setCategory
public void setCategory(ValidationMessage.CategoryEnum category)
Set category.- Parameters:
category
- aCategoryEnum
parameter.- See Also:
ValidationMessage#getCategory for validation constraints
-
messageType
public ValidationMessage messageType(ValidationMessage.MessageTypeEnum messageType)
Builder method for messageType.- Parameters:
messageType
- aMessageTypeEnum
parameter.- Returns:
- ValidationMessage
- See Also:
ValidationMessage#setMessageType for specification examples
,ValidationMessage#getMessageType for validation constraints
-
getMessageType
public ValidationMessage.MessageTypeEnum getMessageType()
Get messageType.
- Returns:
- messageType
-
setMessageType
public void setMessageType(ValidationMessage.MessageTypeEnum messageType)
Set messageType.- Parameters:
messageType
- aMessageTypeEnum
parameter.- See Also:
ValidationMessage#getMessageType for validation constraints
-
message
public ValidationMessage message(String message)
Builder method for message.- Parameters:
message
- aString
parameter.- Returns:
- ValidationMessage
- See Also:
ValidationMessage#setMessage for specification examples
,ValidationMessage#getMessage for validation constraints
-
getMessage
@NotNull public @NotNull String getMessage()
Get message.
- Returns:
- message
-
setMessage
public void setMessage(String message)
Set message.- Parameters:
message
- aString
parameter.- See Also:
ValidationMessage#getMessage for validation constraints
-
lineNumber
public ValidationMessage lineNumber(Long lineNumber)
Builder method for lineNumber.- Parameters:
lineNumber
- aLong
parameter.- Returns:
- ValidationMessage
- See Also:
ValidationMessage#setLineNumber for specification examples
,ValidationMessage#getLineNumber for validation constraints
-
getLineNumber
public Long getLineNumber()
Get lineNumber.
- Returns:
- lineNumber
-
setLineNumber
public void setLineNumber(Long lineNumber)
Set lineNumber.- Parameters:
lineNumber
- aLong
parameter.- See Also:
ValidationMessage#getLineNumber for validation constraints
-
-