/*
 * Copyright (C) 1999-2006 <a href="mailto:paschke@in.tum.de">Adrian Paschke</a>
 * 
 * The OWL2Prova library is part of the Rule Based Service Level Agreement (RBSLA)
 * framework, available at 
 * <a href=" http://ibis.in.tum.de/staff/paschke/rbsla/index.htm">RBSLA</a>
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
package rbsla.owl.converter.dlp;

/**
 * For the update process it is necessary to keep the information if an Element is one
 * of the previous mapping description or of the current owl description. Instances of this
 * class keep this information.
 * @version 0.1 <1 Feb 2005>
 * @since 0.1
 */
public class UpdateInfoElement {
	private String element;
	private boolean old;
	
	/**
	 * @param _element the String element
	 * @param _old indicates if the element is from previous of from the current description.
	 */
	public UpdateInfoElement (String _element, boolean _old) {
		element = _element;
		old = _old;
	}
	
	
	/**
	 * @return Returns the element.
	 */
	public String getElement() {
		return element;
	}
	/**
	 * @param element The element to set.
	 */
	public void setElement(String element) {
		this.element = element;
	}
	/**
	 * @return Returns the old.
	 */
	public boolean isOld() {
		return old;
	}
	/**
	 * @param old The old to set.
	 */
	public void setOld(boolean old) {
		this.old = old;
	}
}
