org.bimserver.models.ifc2x3tc1.impl.IfcOwnerHistoryImpl 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.ifc2x3tc1.impl;
import org.bimserver.emf.IdEObjectImpl;
import org.bimserver.models.ifc2x3tc1.Ifc2x3tc1Package;
import org.bimserver.models.ifc2x3tc1.IfcApplication;
import org.bimserver.models.ifc2x3tc1.IfcChangeActionEnum;
import org.bimserver.models.ifc2x3tc1.IfcOwnerHistory;
import org.bimserver.models.ifc2x3tc1.IfcPersonAndOrganization;
import org.bimserver.models.ifc2x3tc1.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.ifc2x3tc1.impl.IfcOwnerHistoryImpl#getOwningUser Owning User}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcOwnerHistoryImpl#getOwningApplication Owning Application}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcOwnerHistoryImpl#getState State}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcOwnerHistoryImpl#getChangeAction Change Action}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcOwnerHistoryImpl#getLastModifiedDate Last Modified Date}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcOwnerHistoryImpl#getLastModifyingUser Last Modifying User}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcOwnerHistoryImpl#getLastModifyingApplication Last Modifying Application}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcOwnerHistoryImpl#getCreationDate Creation Date}
*
*
* @generated
*/
public class IfcOwnerHistoryImpl extends IdEObjectImpl implements IfcOwnerHistory {
/**
*
*
* @generated
*/
protected IfcOwnerHistoryImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
*
*
* @generated
*/
public IfcPersonAndOrganization getOwningUser() {
return (IfcPersonAndOrganization) eGet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__OWNING_USER, true);
}
/**
*
*
* @generated
*/
public void setOwningUser(IfcPersonAndOrganization newOwningUser) {
eSet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__OWNING_USER, newOwningUser);
}
/**
*
*
* @generated
*/
public IfcApplication getOwningApplication() {
return (IfcApplication) eGet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__OWNING_APPLICATION, true);
}
/**
*
*
* @generated
*/
public void setOwningApplication(IfcApplication newOwningApplication) {
eSet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__OWNING_APPLICATION, newOwningApplication);
}
/**
*
*
* @generated
*/
public IfcStateEnum getState() {
return (IfcStateEnum) eGet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__STATE, true);
}
/**
*
*
* @generated
*/
public void setState(IfcStateEnum newState) {
eSet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__STATE, newState);
}
/**
*
*
* @generated
*/
public void unsetState() {
eUnset(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__STATE);
}
/**
*
*
* @generated
*/
public boolean isSetState() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__STATE);
}
/**
*
*
* @generated
*/
public IfcChangeActionEnum getChangeAction() {
return (IfcChangeActionEnum) eGet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__CHANGE_ACTION, true);
}
/**
*
*
* @generated
*/
public void setChangeAction(IfcChangeActionEnum newChangeAction) {
eSet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__CHANGE_ACTION, newChangeAction);
}
/**
*
*
* @generated
*/
public long getLastModifiedDate() {
return (Long) eGet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFIED_DATE, true);
}
/**
*
*
* @generated
*/
public void setLastModifiedDate(long newLastModifiedDate) {
eSet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFIED_DATE, newLastModifiedDate);
}
/**
*
*
* @generated
*/
public void unsetLastModifiedDate() {
eUnset(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFIED_DATE);
}
/**
*
*
* @generated
*/
public boolean isSetLastModifiedDate() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFIED_DATE);
}
/**
*
*
* @generated
*/
public IfcPersonAndOrganization getLastModifyingUser() {
return (IfcPersonAndOrganization) eGet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_USER, true);
}
/**
*
*
* @generated
*/
public void setLastModifyingUser(IfcPersonAndOrganization newLastModifyingUser) {
eSet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_USER, newLastModifyingUser);
}
/**
*
*
* @generated
*/
public void unsetLastModifyingUser() {
eUnset(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_USER);
}
/**
*
*
* @generated
*/
public boolean isSetLastModifyingUser() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_USER);
}
/**
*
*
* @generated
*/
public IfcApplication getLastModifyingApplication() {
return (IfcApplication) eGet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_APPLICATION, true);
}
/**
*
*
* @generated
*/
public void setLastModifyingApplication(IfcApplication newLastModifyingApplication) {
eSet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_APPLICATION, newLastModifyingApplication);
}
/**
*
*
* @generated
*/
public void unsetLastModifyingApplication() {
eUnset(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_APPLICATION);
}
/**
*
*
* @generated
*/
public boolean isSetLastModifyingApplication() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__LAST_MODIFYING_APPLICATION);
}
/**
*
*
* @generated
*/
public long getCreationDate() {
return (Long) eGet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__CREATION_DATE, true);
}
/**
*
*
* @generated
*/
public void setCreationDate(long newCreationDate) {
eSet(Ifc2x3tc1Package.Literals.IFC_OWNER_HISTORY__CREATION_DATE, newCreationDate);
}
} //IfcOwnerHistoryImpl