org.bimserver.models.ifc4.impl.IfcOwnerHistoryImpl 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
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.ifc4.impl;
import org.bimserver.emf.IdEObjectImpl;
import org.bimserver.models.ifc4.Ifc4Package;
import org.bimserver.models.ifc4.IfcApplication;
import org.bimserver.models.ifc4.IfcChangeActionEnum;
import org.bimserver.models.ifc4.IfcOwnerHistory;
import org.bimserver.models.ifc4.IfcPersonAndOrganization;
import org.bimserver.models.ifc4.IfcStateEnum;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Owner History'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcOwnerHistoryImpl#getOwningUser Owning User}
* - {@link org.bimserver.models.ifc4.impl.IfcOwnerHistoryImpl#getOwningApplication Owning Application}
* - {@link org.bimserver.models.ifc4.impl.IfcOwnerHistoryImpl#getState State}
* - {@link org.bimserver.models.ifc4.impl.IfcOwnerHistoryImpl#getChangeAction Change Action}
* - {@link org.bimserver.models.ifc4.impl.IfcOwnerHistoryImpl#getLastModifiedDate Last Modified Date}
* - {@link org.bimserver.models.ifc4.impl.IfcOwnerHistoryImpl#getLastModifyingUser Last Modifying User}
* - {@link org.bimserver.models.ifc4.impl.IfcOwnerHistoryImpl#getLastModifyingApplication Last Modifying Application}
* - {@link org.bimserver.models.ifc4.impl.IfcOwnerHistoryImpl#getCreationDate Creation Date}
*
*
* @generated
*/
public class IfcOwnerHistoryImpl extends IdEObjectImpl implements IfcOwnerHistory {
/**
*
*
* @generated
*/
protected IfcOwnerHistoryImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_OWNER_HISTORY;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
*
*
* @generated
*/
public IfcPersonAndOrganization getOwningUser() {
return (IfcPersonAndOrganization) eGet(Ifc4Package.Literals.IFC_OWNER_HISTORY__OWNING_USER, true);
}
/**
*
*
* @generated
*/
public void setOwningUser(IfcPersonAndOrganization newOwningUser) {
eSet(Ifc4Package.Literals.IFC_OWNER_HISTORY__OWNING_USER, newOwningUser);
}
/**
*
*
* @generated
*/
public IfcApplication getOwningApplication() {
return (IfcApplication) eGet(Ifc4Package.Literals.IFC_OWNER_HISTORY__OWNING_APPLICATION, true);
}
/**
*
*
* @generated
*/
public void setOwningApplication(IfcApplication newOwningApplication) {
eSet(Ifc4Package.Literals.IFC_OWNER_HISTORY__OWNING_APPLICATION, newOwningApplication);
}
/**
*
*
* @generated
*/
public IfcStateEnum getState() {
return (IfcStateEnum) eGet(Ifc4Package.Literals.IFC_OWNER_HISTORY__STATE, true);
}
/**
*
*
* @generated
*/
public void setState(IfcStateEnum newState) {
eSet(Ifc4Package.Literals.IFC_OWNER_HISTORY__STATE, newState);
}
/**
*
*
* @generated
*/
public void unsetState() {
eUnset(Ifc4Package.Literals.IFC_OWNER_HISTORY__STATE);
}
/**
*
*
* @generated
*/
public boolean isSetState() {
return eIsSet(Ifc4Package.Literals.IFC_OWNER_HISTORY__STATE);
}
/**
*
*
* @generated
*/
public IfcChangeActionEnum getChangeAction() {
return (IfcChangeActionEnum) eGet(Ifc4Package.Literals.IFC_OWNER_HISTORY__CHANGE_ACTION, true);
}
/**
*
*
* @generated
*/
public void setChangeAction(IfcChangeActionEnum newChangeAction) {
eSet(Ifc4Package.Literals.IFC_OWNER_HISTORY__CHANGE_ACTION, newChangeAction);
}
/**
*
*
* @generated
*/
public void unsetChangeAction() {
eUnset(Ifc4Package.Literals.IFC_OWNER_HISTORY__CHANGE_ACTION);
}
/**
*
*
* @generated
*/
public boolean isSetChangeAction() {
return eIsSet(Ifc4Package.Literals.IFC_OWNER_HISTORY__CHANGE_ACTION);
}
/**
*
*
* @generated
*/
public int getLastModifiedDate() {
return (Integer) eGet(Ifc4Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFIED_DATE, true);
}
/**
*
*
* @generated
*/
public void setLastModifiedDate(int newLastModifiedDate) {
eSet(Ifc4Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFIED_DATE, newLastModifiedDate);
}
/**
*
*
* @generated
*/
public void unsetLastModifiedDate() {
eUnset(Ifc4Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFIED_DATE);
}
/**
*
*
* @generated
*/
public boolean isSetLastModifiedDate() {
return eIsSet(Ifc4Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFIED_DATE);
}
/**
*
*
* @generated
*/
public IfcPersonAndOrganization getLastModifyingUser() {
return (IfcPersonAndOrganization) eGet(Ifc4Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_USER, true);
}
/**
*
*
* @generated
*/
public void setLastModifyingUser(IfcPersonAndOrganization newLastModifyingUser) {
eSet(Ifc4Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_USER, newLastModifyingUser);
}
/**
*
*
* @generated
*/
public void unsetLastModifyingUser() {
eUnset(Ifc4Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_USER);
}
/**
*
*
* @generated
*/
public boolean isSetLastModifyingUser() {
return eIsSet(Ifc4Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_USER);
}
/**
*
*
* @generated
*/
public IfcApplication getLastModifyingApplication() {
return (IfcApplication) eGet(Ifc4Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_APPLICATION, true);
}
/**
*
*
* @generated
*/
public void setLastModifyingApplication(IfcApplication newLastModifyingApplication) {
eSet(Ifc4Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_APPLICATION, newLastModifyingApplication);
}
/**
*
*
* @generated
*/
public void unsetLastModifyingApplication() {
eUnset(Ifc4Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_APPLICATION);
}
/**
*
*
* @generated
*/
public boolean isSetLastModifyingApplication() {
return eIsSet(Ifc4Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_APPLICATION);
}
/**
*
*
* @generated
*/
public int getCreationDate() {
return (Integer) eGet(Ifc4Package.Literals.IFC_OWNER_HISTORY__CREATION_DATE, true);
}
/**
*
*
* @generated
*/
public void setCreationDate(int newCreationDate) {
eSet(Ifc4Package.Literals.IFC_OWNER_HISTORY__CREATION_DATE, newCreationDate);
}
} //IfcOwnerHistoryImpl