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

org.bimserver.models.log.impl.RemoteServiceCalledImpl 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.log.impl;

import org.bimserver.models.log.LogPackage;
import org.bimserver.models.log.RemoteServiceCalled;
import org.bimserver.models.store.NotifictionResultEnum;
import org.bimserver.models.store.Service;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;

/**
 * 
 * An implementation of the model object 'Remote Service Called'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.bimserver.models.log.impl.RemoteServiceCalledImpl#getService Service}
  • *
  • {@link org.bimserver.models.log.impl.RemoteServiceCalledImpl#getState State}
  • *
  • {@link org.bimserver.models.log.impl.RemoteServiceCalledImpl#getPercentage Percentage}
  • *
  • {@link org.bimserver.models.log.impl.RemoteServiceCalledImpl#getInfos Infos}
  • *
  • {@link org.bimserver.models.log.impl.RemoteServiceCalledImpl#getWarnings Warnings}
  • *
  • {@link org.bimserver.models.log.impl.RemoteServiceCalledImpl#getErrors Errors}
  • *
* * @generated */ public class RemoteServiceCalledImpl extends LogActionImpl implements RemoteServiceCalled { /** * * * @generated */ protected RemoteServiceCalledImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return LogPackage.Literals.REMOTE_SERVICE_CALLED; } /** * * * @generated */ public Service getService() { return (Service) eGet(LogPackage.Literals.REMOTE_SERVICE_CALLED__SERVICE, true); } /** * * * @generated */ public void setService(Service newService) { eSet(LogPackage.Literals.REMOTE_SERVICE_CALLED__SERVICE, newService); } /** * * * @generated */ public NotifictionResultEnum getState() { return (NotifictionResultEnum) eGet(LogPackage.Literals.REMOTE_SERVICE_CALLED__STATE, true); } /** * * * @generated */ public void setState(NotifictionResultEnum newState) { eSet(LogPackage.Literals.REMOTE_SERVICE_CALLED__STATE, newState); } /** * * * @generated */ public int getPercentage() { return (Integer) eGet(LogPackage.Literals.REMOTE_SERVICE_CALLED__PERCENTAGE, true); } /** * * * @generated */ public void setPercentage(int newPercentage) { eSet(LogPackage.Literals.REMOTE_SERVICE_CALLED__PERCENTAGE, newPercentage); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getInfos() { return (EList) eGet(LogPackage.Literals.REMOTE_SERVICE_CALLED__INFOS, true); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getWarnings() { return (EList) eGet(LogPackage.Literals.REMOTE_SERVICE_CALLED__WARNINGS, true); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getErrors() { return (EList) eGet(LogPackage.Literals.REMOTE_SERVICE_CALLED__ERRORS, true); } } //RemoteServiceCalledImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy