
org.bimserver.models.ifc4.impl.IfcPropertySetTemplateImpl 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.IfcPropertySetTemplate;
import org.bimserver.models.ifc4.IfcPropertySetTemplateTypeEnum;
import org.bimserver.models.ifc4.IfcPropertyTemplate;
import org.bimserver.models.ifc4.IfcRelDefinesByTemplate;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Property Set Template'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcPropertySetTemplateImpl#getTemplateType Template Type}
* - {@link org.bimserver.models.ifc4.impl.IfcPropertySetTemplateImpl#getApplicableEntity Applicable Entity}
* - {@link org.bimserver.models.ifc4.impl.IfcPropertySetTemplateImpl#getHasPropertyTemplates Has Property Templates}
* - {@link org.bimserver.models.ifc4.impl.IfcPropertySetTemplateImpl#getDefines Defines}
*
*
* @generated
*/
public class IfcPropertySetTemplateImpl extends IfcPropertyTemplateDefinitionImpl implements IfcPropertySetTemplate {
/**
*
*
* @generated
*/
protected IfcPropertySetTemplateImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_PROPERTY_SET_TEMPLATE;
}
/**
*
*
* @generated
*/
public IfcPropertySetTemplateTypeEnum getTemplateType() {
return (IfcPropertySetTemplateTypeEnum) eGet(Ifc4Package.Literals.IFC_PROPERTY_SET_TEMPLATE__TEMPLATE_TYPE,
true);
}
/**
*
*
* @generated
*/
public void setTemplateType(IfcPropertySetTemplateTypeEnum newTemplateType) {
eSet(Ifc4Package.Literals.IFC_PROPERTY_SET_TEMPLATE__TEMPLATE_TYPE, newTemplateType);
}
/**
*
*
* @generated
*/
public void unsetTemplateType() {
eUnset(Ifc4Package.Literals.IFC_PROPERTY_SET_TEMPLATE__TEMPLATE_TYPE);
}
/**
*
*
* @generated
*/
public boolean isSetTemplateType() {
return eIsSet(Ifc4Package.Literals.IFC_PROPERTY_SET_TEMPLATE__TEMPLATE_TYPE);
}
/**
*
*
* @generated
*/
public String getApplicableEntity() {
return (String) eGet(Ifc4Package.Literals.IFC_PROPERTY_SET_TEMPLATE__APPLICABLE_ENTITY, true);
}
/**
*
*
* @generated
*/
public void setApplicableEntity(String newApplicableEntity) {
eSet(Ifc4Package.Literals.IFC_PROPERTY_SET_TEMPLATE__APPLICABLE_ENTITY, newApplicableEntity);
}
/**
*
*
* @generated
*/
public void unsetApplicableEntity() {
eUnset(Ifc4Package.Literals.IFC_PROPERTY_SET_TEMPLATE__APPLICABLE_ENTITY);
}
/**
*
*
* @generated
*/
public boolean isSetApplicableEntity() {
return eIsSet(Ifc4Package.Literals.IFC_PROPERTY_SET_TEMPLATE__APPLICABLE_ENTITY);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getHasPropertyTemplates() {
return (EList) eGet(Ifc4Package.Literals.IFC_PROPERTY_SET_TEMPLATE__HAS_PROPERTY_TEMPLATES,
true);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getDefines() {
return (EList) eGet(Ifc4Package.Literals.IFC_PROPERTY_SET_TEMPLATE__DEFINES, true);
}
/**
*
*
* @generated
*/
public void unsetDefines() {
eUnset(Ifc4Package.Literals.IFC_PROPERTY_SET_TEMPLATE__DEFINES);
}
/**
*
*
* @generated
*/
public boolean isSetDefines() {
return eIsSet(Ifc4Package.Literals.IFC_PROPERTY_SET_TEMPLATE__DEFINES);
}
} //IfcPropertySetTemplateImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy