All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bimserver.models.ifc4.impl.IfcRepresentationContextImpl 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.ifc4.impl;

import org.bimserver.emf.IdEObjectImpl;
import org.bimserver.models.ifc4.Ifc4Package;
import org.bimserver.models.ifc4.IfcRepresentation;
import org.bimserver.models.ifc4.IfcRepresentationContext;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;

/**
 * 
 * An implementation of the model object 'Ifc Representation Context'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.bimserver.models.ifc4.impl.IfcRepresentationContextImpl#getContextIdentifier Context Identifier}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRepresentationContextImpl#getContextType Context Type}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRepresentationContextImpl#getRepresentationsInContext Representations In Context}
  • *
* * @generated */ public class IfcRepresentationContextImpl extends IdEObjectImpl implements IfcRepresentationContext { /** * * * @generated */ protected IfcRepresentationContextImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return Ifc4Package.Literals.IFC_REPRESENTATION_CONTEXT; } /** * * * @generated */ @Override protected int eStaticFeatureCount() { return 0; } /** * * * @generated */ public String getContextIdentifier() { return (String) eGet(Ifc4Package.Literals.IFC_REPRESENTATION_CONTEXT__CONTEXT_IDENTIFIER, true); } /** * * * @generated */ public void setContextIdentifier(String newContextIdentifier) { eSet(Ifc4Package.Literals.IFC_REPRESENTATION_CONTEXT__CONTEXT_IDENTIFIER, newContextIdentifier); } /** * * * @generated */ public void unsetContextIdentifier() { eUnset(Ifc4Package.Literals.IFC_REPRESENTATION_CONTEXT__CONTEXT_IDENTIFIER); } /** * * * @generated */ public boolean isSetContextIdentifier() { return eIsSet(Ifc4Package.Literals.IFC_REPRESENTATION_CONTEXT__CONTEXT_IDENTIFIER); } /** * * * @generated */ public String getContextType() { return (String) eGet(Ifc4Package.Literals.IFC_REPRESENTATION_CONTEXT__CONTEXT_TYPE, true); } /** * * * @generated */ public void setContextType(String newContextType) { eSet(Ifc4Package.Literals.IFC_REPRESENTATION_CONTEXT__CONTEXT_TYPE, newContextType); } /** * * * @generated */ public void unsetContextType() { eUnset(Ifc4Package.Literals.IFC_REPRESENTATION_CONTEXT__CONTEXT_TYPE); } /** * * * @generated */ public boolean isSetContextType() { return eIsSet(Ifc4Package.Literals.IFC_REPRESENTATION_CONTEXT__CONTEXT_TYPE); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getRepresentationsInContext() { return (EList) eGet(Ifc4Package.Literals.IFC_REPRESENTATION_CONTEXT__REPRESENTATIONS_IN_CONTEXT, true); } /** * * * @generated */ public void unsetRepresentationsInContext() { eUnset(Ifc4Package.Literals.IFC_REPRESENTATION_CONTEXT__REPRESENTATIONS_IN_CONTEXT); } /** * * * @generated */ public boolean isSetRepresentationsInContext() { return eIsSet(Ifc4Package.Literals.IFC_REPRESENTATION_CONTEXT__REPRESENTATIONS_IN_CONTEXT); } } //IfcRepresentationContextImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy