All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlassian.json.schema.model.AbstractSchema Maven / Gradle / Ivy

There is a newer version: 1.1.3
Show newest version
package com.atlassian.json.schema.model;

import java.util.Map;
import java.util.Set;

public class AbstractSchema implements JsonSchema
{
    private String id;
    private String $ref;
    private String type;
    private String title;
    private String description;
    private String fieldTitle;
    private String fieldDescription;
    private Set allOf;
    private Set anyOf;
    private Set oneOf;
    private JsonSchema not;
    private Map definitions;
    private String defaultValue;
    
    @Override
    public String getId()
    {
        return id;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    @Override
    public String getType()
    {
        return type;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    @Override
    public String getRef()
    {
        return $ref;
    }

    public void setRef(String $ref)
    {
        this.$ref = $ref;
    }

    @Override
    public String getTitle()
    {
        return title;
    }

    @Override
    public String getDescription()
    {
        return description;
    }

    @Override
    public void setTitle(String title)
    {
        this.title = title;
    }

    @Override
    public void setDescription(String description)
    {
        this.description = description;
    }

    @Override
    public String getFieldTitle()
    {
        return fieldTitle;
    }

    @Override
    public String getFieldDescription()
    {
        return fieldDescription;
    }

    @Override
    public void setFieldTitle(String title)
    {
        this.fieldTitle = title;
    }

    @Override
    public void setFieldDescription(String description)
    {
        this.fieldDescription = description;
    }

    @Override
    public Set getAllOf()
    {
        return allOf;
    }

    public void setAllOf(Set allOf)
    {
        this.allOf = allOf;
    }

    @Override
    public Set getAnyOf()
    {
        return anyOf;
    }

    public void setAnyOf(Set anyOf)
    {
        this.anyOf = anyOf;
    }

    @Override
    public Set getOneOf()
    {
        return oneOf;
    }

    public void setOneOf(Set oneOf)
    {
        this.oneOf = oneOf;
    }

    @Override
    public JsonSchema getNot()
    {
        return not;
    }

    public void setNot(JsonSchema not)
    {
        this.not = not;
    }

    @Override
    public Map getDefinitions()
    {
        return definitions;
    }

    public void setDefinitions(Map definitions)
    {
        this.definitions = definitions;
    }

    @Override
    public String getDefaultValue()
    {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue)
    {
        this.defaultValue = defaultValue;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy