public class JsonValidationReport extends Object implements IssueInterface
| Constructor and Description |
|---|
JsonValidationReport() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Type messageType,
String message,
Object is,
String shouldBe) |
void |
add(Type messageType,
String type,
String guid,
Long oid,
String key,
Object is,
String shouldBe) |
void |
add(Type messageType,
String type,
String guid,
long oid,
String key,
String is,
String shouldBe) |
void |
addHeader(String value) |
void |
applyToModel(IfcModelInterface model) |
byte[] |
getBytes() |
List<Item> |
getItems() |
void |
setCheckValid(String identifier,
boolean valid) |
String |
toHtml(String header,
String footer) |
com.fasterxml.jackson.databind.node.ObjectNode |
toJson(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
void |
validate() |
public void addHeader(String value)
addHeader in interface IssueInterfacepublic com.fasterxml.jackson.databind.node.ObjectNode toJson(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public void applyToModel(IfcModelInterface model) throws IfcModelInterfaceException
IfcModelInterfaceExceptionpublic void add(Type messageType, String type, String guid, long oid, String key, String is, String shouldBe)
public void add(Type messageType, String type, String guid, Long oid, String key, Object is, String shouldBe)
add in interface IssueInterfacepublic void add(Type messageType, String message, Object is, String shouldBe) throws IssueException
add in interface IssueInterfaceIssueExceptionpublic byte[] getBytes()
getBytes in interface IssueInterfacepublic void validate()
throws IssueValidationException
validate in interface IssueInterfaceIssueValidationExceptionpublic void setCheckValid(String identifier, boolean valid)
setCheckValid in interface IssueInterfaceCopyright © 2016 OpenSource BIM. All rights reserved.