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

io.github.hlfsousa.ncml.examples.ucararray.GroupMapVO Maven / Gradle / Ivy

package io.github.hlfsousa.ncml.examples.ucararray;

/*-
 * #%L
 * ncml-io
 * %%
 * Copyright (C) 2020 - 2021 Henrique L. F. de Sousa
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 2.1 of the
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Lesser Public License for more details.
 * 
 * You should have received a copy of the GNU General Lesser Public
 * License along with this program.  If not, see
 * .
 * #L%
 */

// imports >>
// DEFAULT IMPORTS
import java.util.*;
import ucar.ma2.Array;
import ucar.nc2.Group;
import ucar.nc2.Variable;
import ucar.nc2.Dimension;
// << imports

public class GroupMapVO implements GroupMap {
    public static class ItemsVO implements ItemsVariable {

        private Array value;
        private List dimensions;

        public ItemsVO() {}

        @Override
        public Array getValue() {
            return value;
        }

        @Override
        public void setValue(Array value) {
            this.value = value;
        }

        @Override
        public List getDimensions() {
            return dimensions;
        }

        @Override
        public void setDimensions(List dimensions) {
            this.dimensions = dimensions;
        }

    }


    // additionalFields >>
    // << additionalFields

    private ItemsVariable items;

    public ItemsVariable getItems() {
        return items;
    }

    public void setItems(ItemsVariable items) {
        this.items = items;
    }

    private String name;

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    // additionalMethods >>
    // << additionalMethods

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy