org.apache.maven.model.MailingList Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
/*
=================== DO NOT EDIT THIS FILE ====================
Generated by Modello 1.0.1 on 2009-08-06 15:13:09,
any modifications will be overwritten.
==============================================================
*/
package org.apache.maven.model;
/**
* This element describes all of the mailing lists associated with
* a project. The
* auto-generated site references this information.
*
* @version $Revision$ $Date$
*/
public class MailingList
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
*
*
* The name of the mailing list.
*
*
*/
private String name;
/**
*
*
* The email address or link that can be used to
* subscribe to
* the mailing list. If this is an email address,
* a
* mailto:
link will automatically be
* created
* when the documentation is created.
*
*
*/
private String subscribe;
/**
*
*
* The email address or link that can be used to
* unsubscribe to
* the mailing list. If this is an email address,
* a
* mailto:
link will automatically be
* created
* when the documentation is created.
*
*
*/
private String unsubscribe;
/**
*
*
* The email address or link that can be used to
* post to
* the mailing list. If this is an email address,
* a
* mailto:
link will automatically be
* created
* when the documentation is created.
*
*
*/
private String post;
/**
* The link to a URL where you can browse the mailing list
* archive.
*/
private String archive;
/**
* Field otherArchives.
*/
private java.util.List otherArchives;
//-----------/
//- Methods -/
//-----------/
/**
* Method addOtherArchive.
*
* @param string
*/
public void addOtherArchive( String string )
{
if ( !(string instanceof String) )
{
throw new ClassCastException( "MailingList.addOtherArchives(string) parameter must be instanceof " + String.class.getName() );
}
getOtherArchives().add( string );
} //-- void addOtherArchive( String )
/**
* Get the link to a URL where you can browse the mailing list
* archive.
*
* @return String
*/
public String getArchive()
{
return this.archive;
} //-- String getArchive()
/**
* Get the name of the mailing list.
*
* @return String
*/
public String getName()
{
return this.name;
} //-- String getName()
/**
* Method getOtherArchives.
*
* @return List
*/
public java.util.List getOtherArchives()
{
if ( this.otherArchives == null )
{
this.otherArchives = new java.util.ArrayList();
}
return this.otherArchives;
} //-- java.util.List getOtherArchives()
/**
* Get the email address or link that can be used to post to
* the mailing list. If this is an email address,
* a
* mailto:
link will automatically be
* created
* when the documentation is created.
*
* @return String
*/
public String getPost()
{
return this.post;
} //-- String getPost()
/**
* Get the email address or link that can be used to subscribe
* to
* the mailing list. If this is an email address,
* a
* mailto:
link will automatically be
* created
* when the documentation is created.
*
* @return String
*/
public String getSubscribe()
{
return this.subscribe;
} //-- String getSubscribe()
/**
* Get the email address or link that can be used to
* unsubscribe to
* the mailing list. If this is an email address,
* a
* mailto:
link will automatically be
* created
* when the documentation is created.
*
* @return String
*/
public String getUnsubscribe()
{
return this.unsubscribe;
} //-- String getUnsubscribe()
/**
* Method removeOtherArchive.
*
* @param string
*/
public void removeOtherArchive( String string )
{
if ( !(string instanceof String) )
{
throw new ClassCastException( "MailingList.removeOtherArchives(string) parameter must be instanceof " + String.class.getName() );
}
getOtherArchives().remove( string );
} //-- void removeOtherArchive( String )
/**
* Set the link to a URL where you can browse the mailing list
* archive.
*
* @param archive
*/
public void setArchive( String archive )
{
this.archive = archive;
} //-- void setArchive( String )
/**
* Set the name of the mailing list.
*
* @param name
*/
public void setName( String name )
{
this.name = name;
} //-- void setName( String )
/**
* Set the link to alternate URLs where you can browse the list
* archive.
*
* @param otherArchives
*/
public void setOtherArchives( java.util.List otherArchives )
{
this.otherArchives = otherArchives;
} //-- void setOtherArchives( java.util.List )
/**
* Set the email address or link that can be used to post to
* the mailing list. If this is an email address,
* a
* mailto:
link will automatically be
* created
* when the documentation is created.
*
* @param post
*/
public void setPost( String post )
{
this.post = post;
} //-- void setPost( String )
/**
* Set the email address or link that can be used to subscribe
* to
* the mailing list. If this is an email address,
* a
* mailto:
link will automatically be
* created
* when the documentation is created.
*
* @param subscribe
*/
public void setSubscribe( String subscribe )
{
this.subscribe = subscribe;
} //-- void setSubscribe( String )
/**
* Set the email address or link that can be used to
* unsubscribe to
* the mailing list. If this is an email address,
* a
* mailto:
link will automatically be
* created
* when the documentation is created.
*
* @param unsubscribe
*/
public void setUnsubscribe( String unsubscribe )
{
this.unsubscribe = unsubscribe;
} //-- void setUnsubscribe( String )
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy