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

net.anotheria.asg.generator.ContextParameter Maven / Gradle / Ivy

package net.anotheria.asg.generator;

/**
 * Represents a free parameter attachable to the context.
 *
 * @author another
 * @version $Id: $Id
 */
public class ContextParameter {
	/**
	 * Name of the parameter.
	 */
	private String name;
	/**
	 * Value of the parameter.
	 */
	private String value;
	
	/**
	 * Constant for cms versioning parameter.
	 */
	public static final String CTX_PARAM_CMS_VERSIONING = "cmsversioning";
	
	/**
	 * 

Constructor for ContextParameter.

*/ public ContextParameter(){ } /** *

Constructor for ContextParameter.

* * @param aName a {@link java.lang.String} object. * @param aValue a {@link java.lang.String} object. */ public ContextParameter(String aName, String aValue){ name = aName; value = aValue; } /** {@inheritDoc} */ @Override public String toString(){ return "Parameter "+name+" = "+value; } /** *

Getter for the field name.

* * @return a {@link java.lang.String} object. */ public String getName() { return name; } /** *

Setter for the field name.

* * @param aName a {@link java.lang.String} object. */ public void setName(String aName) { name = aName; } /** *

Getter for the field value.

* * @return a {@link java.lang.String} object. */ public String getValue() { return value; } /** *

Setter for the field value.

* * @param aValue a {@link java.lang.String} object. */ public void setValue(String aValue) { value = aValue; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy