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

io.zenwave360.generator.parsers.Model Maven / Gradle / Ivy

package io.zenwave360.generator.parsers;

import java.io.File;
import java.net.URI;
import java.util.AbstractMap;
import java.util.Map;
import java.util.Set;

import io.zenwave360.jsonrefparser.$Refs;

public class Model extends AbstractMap {

    private URI uri;
    private $Refs refs;

    public Model(URI uri, $Refs refs) {
        this.uri = uri;
        this.refs = refs;
    }

    public $Refs getRefs() {
        return refs;
    }

    public Map model() {
        return (Map) this.refs.jsonContext.json();
    }

    @Override
    public Set> entrySet() {
        return model().entrySet();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy