org.codehaus.plexus.components.secdispatcher.model.Config Maven / Gradle / Ivy
The newest version!
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 2.4.0,
// any modifications will be overwritten.
// ==============================================================
package org.codehaus.plexus.components.secdispatcher.model;
/**
* Named Dispatcher configuration.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class Config
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Name of Dispatcher configuration is meant for.
*/
private String name;
/**
* Field properties.
*/
private java.util.List properties;
//-----------/
//- Methods -/
//-----------/
/**
* Method addProperty.
*
* @param configProperty a configProperty object.
*/
public void addProperty( ConfigProperty configProperty )
{
getProperties().add( configProperty );
} //-- void addProperty( ConfigProperty )
/**
* Get name of Dispatcher configuration is meant for.
*
* @return String
*/
public String getName()
{
return this.name;
} //-- String getName()
/**
* Method getProperties.
*
* @return List
*/
public java.util.List getProperties()
{
if ( this.properties == null )
{
this.properties = new java.util.ArrayList();
}
return this.properties;
} //-- java.util.List getProperties()
/**
* Method removeProperty.
*
* @param configProperty a configProperty object.
*/
public void removeProperty( ConfigProperty configProperty )
{
getProperties().remove( configProperty );
} //-- void removeProperty( ConfigProperty )
/**
* Set name of Dispatcher configuration is meant for.
*
* @param name a name object.
*/
public void setName( String name )
{
this.name = name;
} //-- void setName( String )
/**
* Set properties.
*
* @param properties a properties object.
*/
public void setProperties( java.util.List properties )
{
this.properties = properties;
} //-- void setProperties( java.util.List )
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy