/*
 *  This file is part of OpenStaticAnalyzer.
 *
 *  Copyright (c) 2004-2018 Department of Software Engineering - University of Szeged
 *
 *  Licensed under Version 1.2 of the EUPL (the "Licence");
 *
 *  You may not use this work except in compliance with the Licence.
 *
 *  You may obtain a copy of the Licence in the LICENSE file or at:
 *
 *  https://joinup.ec.europa.eu/software/page/eupl
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the Licence is distributed on an "AS IS" basis,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the Licence for the specific language governing permissions and
 *  limitations under the Licence.
 */

package columbus.java.asg.struc;

import columbus.java.asg.*;
import columbus.java.asg.expr.Expression;
import columbus.java.asg.base.Positioned;

/**
 * Interface Import, which represents the {@link columbus.java.asg.struc.Import Import} node.
 * @columbus.node (missing)
 * @columbus.attr isStatic (boolean) : (missing)
 * @columbus.attr staticPosition (Range) : (missing)
 * @columbus.edge hasTarget ({@link columbus.java.asg.expr.Expression Expression}, single) : (missing)
 */
public interface Import extends Positioned {

	/**
	 * Gives back the {@link columbus.java.asg.struc.Import#attributeIsStatic isStatic} of the node.
	 * @return Returns with the isStatic.
	 */
	public boolean getIsStatic();

	/**
	 * Sets the {@link columbus.java.asg.struc.Import#attributeIsStatic isStatic} of the node.
	 * @param value The new value of the isStatic.
	 */
	public void setIsStatic(boolean value);

	/**
	 * Gives back the {@link columbus.java.asg.struc.Import#attributeStaticPosition staticPosition} of the node.
	 * @return Returns with the staticPosition.
	 */
	public Range getStaticPosition();

	/**
	 * Sets the {@link columbus.java.asg.struc.Import#attributeStaticPosition staticPosition} of the node.
	 * @param value The new value of the staticPosition.
	 */
	public void setStaticPosition(Range value);

	/**
	 * Gives back the reference of the node the {@link columbus.java.asg.struc.Import#edgeHasTarget hasTarget} edge points to.
	 * @return Returns the end point of the hasTarget edge.
	 */
	public Expression getTarget();

	/**
	 * Sets the {@link columbus.java.asg.struc.Import#edgeHasTarget hasTarget} edge.
	 * @param id The new end point of the hasTarget edge.
	 */
	public void setTarget(int id);

	/**
	 * Sets the {@link columbus.java.asg.struc.Import#edgeHasTarget hasTarget} edge.
	 * @param node The new end point of the hasTarget edge.
	 */
	public void setTarget(Expression node);

}

