org.bimserver.models.store.impl.PluginInformationImpl 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.PluginInformation;
import org.bimserver.models.store.PluginType;
import org.bimserver.models.store.StorePackage;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Plugin Information'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.store.impl.PluginInformationImpl#getName Name}
* - {@link org.bimserver.models.store.impl.PluginInformationImpl#getType Type}
* - {@link org.bimserver.models.store.impl.PluginInformationImpl#getDescription Description}
* - {@link org.bimserver.models.store.impl.PluginInformationImpl#isEnabled Enabled}
* - {@link org.bimserver.models.store.impl.PluginInformationImpl#getIdentifier Identifier}
* - {@link org.bimserver.models.store.impl.PluginInformationImpl#isInstallForAllUsers Install For All Users}
* - {@link org.bimserver.models.store.impl.PluginInformationImpl#isInstallForNewUsers Install For New Users}
*
*
* @generated
*/
public class PluginInformationImpl extends IdEObjectImpl implements PluginInformation {
/**
*
*
* @generated
*/
protected PluginInformationImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return StorePackage.Literals.PLUGIN_INFORMATION;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
*
*
* @generated
*/
public String getName() {
return (String) eGet(StorePackage.Literals.PLUGIN_INFORMATION__NAME, true);
}
/**
*
*
* @generated
*/
public void setName(String newName) {
eSet(StorePackage.Literals.PLUGIN_INFORMATION__NAME, newName);
}
/**
*
*
* @generated
*/
public PluginType getType() {
return (PluginType) eGet(StorePackage.Literals.PLUGIN_INFORMATION__TYPE, true);
}
/**
*
*
* @generated
*/
public void setType(PluginType newType) {
eSet(StorePackage.Literals.PLUGIN_INFORMATION__TYPE, newType);
}
/**
*
*
* @generated
*/
public String getDescription() {
return (String) eGet(StorePackage.Literals.PLUGIN_INFORMATION__DESCRIPTION, true);
}
/**
*
*
* @generated
*/
public void setDescription(String newDescription) {
eSet(StorePackage.Literals.PLUGIN_INFORMATION__DESCRIPTION, newDescription);
}
/**
*
*
* @generated
*/
public boolean isEnabled() {
return (Boolean) eGet(StorePackage.Literals.PLUGIN_INFORMATION__ENABLED, true);
}
/**
*
*
* @generated
*/
public void setEnabled(boolean newEnabled) {
eSet(StorePackage.Literals.PLUGIN_INFORMATION__ENABLED, newEnabled);
}
/**
*
*
* @generated
*/
public String getIdentifier() {
return (String) eGet(StorePackage.Literals.PLUGIN_INFORMATION__IDENTIFIER, true);
}
/**
*
*
* @generated
*/
public void setIdentifier(String newIdentifier) {
eSet(StorePackage.Literals.PLUGIN_INFORMATION__IDENTIFIER, newIdentifier);
}
/**
*
*
* @generated
*/
public boolean isInstallForAllUsers() {
return (Boolean) eGet(StorePackage.Literals.PLUGIN_INFORMATION__INSTALL_FOR_ALL_USERS, true);
}
/**
*
*
* @generated
*/
public void setInstallForAllUsers(boolean newInstallForAllUsers) {
eSet(StorePackage.Literals.PLUGIN_INFORMATION__INSTALL_FOR_ALL_USERS, newInstallForAllUsers);
}
/**
*
*
* @generated
*/
public boolean isInstallForNewUsers() {
return (Boolean) eGet(StorePackage.Literals.PLUGIN_INFORMATION__INSTALL_FOR_NEW_USERS, true);
}
/**
*
*
* @generated
*/
public void setInstallForNewUsers(boolean newInstallForNewUsers) {
eSet(StorePackage.Literals.PLUGIN_INFORMATION__INSTALL_FOR_NEW_USERS, newInstallForNewUsers);
}
} //PluginInformationImpl