All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bimserver.models.store.impl.ServerInfoImpl Maven / Gradle / Ivy

Go to download

Base project for BIMserver plugin development. Some plugins mights also need the Shared library

There is a newer version: 2.0.0
Show newest version
/**
 * 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.ServerInfo;
import org.bimserver.models.store.ServerState;
import org.bimserver.models.store.StorePackage;
import org.bimserver.models.store.Version;
import org.eclipse.emf.ecore.EClass;

/**
 * 
 * An implementation of the model object 'Server Info'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.bimserver.models.store.impl.ServerInfoImpl#getServerState Server State}
  • *
  • {@link org.bimserver.models.store.impl.ServerInfoImpl#getErrorMessage Error Message}
  • *
  • {@link org.bimserver.models.store.impl.ServerInfoImpl#getVersion Version}
  • *
* * @generated */ public class ServerInfoImpl extends IdEObjectImpl implements ServerInfo { /** * * * @generated */ protected ServerInfoImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return StorePackage.Literals.SERVER_INFO; } /** * * * @generated */ @Override protected int eStaticFeatureCount() { return 0; } /** * * * @generated */ public ServerState getServerState() { return (ServerState) eGet(StorePackage.Literals.SERVER_INFO__SERVER_STATE, true); } /** * * * @generated */ public void setServerState(ServerState newServerState) { eSet(StorePackage.Literals.SERVER_INFO__SERVER_STATE, newServerState); } /** * * * @generated */ public String getErrorMessage() { return (String) eGet(StorePackage.Literals.SERVER_INFO__ERROR_MESSAGE, true); } /** * * * @generated */ public void setErrorMessage(String newErrorMessage) { eSet(StorePackage.Literals.SERVER_INFO__ERROR_MESSAGE, newErrorMessage); } /** * * * @generated */ public Version getVersion() { return (Version) eGet(StorePackage.Literals.SERVER_INFO__VERSION, true); } /** * * * @generated */ public void setVersion(Version newVersion) { eSet(StorePackage.Literals.SERVER_INFO__VERSION, newVersion); } } //ServerInfoImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy