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

net.sourceforge.squirrel_sql.client.update.xmlbeans.ModuleXmlBean Maven / Gradle / Ivy

Go to download

This is the jar that contains the main application classes which are very specific to SQuirreLSQL.

There is a newer version: 3.5.0
Show newest version
/*
 * Copyright (C) 2007 Rob Manning
 * [email protected]
 *
 * This library 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 library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
package net.sourceforge.squirrel_sql.client.update.xmlbeans;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * A module is a group of Artifacts that work together to provide of unit of 
 * functionality.  For instance, each plugin is a module; the core jars 
 * squirrel-sql.jar and fw.jar are together a module. 
 * 
 * @author manningr
 *
 */
public class ModuleXmlBean implements Serializable {

    private static final long serialVersionUID = -6047289718869161323L;

    private String name;
    
    private Set artifacts = new HashSet();
    
    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the artifacts
     */
    public Set getArtifacts() {
        return artifacts;
    }

    /**
     * @param artifacts the artifacts to set
     */
    public void setArtifacts(Set artifacts) {
        this.artifacts = artifacts;
    }
    
    /**
     * Adds an artifact to the set.
     * 
     * @param artifact the artifact to add.
     */
    public void addArtifact(ArtifactXmlBean artifact) {
        this.artifacts.add(artifact);
    }
    
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy