org.bimserver.models.store.impl.MigrationImpl Maven / Gradle / Ivy
/**
* Copyright (C) 2009-2014 BIMserver.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
package org.bimserver.models.store.impl;
import org.bimserver.emf.IdEObjectImpl;
import org.bimserver.models.store.Migration;
import org.bimserver.models.store.StorePackage;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Migration'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.store.impl.MigrationImpl#getNumber Number}
* - {@link org.bimserver.models.store.impl.MigrationImpl#getDescription Description}
* - {@link org.bimserver.models.store.impl.MigrationImpl#getExecuted Executed}
*
*
* @generated
*/
public class MigrationImpl extends IdEObjectImpl implements Migration {
/**
*
*
* @generated
*/
protected MigrationImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return StorePackage.Literals.MIGRATION;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
*
*
* @generated
*/
public Integer getNumber() {
return (Integer) eGet(StorePackage.Literals.MIGRATION__NUMBER, true);
}
/**
*
*
* @generated
*/
public void setNumber(Integer newNumber) {
eSet(StorePackage.Literals.MIGRATION__NUMBER, newNumber);
}
/**
*
*
* @generated
*/
public String getDescription() {
return (String) eGet(StorePackage.Literals.MIGRATION__DESCRIPTION, true);
}
/**
*
*
* @generated
*/
public void setDescription(String newDescription) {
eSet(StorePackage.Literals.MIGRATION__DESCRIPTION, newDescription);
}
/**
*
*
* @generated
*/
public Boolean getExecuted() {
return (Boolean) eGet(StorePackage.Literals.MIGRATION__EXECUTED, true);
}
/**
*
*
* @generated
*/
public void setExecuted(Boolean newExecuted) {
eSet(StorePackage.Literals.MIGRATION__EXECUTED, newExecuted);
}
} //MigrationImpl