
org.bimserver.models.store.impl.CheckoutImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of PluginBase Show documentation
Show all versions of PluginBase Show documentation
Base project for BIMserver plugin development. Some plugins mights also need the Shared library
/**
* 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.log.CheckoutRelated;
import org.bimserver.models.store.Checkout;
import org.bimserver.models.store.Project;
import org.bimserver.models.store.Revision;
import org.bimserver.models.store.StorePackage;
import org.bimserver.models.store.User;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Checkout'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.store.impl.CheckoutImpl#getUser User}
* - {@link org.bimserver.models.store.impl.CheckoutImpl#getRevision Revision}
* - {@link org.bimserver.models.store.impl.CheckoutImpl#getProject Project}
* - {@link org.bimserver.models.store.impl.CheckoutImpl#getDate Date}
* - {@link org.bimserver.models.store.impl.CheckoutImpl#getCheckin Checkin}
* - {@link org.bimserver.models.store.impl.CheckoutImpl#getActive Active}
* - {@link org.bimserver.models.store.impl.CheckoutImpl#getLogs Logs}
*
*
* @generated
*/
public class CheckoutImpl extends IdEObjectImpl implements Checkout {
/**
*
*
* @generated
*/
protected CheckoutImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return StorePackage.Literals.CHECKOUT;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
*
*
* @generated
*/
public User getUser() {
return (User) eGet(StorePackage.Literals.CHECKOUT__USER, true);
}
/**
*
*
* @generated
*/
public void setUser(User newUser) {
eSet(StorePackage.Literals.CHECKOUT__USER, newUser);
}
/**
*
*
* @generated
*/
public Revision getRevision() {
return (Revision) eGet(StorePackage.Literals.CHECKOUT__REVISION, true);
}
/**
*
*
* @generated
*/
public void setRevision(Revision newRevision) {
eSet(StorePackage.Literals.CHECKOUT__REVISION, newRevision);
}
/**
*
*
* @generated
*/
public Project getProject() {
return (Project) eGet(StorePackage.Literals.CHECKOUT__PROJECT, true);
}
/**
*
*
* @generated
*/
public void setProject(Project newProject) {
eSet(StorePackage.Literals.CHECKOUT__PROJECT, newProject);
}
/**
*
*
* @generated
*/
public Date getDate() {
return (Date) eGet(StorePackage.Literals.CHECKOUT__DATE, true);
}
/**
*
*
* @generated
*/
public void setDate(Date newDate) {
eSet(StorePackage.Literals.CHECKOUT__DATE, newDate);
}
/**
*
*
* @generated
*/
public Revision getCheckin() {
return (Revision) eGet(StorePackage.Literals.CHECKOUT__CHECKIN, true);
}
/**
*
*
* @generated
*/
public void setCheckin(Revision newCheckin) {
eSet(StorePackage.Literals.CHECKOUT__CHECKIN, newCheckin);
}
/**
*
*
* @generated
*/
public Boolean getActive() {
return (Boolean) eGet(StorePackage.Literals.CHECKOUT__ACTIVE, true);
}
/**
*
*
* @generated
*/
public void setActive(Boolean newActive) {
eSet(StorePackage.Literals.CHECKOUT__ACTIVE, newActive);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getLogs() {
return (EList) eGet(StorePackage.Literals.CHECKOUT__LOGS, true);
}
} //CheckoutImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy