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

net.anotheria.anosite.gen.assitedata.data.SiteBuilder Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
/**
 ********************************************************************************
 *** SiteBuilder.java                                                         ***
 *** generated by AnoSiteGenerator (ASG), Version: 3.2.2                      ***
 *** Copyright (C) 2005 - 2023 Anotheria.net, www.anotheria.net               ***
 *** All Rights Reserved.                                                     ***
 ********************************************************************************
 *** Don't edit this code, if you aren't sure                                 ***
 *** that you do exactly know what you are doing!                             ***
 *** It's better to invest time in the generator, as into the generated code. ***
 ********************************************************************************
 */

package net.anotheria.anosite.gen.assitedata.data;

import net.anotheria.asg.data.Builder;
import java.util.List;

public class SiteBuilder implements Builder{

	protected String name;
	protected String title;
	protected String keywords;
	protected String description;
	protected String subtitle;
	protected List mainNavi;
	protected List topNavi;
	protected boolean languageselector;
	protected String startpage;
	protected String searchpage;
	protected String headerBackground;
	protected String siteLogo;

	/**
	 * Sets the value of the name attribute.
	 */
	public SiteBuilder name(String aValue){
		name = aValue;
		return this;
	}

	/**
	 * Sets the value of the title attribute.
	 */
	public SiteBuilder title(String aValue){
		title = aValue;
		return this;
	}

	/**
	 * Sets the value of the keywords attribute.
	 */
	public SiteBuilder keywords(String aValue){
		keywords = aValue;
		return this;
	}

	/**
	 * Sets the value of the description attribute.
	 */
	public SiteBuilder description(String aValue){
		description = aValue;
		return this;
	}

	/**
	 * Sets the value of the subtitle attribute.
	 */
	public SiteBuilder subtitle(String aValue){
		subtitle = aValue;
		return this;
	}

	/**
	 * Sets the value of the mainNavi attribute.
	 */
	public SiteBuilder mainNavi(List aValue){
		mainNavi = aValue;
		return this;
	}

	/**
	 * Sets the value of the topNavi attribute.
	 */
	public SiteBuilder topNavi(List aValue){
		topNavi = aValue;
		return this;
	}

	/**
	 * Sets the value of the languageselector attribute.
	 */
	public SiteBuilder languageselector(boolean aValue){
		languageselector = aValue;
		return this;
	}

	/**
	 * Sets the value of the startpage attribute.
	 */
	public SiteBuilder startpage(String aValue){
		startpage = aValue;
		return this;
	}

	/**
	 * Sets the value of the searchpage attribute.
	 */
	public SiteBuilder searchpage(String aValue){
		searchpage = aValue;
		return this;
	}

	/**
	 * Sets the value of the headerBackground attribute.
	 */
	public SiteBuilder headerBackground(String aValue){
		headerBackground = aValue;
		return this;
	}

	/**
	 * Sets the value of the siteLogo attribute.
	 */
	public SiteBuilder siteLogo(String aValue){
		siteLogo = aValue;
		return this;
	}


	public Site build(){
		return SiteFactory.createSite(this);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy