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

oms3.dsl.KVPContainer Maven / Gradle / Ivy

There is a newer version: 0.10.8
Show newest version
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package oms3.dsl;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author od
 */
public class KVPContainer implements Buildable {

    List entries = new ArrayList();

    public List getEntries() {
        return entries;
    }
    

    @Override
    public Buildable create(Object name, Object value) {
        entries.add(new KVP(name.toString(), value));
        return LEAF;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy