org.bimserver.models.store.impl.LongActionImpl 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 java.util.Date;
import org.bimserver.emf.IdEObjectImpl;
import org.bimserver.models.store.LongAction;
import org.bimserver.models.store.StorePackage;
import org.bimserver.models.store.User;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Long Action'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.store.impl.LongActionImpl#getIdentification Identification}
* - {@link org.bimserver.models.store.impl.LongActionImpl#getUser User}
* - {@link org.bimserver.models.store.impl.LongActionImpl#getStart Start}
* - {@link org.bimserver.models.store.impl.LongActionImpl#getUsername Username}
* - {@link org.bimserver.models.store.impl.LongActionImpl#getName Name}
*
*
* @generated
*/
public class LongActionImpl extends IdEObjectImpl implements LongAction {
/**
*
*
* @generated
*/
protected LongActionImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return StorePackage.Literals.LONG_ACTION;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
*
*
* @generated
*/
public String getIdentification() {
return (String) eGet(StorePackage.Literals.LONG_ACTION__IDENTIFICATION, true);
}
/**
*
*
* @generated
*/
public void setIdentification(String newIdentification) {
eSet(StorePackage.Literals.LONG_ACTION__IDENTIFICATION, newIdentification);
}
/**
*
*
* @generated
*/
public User getUser() {
return (User) eGet(StorePackage.Literals.LONG_ACTION__USER, true);
}
/**
*
*
* @generated
*/
public void setUser(User newUser) {
eSet(StorePackage.Literals.LONG_ACTION__USER, newUser);
}
/**
*
*
* @generated
*/
public Date getStart() {
return (Date) eGet(StorePackage.Literals.LONG_ACTION__START, true);
}
/**
*
*
* @generated
*/
public void setStart(Date newStart) {
eSet(StorePackage.Literals.LONG_ACTION__START, newStart);
}
/**
*
*
* @generated
*/
public String getUsername() {
return (String) eGet(StorePackage.Literals.LONG_ACTION__USERNAME, true);
}
/**
*
*
* @generated
*/
public void setUsername(String newUsername) {
eSet(StorePackage.Literals.LONG_ACTION__USERNAME, newUsername);
}
/**
*
*
* @generated
*/
public String getName() {
return (String) eGet(StorePackage.Literals.LONG_ACTION__NAME, true);
}
/**
*
*
* @generated
*/
public void setName(String newName) {
eSet(StorePackage.Literals.LONG_ACTION__NAME, newName);
}
} //LongActionImpl