org.bimserver.models.store.impl.PluginDescriptorImpl 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.PluginBundleVersion;
import org.bimserver.models.store.PluginConfiguration;
import org.bimserver.models.store.PluginDescriptor;
import org.bimserver.models.store.StorePackage;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Plugin Descriptor'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.store.impl.PluginDescriptorImpl#getName Name}
* - {@link org.bimserver.models.store.impl.PluginDescriptorImpl#getPluginClassName Plugin Class Name}
* - {@link org.bimserver.models.store.impl.PluginDescriptorImpl#getDescription Description}
* - {@link org.bimserver.models.store.impl.PluginDescriptorImpl#getLocation Location}
* - {@link org.bimserver.models.store.impl.PluginDescriptorImpl#getEnabled Enabled}
* - {@link org.bimserver.models.store.impl.PluginDescriptorImpl#getPluginInterfaceClassName Plugin Interface Class Name}
* - {@link org.bimserver.models.store.impl.PluginDescriptorImpl#getConfigurations Configurations}
* - {@link org.bimserver.models.store.impl.PluginDescriptorImpl#getIdentifier Identifier}
* - {@link org.bimserver.models.store.impl.PluginDescriptorImpl#isInstallForNewUsers Install For New Users}
* - {@link org.bimserver.models.store.impl.PluginDescriptorImpl#getPluginBundleVersion Plugin Bundle Version}
*
*
* @generated
*/
public class PluginDescriptorImpl extends IdEObjectImpl implements PluginDescriptor {
/**
*
*
* @generated
*/
protected PluginDescriptorImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return StorePackage.Literals.PLUGIN_DESCRIPTOR;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
*
*
* @generated
*/
public String getName() {
return (String) eGet(StorePackage.Literals.PLUGIN_DESCRIPTOR__NAME, true);
}
/**
*
*
* @generated
*/
public void setName(String newName) {
eSet(StorePackage.Literals.PLUGIN_DESCRIPTOR__NAME, newName);
}
/**
*
*
* @generated
*/
public String getPluginClassName() {
return (String) eGet(StorePackage.Literals.PLUGIN_DESCRIPTOR__PLUGIN_CLASS_NAME, true);
}
/**
*
*
* @generated
*/
public void setPluginClassName(String newPluginClassName) {
eSet(StorePackage.Literals.PLUGIN_DESCRIPTOR__PLUGIN_CLASS_NAME, newPluginClassName);
}
/**
*
*
* @generated
*/
public String getDescription() {
return (String) eGet(StorePackage.Literals.PLUGIN_DESCRIPTOR__DESCRIPTION, true);
}
/**
*
*
* @generated
*/
public void setDescription(String newDescription) {
eSet(StorePackage.Literals.PLUGIN_DESCRIPTOR__DESCRIPTION, newDescription);
}
/**
*
*
* @generated
*/
public String getLocation() {
return (String) eGet(StorePackage.Literals.PLUGIN_DESCRIPTOR__LOCATION, true);
}
/**
*
*
* @generated
*/
public void setLocation(String newLocation) {
eSet(StorePackage.Literals.PLUGIN_DESCRIPTOR__LOCATION, newLocation);
}
/**
*
*
* @generated
*/
public Boolean getEnabled() {
return (Boolean) eGet(StorePackage.Literals.PLUGIN_DESCRIPTOR__ENABLED, true);
}
/**
*
*
* @generated
*/
public void setEnabled(Boolean newEnabled) {
eSet(StorePackage.Literals.PLUGIN_DESCRIPTOR__ENABLED, newEnabled);
}
/**
*
*
* @generated
*/
public String getPluginInterfaceClassName() {
return (String) eGet(StorePackage.Literals.PLUGIN_DESCRIPTOR__PLUGIN_INTERFACE_CLASS_NAME, true);
}
/**
*
*
* @generated
*/
public void setPluginInterfaceClassName(String newPluginInterfaceClassName) {
eSet(StorePackage.Literals.PLUGIN_DESCRIPTOR__PLUGIN_INTERFACE_CLASS_NAME, newPluginInterfaceClassName);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getConfigurations() {
return (EList) eGet(StorePackage.Literals.PLUGIN_DESCRIPTOR__CONFIGURATIONS, true);
}
/**
*
*
* @generated
*/
public String getIdentifier() {
return (String) eGet(StorePackage.Literals.PLUGIN_DESCRIPTOR__IDENTIFIER, true);
}
/**
*
*
* @generated
*/
public void setIdentifier(String newIdentifier) {
eSet(StorePackage.Literals.PLUGIN_DESCRIPTOR__IDENTIFIER, newIdentifier);
}
/**
*
*
* @generated
*/
public boolean isInstallForNewUsers() {
return (Boolean) eGet(StorePackage.Literals.PLUGIN_DESCRIPTOR__INSTALL_FOR_NEW_USERS, true);
}
/**
*
*
* @generated
*/
public void setInstallForNewUsers(boolean newInstallForNewUsers) {
eSet(StorePackage.Literals.PLUGIN_DESCRIPTOR__INSTALL_FOR_NEW_USERS, newInstallForNewUsers);
}
/**
*
*
* @generated
*/
public PluginBundleVersion getPluginBundleVersion() {
return (PluginBundleVersion) eGet(StorePackage.Literals.PLUGIN_DESCRIPTOR__PLUGIN_BUNDLE_VERSION, true);
}
/**
*
*
* @generated
*/
public void setPluginBundleVersion(PluginBundleVersion newPluginBundleVersion) {
eSet(StorePackage.Literals.PLUGIN_DESCRIPTOR__PLUGIN_BUNDLE_VERSION, newPluginBundleVersion);
}
} //PluginDescriptorImpl