
org.bimserver.models.ifc4.impl.IfcObjectImpl 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.ifc4.impl;
import org.bimserver.models.ifc4.Ifc4Package;
import org.bimserver.models.ifc4.IfcObject;
import org.bimserver.models.ifc4.IfcRelDefinesByObject;
import org.bimserver.models.ifc4.IfcRelDefinesByProperties;
import org.bimserver.models.ifc4.IfcRelDefinesByType;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Object'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcObjectImpl#getObjectType Object Type}
* - {@link org.bimserver.models.ifc4.impl.IfcObjectImpl#getIsDeclaredBy Is Declared By}
* - {@link org.bimserver.models.ifc4.impl.IfcObjectImpl#getDeclares Declares}
* - {@link org.bimserver.models.ifc4.impl.IfcObjectImpl#getIsTypedBy Is Typed By}
* - {@link org.bimserver.models.ifc4.impl.IfcObjectImpl#getIsDefinedBy Is Defined By}
*
*
* @generated
*/
public class IfcObjectImpl extends IfcObjectDefinitionImpl implements IfcObject {
/**
*
*
* @generated
*/
protected IfcObjectImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_OBJECT;
}
/**
*
*
* @generated
*/
public String getObjectType() {
return (String) eGet(Ifc4Package.Literals.IFC_OBJECT__OBJECT_TYPE, true);
}
/**
*
*
* @generated
*/
public void setObjectType(String newObjectType) {
eSet(Ifc4Package.Literals.IFC_OBJECT__OBJECT_TYPE, newObjectType);
}
/**
*
*
* @generated
*/
public void unsetObjectType() {
eUnset(Ifc4Package.Literals.IFC_OBJECT__OBJECT_TYPE);
}
/**
*
*
* @generated
*/
public boolean isSetObjectType() {
return eIsSet(Ifc4Package.Literals.IFC_OBJECT__OBJECT_TYPE);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getIsDeclaredBy() {
return (EList) eGet(Ifc4Package.Literals.IFC_OBJECT__IS_DECLARED_BY, true);
}
/**
*
*
* @generated
*/
public void unsetIsDeclaredBy() {
eUnset(Ifc4Package.Literals.IFC_OBJECT__IS_DECLARED_BY);
}
/**
*
*
* @generated
*/
public boolean isSetIsDeclaredBy() {
return eIsSet(Ifc4Package.Literals.IFC_OBJECT__IS_DECLARED_BY);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getDeclares() {
return (EList) eGet(Ifc4Package.Literals.IFC_OBJECT__DECLARES, true);
}
/**
*
*
* @generated
*/
public void unsetDeclares() {
eUnset(Ifc4Package.Literals.IFC_OBJECT__DECLARES);
}
/**
*
*
* @generated
*/
public boolean isSetDeclares() {
return eIsSet(Ifc4Package.Literals.IFC_OBJECT__DECLARES);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getIsTypedBy() {
return (EList) eGet(Ifc4Package.Literals.IFC_OBJECT__IS_TYPED_BY, true);
}
/**
*
*
* @generated
*/
public void unsetIsTypedBy() {
eUnset(Ifc4Package.Literals.IFC_OBJECT__IS_TYPED_BY);
}
/**
*
*
* @generated
*/
public boolean isSetIsTypedBy() {
return eIsSet(Ifc4Package.Literals.IFC_OBJECT__IS_TYPED_BY);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getIsDefinedBy() {
return (EList) eGet(Ifc4Package.Literals.IFC_OBJECT__IS_DEFINED_BY, true);
}
/**
*
*
* @generated
*/
public void unsetIsDefinedBy() {
eUnset(Ifc4Package.Literals.IFC_OBJECT__IS_DEFINED_BY);
}
/**
*
*
* @generated
*/
public boolean isSetIsDefinedBy() {
return eIsSet(Ifc4Package.Literals.IFC_OBJECT__IS_DEFINED_BY);
}
} //IfcObjectImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy