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

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

Go to download

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

The 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 java.util.Date;

import org.bimserver.emf.IdEObjectImpl;
import org.bimserver.models.store.ActionState;
import org.bimserver.models.store.LongActionState;
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 'Long Action State'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.bimserver.models.store.impl.LongActionStateImpl#getStart Start}
  • *
  • {@link org.bimserver.models.store.impl.LongActionStateImpl#getEnd End}
  • *
  • {@link org.bimserver.models.store.impl.LongActionStateImpl#getProgress Progress}
  • *
  • {@link org.bimserver.models.store.impl.LongActionStateImpl#getState State}
  • *
  • {@link org.bimserver.models.store.impl.LongActionStateImpl#getTitle Title}
  • *
  • {@link org.bimserver.models.store.impl.LongActionStateImpl#getStage Stage}
  • *
  • {@link org.bimserver.models.store.impl.LongActionStateImpl#getErrors Errors}
  • *
  • {@link org.bimserver.models.store.impl.LongActionStateImpl#getWarnings Warnings}
  • *
  • {@link org.bimserver.models.store.impl.LongActionStateImpl#getInfos Infos}
  • *
* * @generated */ public class LongActionStateImpl extends IdEObjectImpl implements LongActionState { /** * * * @generated */ protected LongActionStateImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return StorePackage.Literals.LONG_ACTION_STATE; } /** * * * @generated */ @Override protected int eStaticFeatureCount() { return 0; } /** * * * @generated */ public Date getStart() { return (Date) eGet(StorePackage.Literals.LONG_ACTION_STATE__START, true); } /** * * * @generated */ public void setStart(Date newStart) { eSet(StorePackage.Literals.LONG_ACTION_STATE__START, newStart); } /** * * * @generated */ public Date getEnd() { return (Date) eGet(StorePackage.Literals.LONG_ACTION_STATE__END, true); } /** * * * @generated */ public void setEnd(Date newEnd) { eSet(StorePackage.Literals.LONG_ACTION_STATE__END, newEnd); } /** * * * @generated */ public Integer getProgress() { return (Integer) eGet(StorePackage.Literals.LONG_ACTION_STATE__PROGRESS, true); } /** * * * @generated */ public void setProgress(Integer newProgress) { eSet(StorePackage.Literals.LONG_ACTION_STATE__PROGRESS, newProgress); } /** * * * @generated */ public ActionState getState() { return (ActionState) eGet(StorePackage.Literals.LONG_ACTION_STATE__STATE, true); } /** * * * @generated */ public void setState(ActionState newState) { eSet(StorePackage.Literals.LONG_ACTION_STATE__STATE, newState); } /** * * * @generated */ public String getTitle() { return (String) eGet(StorePackage.Literals.LONG_ACTION_STATE__TITLE, true); } /** * * * @generated */ public void setTitle(String newTitle) { eSet(StorePackage.Literals.LONG_ACTION_STATE__TITLE, newTitle); } /** * * * @generated */ public int getStage() { return (Integer) eGet(StorePackage.Literals.LONG_ACTION_STATE__STAGE, true); } /** * * * @generated */ public void setStage(int newStage) { eSet(StorePackage.Literals.LONG_ACTION_STATE__STAGE, newStage); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getErrors() { return (EList) eGet(StorePackage.Literals.LONG_ACTION_STATE__ERRORS, true); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getWarnings() { return (EList) eGet(StorePackage.Literals.LONG_ACTION_STATE__WARNINGS, true); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getInfos() { return (EList) eGet(StorePackage.Literals.LONG_ACTION_STATE__INFOS, true); } } //LongActionStateImpl




© 2015 - 2025 Weber Informatics LLC | Privacy Policy