Interface IEntityJsonSchemaContext
-
- All Superinterfaces:
IEntityJsonContext,IEntityJsonInstanceContext
public interface IEntityJsonSchemaContext extends IEntityJsonInstanceContext
A parser context containing an instance and a schema.- Author:
- Bruce Skingle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.fasterxml.jackson.databind.node.ObjectNodegetSchemaJsonNode()ObjectgetSchemaSource()ObjectgetValidationResult()IEntityJsonSchemaContextwithValidationResult(Object validationResult)Set the validation result for this context.-
Methods inherited from interface org.symphonyoss.symphony.entityjson.IEntityJsonContext
withInstance
-
Methods inherited from interface org.symphonyoss.symphony.entityjson.IEntityJsonInstanceContext
getInstanceJsonNode, getInstanceSource, withSchema
-
-
-
-
Method Detail
-
withValidationResult
IEntityJsonSchemaContext withValidationResult(Object validationResult)
Set the validation result for this context. It is not intended that this method will be called from outside the current package, it is declared public only by virture of being specified in an interface.- Parameters:
validationResult- An object describing the result of validation.- Returns:
- The current object (fluent interface)
-
getSchemaSource
Object getSchemaSource()
- Returns:
- An object describing the source of the schema. Will not return null.
-
getSchemaJsonNode
com.fasterxml.jackson.databind.node.ObjectNode getSchemaJsonNode()
- Returns:
- The schema. Will not return null.
-
-