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

net.anotheria.asg.generator.view.meta.MetaSection Maven / Gradle / Ivy

package net.anotheria.asg.generator.view.meta;

import net.anotheria.asg.generator.IGenerateable;

/**
 * A section in the overview.
 *
 * @author another
 * @version $Id: $Id
 */
public class MetaSection implements IGenerateable{
	/**
	 * The title of the section.
	 */
	private String title;
	
	/**
	 * 

Constructor for MetaSection.

* * @param aTitle a {@link java.lang.String} object. */ public MetaSection(String aTitle){ this.title = aTitle; } /** *

Getter for the field title.

* * @return a {@link java.lang.String} object. */ public String getTitle() { return title; } /** {@inheritDoc} */ @Override public String toString(){ return "section "+title; } /** {@inheritDoc} */ @Override public boolean equals(Object o){ return (o instanceof MetaSection) && ((MetaSection)o).title.equals(title); } /** *

hashCode.

* * @return a int. */ public int hashCode() { assert false : "hashCode not designed"; return 42; // any arbitrary constant will do } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy