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

de.invation.code.toval.misc.soabase.SOABaseContainer Maven / Gradle / Ivy

Go to download

TOVAL comprises a set of java classes for common programming issues. It includes utils for arrays, lists, sets and collections for convenient handling and modification, but also support for mathematic definitions concerning logic (clauses + resolution) together with some algorithms for permutations, powersets and resolution. Additionally it contains a number of types for multisets, matrices with object keys and much more.

The newest version!
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package de.invation.code.toval.misc.soabase;

import de.invation.code.toval.constraint.AbstractConstraint;
import de.invation.code.toval.debug.SimpleDebugger;
import de.invation.code.toval.file.FileUtils;
import de.invation.code.toval.validate.ParameterException;
import java.io.File;
import java.io.IOException;
import java.util.Set;

/**
 *
 * @author stocker
 */
public class SOABaseContainer extends AbstractSOABaseContainer{
    
    private static final String SOABASE_DESCRIPTOR = "SOABase";

    public SOABaseContainer(String serializationPath) {
        super(serializationPath);
    }

    public SOABaseContainer(String serializationPath, SimpleDebugger debugger) {
        super(serializationPath, debugger);
    }
    
    @Override
    public String getComponentDescriptor() {
        return SOABASE_DESCRIPTOR;
    }

    @Override
    protected SOABaseProperties createNewProperties() {
        return new SOABaseProperties();
    }

    @Override
    protected void loadCustomContent(SOABase soaBase, SOABaseProperties properties) {}

    @Override
    protected SOABase createSOABaseFromProperties(SOABaseProperties properties) throws Exception {
        return new SOABase(properties);
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy