/*
 * EnvironmentDomain.java
 *
 * Created on 5 février 2007, 13:48
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */


package fr.gouv.finances.cp.xemelios.common.config;

import java.util.Enumeration;

import fr.gouv.finances.cp.xemelios.data.DataConfigurationException;

/**
 *
 * @author chm
 */
public interface EnvironmentDomain {
    public static final int DOMAIN_DOCUMENTS = 1;
    public static final int DOMAIN_ELEMENT = 2;
    public boolean hasEnvironment(int domain);
    public int getChildCount(int domain);
    public Enumeration<EnvironmentDomain> children(int domain);
    public EnvironmentDomain getChildAt(int domain, int pos);
    public Enumeration<VariableModel> getVariables(int domain);
    public Object getValue(String path) throws DataConfigurationException;
    public void setValue(String path, Object value) throws DataConfigurationException;
}
