Class CodegenJavaSchema

    • Constructor Detail

      • CodegenJavaSchema

        public CodegenJavaSchema()
    • Method Detail

      • setType

        public void setType​(String type)
      • isNullable

        public boolean isNullable()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getCollection

        public String getCollection()
        Returns:
        the collection
      • setCollection

        public void setCollection​(String collection)
        Parameters:
        collection - the collection to set
      • getType

        public List<String> getType()
        Returns:
        the type
      • setType

        public void setType​(List<String> type)
        Parameters:
        type - the type to set
      • getFormat

        public String getFormat()
        Returns:
        the format
      • setFormat

        public void setFormat​(String format)
        Parameters:
        format - the format to set
      • getConstant

        public String getConstant()
        Returns:
        the constant
      • setConstant

        public void setConstant​(String constant)
        Parameters:
        constant - the constant to set
      • getMaximum

        public Number getMaximum()
        Returns:
        the maximum
      • setMaximum

        public void setMaximum​(Number maximum)
        Parameters:
        maximum - the maximum to set
      • isExclusiveMaximum

        public boolean isExclusiveMaximum()
        Returns:
        the exclusiveMaximum
      • setExclusiveMaximum

        public void setExclusiveMaximum​(boolean exclusiveMaximum)
        Parameters:
        exclusiveMaximum - the exclusiveMaximum to set
      • getMinimum

        public Number getMinimum()
        Returns:
        the minimum
      • setMinimum

        public void setMinimum​(Number minimum)
        Parameters:
        minimum - the minimum to set
      • isExclusiveMinimum

        public boolean isExclusiveMinimum()
        Returns:
        the exclusiveMinimum
      • setExclusiveMinimum

        public void setExclusiveMinimum​(boolean exclusiveMinimum)
        Parameters:
        exclusiveMinimum - the exclusiveMinimum to set
      • getMaxLength

        public Long getMaxLength()
        Returns:
        the maxLength
      • setMaxLength

        public void setMaxLength​(Long maxLength)
        Parameters:
        maxLength - the maxLength to set
      • getMinLength

        public Long getMinLength()
        Returns:
        the minLength
      • setMinLength

        public void setMinLength​(Long minLength)
        Parameters:
        minLength - the minLength to set
      • getPattern

        public String getPattern()
        Returns:
        the pattern
      • setPattern

        public void setPattern​(String pattern)
        Parameters:
        pattern - the pattern to set
      • getMaxItems

        public Long getMaxItems()
        Returns:
        the maxItems
      • setMaxItems

        public void setMaxItems​(Long maxItems)
        Parameters:
        maxItems - the maxItems to set
      • getMinItems

        public Long getMinItems()
        Returns:
        the minItems
      • setMinItems

        public void setMinItems​(Long minItems)
        Parameters:
        minItems - the minItems to set
      • getUniqueItems

        public Boolean getUniqueItems()
        Returns:
        the uniqueItems
      • setUniqueItems

        public void setUniqueItems​(Boolean uniqueItems)
        Parameters:
        uniqueItems - the uniqueItems to set
      • getMaxProperties

        public Long getMaxProperties()
        Returns:
        the maxProperties
      • setMaxProperties

        public void setMaxProperties​(Long maxProperties)
        Parameters:
        maxProperties - the maxProperties to set
      • getMinProperties

        public Long getMinProperties()
        Returns:
        the minProperties
      • setMinProperties

        public void setMinProperties​(Long minProperties)
        Parameters:
        minProperties - the minProperties to set
      • getDefaultValue

        public String getDefaultValue()
        Returns:
        the defaultValue
      • setDefaultValue

        public void setDefaultValue​(String defaultValue)
        Parameters:
        defaultValue - the defaultValue to set