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

org.apache.maven.plugin.resources.remote.SupplementalDataModel Maven / Gradle / Ivy

Go to download

Process resources packaged in JARs that have been deployed to a remote repository. The primary use case being satisfied is the consistent inclusion of common resources in a large set of projects. Maven projects at Apache use this plug-in to satisfy licensing requirements at Apache where each project must include license and notice files for each release.

There is a newer version: 3.2.0
Show newest version
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 2.4.0,
// any modifications will be overwritten.
// ==============================================================

package org.apache.maven.plugin.resources.remote;

/**
 * Root element of the supplemental-models.xml file.
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings( "all" )
public class SupplementalDataModel
    implements java.io.Serializable
{

      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    /**
     * Field supplement.
     */
    private java.util.List supplement;

    /**
     * Field modelEncoding.
     */
    private String modelEncoding = "UTF-8";


      //-----------/
     //- Methods -/
    //-----------/

    /**
     * Method addSupplement.
     * 
     * @param supplement a supplement object.
     */
    public void addSupplement( Supplement supplement )
    {
        getSupplement().add( supplement );
    } //-- void addSupplement( Supplement )

    /**
     * Get the modelEncoding field.
     * 
     * @return String
     */
    public String getModelEncoding()
    {
        return this.modelEncoding;
    } //-- String getModelEncoding()

    /**
     * Method getSupplement.
     * 
     * @return List
     */
    public java.util.List getSupplement()
    {
        if ( this.supplement == null )
        {
            this.supplement = new java.util.ArrayList();
        }

        return this.supplement;
    } //-- java.util.List getSupplement()

    /**
     * Method removeSupplement.
     * 
     * @param supplement a supplement object.
     */
    public void removeSupplement( Supplement supplement )
    {
        getSupplement().remove( supplement );
    } //-- void removeSupplement( Supplement )

    /**
     * Set the modelEncoding field.
     * 
     * @param modelEncoding a modelEncoding object.
     */
    public void setModelEncoding( String modelEncoding )
    {
        this.modelEncoding = modelEncoding;
    } //-- void setModelEncoding( String )

    /**
     * Set snippets of POM xml files used to supplement the data
     * model.
     * 
     * @param supplement a supplement object.
     */
    public void setSupplement( java.util.List supplement )
    {
        this.supplement = supplement;
    } //-- void setSupplement( java.util.List )

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy