Ptidej-v5.2-master/PADL/src/padl/event/EntityEvent.java
/*******************************************************************************
 * Copyright (c) 2001-2014 Yann-Gal Guhneuc and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Yann-Gal Guhneuc and others, see in file; API and its implementation
 ******************************************************************************/
package padl.event;

import padl.kernel.IConstituentOfModel;
import padl.kernel.IContainer;

public final class EntityEvent implements IEvent {
	private final IContainer aContainer;
	private final IConstituentOfModel anEntity;

	public EntityEvent(
		final IContainer aContainer,
		final IConstituentOfModel anEntity) {

		this.aContainer = aContainer;
		this.anEntity = anEntity;
	}
	public IConstituentOfModel getEntity() {
		return this.anEntity;
	}
	public IContainer getContainer() {
		return this.aContainer;
	}
}
