org.qedeq.kernel.bo.parser.TermAtom Maven / Gradle / Ivy
/* This file is part of the project "Hilbert II" - http://www.qedeq.org
*
* Copyright 2000-2013, Michael Meyling .
*
* "Hilbert II" is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
package org.qedeq.kernel.bo.parser;
/**
* Parsed atom, this is a term constant, or an formula constant.
*
* @version $Revision: 1.1 $
* @author Michael Meyling
*/
public final class TermAtom {
/** Atom value. */
private final String value;
/**
* Constructor.
*
* @param value Term atom
*/
public TermAtom(final String value) {
this.value = value;
}
/**
* Get atom value.
*
* @return Value.
*/
final String getValue() {
return this.value;
}
}