Class ObjectNotNullConverter<T>

  • All Implemented Interfaces:
    io.openapiprocessor.jsonschema.converter.PropertyConverter<T>

    public class ObjectNotNullConverter<T>
    extends ObjectNullableConverter<T>
    get a ObjectNotNullConverter object from the property or throw if the property has no value.
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectNotNullConverter​(io.openapiprocessor.jsonschema.schema.Scope scope, Factory<T> factory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable T convert​(java.lang.String name, @Nullable java.lang.Object value, java.lang.String location)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.openapiprocessor.jsonschema.converter.PropertyConverter

        convert
    • Constructor Detail

      • ObjectNotNullConverter

        public ObjectNotNullConverter​(io.openapiprocessor.jsonschema.schema.Scope scope,
                                      Factory<T> factory)
    • Method Detail

      • convert

        public @Nullable T convert​(java.lang.String name,
                                   @Nullable java.lang.Object value,
                                   java.lang.String location)
        Specified by:
        convert in interface io.openapiprocessor.jsonschema.converter.PropertyConverter<T>
        Overrides:
        convert in class ObjectNullableConverter<T>