Class CrestAnySchema

  • All Implemented Interfaces:
    WithExampleSchema<Object>

    public class CrestAnySchema
    extends com.fasterxml.jackson.module.jsonSchema.types.AnySchema
    implements WithExampleSchema<Object>
    An extension to the Jackson AnySchema that includes the custom CREST JSON Schema attributes.
    • Constructor Detail

      • CrestAnySchema

        public CrestAnySchema()
    • Method Detail

      • setWritePolicy

        public void setWritePolicy​(WritePolicy policy)
      • getReadPolicy

        public ReadPolicy getReadPolicy()
      • setReadPolicy

        public void setReadPolicy​(ReadPolicy readPolicy)
      • getErrorOnWritePolicyFailure

        public Boolean getErrorOnWritePolicyFailure()
      • setErrorOnWritePolicyFailure

        public void setErrorOnWritePolicyFailure​(Boolean errorOnWritePolicyFailure)
      • getReturnOnDemand

        public Boolean getReturnOnDemand()
      • setReturnOnDemand

        public void setReturnOnDemand​(Boolean returnOnDemand)
      • getPropertyOrder

        public Integer getPropertyOrder()
      • setPropertyOrder

        public void setPropertyOrder​(Integer order)
      • validate

        public void validate​(JsonValue object)
                      throws javax.validation.ValidationException
        Throws:
        javax.validation.ValidationException