50 lines
839 B
Java
50 lines
839 B
Java
|
package org.gcube.portlets.user.td.tablewidget.client.validation.tree;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @author "Giancarlo Panichi"
|
||
|
*
|
||
|
*/
|
||
|
public class ValidationDto extends BaseDto {
|
||
|
|
||
|
private static final long serialVersionUID = -4353641080571614057L;
|
||
|
|
||
|
protected String description;
|
||
|
protected Boolean valid;
|
||
|
|
||
|
public ValidationDto(){
|
||
|
|
||
|
}
|
||
|
|
||
|
public ValidationDto(String description, Boolean valid){
|
||
|
this.description=description;
|
||
|
this.valid=valid;
|
||
|
}
|
||
|
|
||
|
|
||
|
public String getDescription() {
|
||
|
return description;
|
||
|
}
|
||
|
|
||
|
public void setDescription(String description) {
|
||
|
this.description = description;
|
||
|
}
|
||
|
|
||
|
public Boolean getValid() {
|
||
|
return valid;
|
||
|
}
|
||
|
|
||
|
public void setValid(Boolean valid) {
|
||
|
this.valid = valid;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String toString() {
|
||
|
return "ValidationDto [description=" + description + ", valid=" + valid
|
||
|
+ "]";
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
}
|