org.d2rq.validation
Class Message
java.lang.Object
org.d2rq.validation.Message
public class Message
- extends Object
Message
public Message(Message.Problem problem)
Message
public Message(Message.Problem problem,
String details)
Message
public Message(Message.Problem problem,
Resource subject,
Property[] predicates,
RDFNode[] objects)
- Parameters:
problem
- subject
- May be nullpredicates
- May be nullobjects
- May be null
Message
public Message(Message.Problem problem,
MappingTerm term,
String detailCode,
String details,
Resource contextResource,
Property contextProperty)
- Parameters:
problem
- term
- detailCode
- Optional error code; indicates a subclass of problemsdetails
- Optional string containing error detailscontextResource
- May be nullcontextProperty
- May be null
getLevel
public Message.Level getLevel()
getProblem
public Message.Problem getProblem()
getProblemTitle
public String getProblemTitle()
getSubject
public Resource getSubject()
getPredicate
public Property getPredicate()
getPredicates
public List<Property> getPredicates()
getObject
public RDFNode getObject()
getObjects
public List<RDFNode> getObjects()
getValue
public String getValue()
getDetailCode
public String getDetailCode()
getDetails
public String getDetails()
getTemplate
public String getTemplate()
toString
public String toString()
- Overrides:
toString
in class Object