public class ValidationReportDV extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ValidationReportDV.ValidationStatus
The Enum ValidationStatus.
|
| Constructor and Description |
|---|
ValidationReportDV()
Instantiates a new validation report DV.
|
ValidationReportDV(String objectName,
ValidationReportDV.ValidationStatus status,
List<String> errorMessages,
List<String> warningMessages,
String asJSONString)
Instantiates a new validation report DV.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAsJSONString()
Gets the as JSON string.
|
List<String> |
getErrorMessages()
Gets the error messages.
|
String |
getObjectName()
Gets the object name.
|
ValidationReportDV.ValidationStatus |
getStatus()
Gets the status.
|
List<String> |
getWarningMessages()
Gets the warning messages.
|
void |
setAsJSONString(String asJSONString)
Sets the as JSON string.
|
void |
setErrorMessages(List<String> errorMessages)
Sets the error messages.
|
void |
setObjectName(String objectName)
Sets the object name.
|
void |
setStatus(ValidationReportDV.ValidationStatus status)
Sets the status.
|
void |
setWarningMessages(List<String> warningMessages)
Sets the warning messages.
|
String |
toString()
To string.
|
public ValidationReportDV()
public ValidationReportDV(String objectName, ValidationReportDV.ValidationStatus status, List<String> errorMessages, List<String> warningMessages, String asJSONString)
objectName - the object namestatus - the statuserrorMessages - the error messageswarningMessages - the warning messagesasJSONString - the as JSON stringpublic String getObjectName()
public ValidationReportDV.ValidationStatus getStatus()
public List<String> getErrorMessages()
public List<String> getWarningMessages()
public String getAsJSONString()
public void setObjectName(String objectName)
objectName - the new object namepublic void setStatus(ValidationReportDV.ValidationStatus status)
status - the new statuspublic void setErrorMessages(List<String> errorMessages)
errorMessages - the new error messagespublic void setWarningMessages(List<String> warningMessages)
warningMessages - the new warning messagespublic void setAsJSONString(String asJSONString)
asJSONString - the new as JSON stringCopyright © 2022. All Rights Reserved.