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

org.bimserver.models.ifc4.impl.IfcRepresentationImpl 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.IfcPresentationLayerAssignment;
import org.bimserver.models.ifc4.IfcProductRepresentation;
import org.bimserver.models.ifc4.IfcRepresentation;
import org.bimserver.models.ifc4.IfcRepresentationContext;
import org.bimserver.models.ifc4.IfcRepresentationItem;
import org.bimserver.models.ifc4.IfcRepresentationMap;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;

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

* The following features are implemented: *

*
    *
  • {@link org.bimserver.models.ifc4.impl.IfcRepresentationImpl#getContextOfItems Context Of Items}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRepresentationImpl#getRepresentationIdentifier Representation Identifier}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRepresentationImpl#getRepresentationType Representation Type}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRepresentationImpl#getItems Items}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRepresentationImpl#getRepresentationMap Representation Map}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRepresentationImpl#getLayerAssignments Layer Assignments}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRepresentationImpl#getOfProductRepresentation Of Product Representation}
  • *
* * @generated */ public class IfcRepresentationImpl extends IdEObjectImpl implements IfcRepresentation { /** * * * @generated */ protected IfcRepresentationImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return Ifc4Package.Literals.IFC_REPRESENTATION; } /** * * * @generated */ @Override protected int eStaticFeatureCount() { return 0; } /** * * * @generated */ public IfcRepresentationContext getContextOfItems() { return (IfcRepresentationContext) eGet(Ifc4Package.Literals.IFC_REPRESENTATION__CONTEXT_OF_ITEMS, true); } /** * * * @generated */ public void setContextOfItems(IfcRepresentationContext newContextOfItems) { eSet(Ifc4Package.Literals.IFC_REPRESENTATION__CONTEXT_OF_ITEMS, newContextOfItems); } /** * * * @generated */ public String getRepresentationIdentifier() { return (String) eGet(Ifc4Package.Literals.IFC_REPRESENTATION__REPRESENTATION_IDENTIFIER, true); } /** * * * @generated */ public void setRepresentationIdentifier(String newRepresentationIdentifier) { eSet(Ifc4Package.Literals.IFC_REPRESENTATION__REPRESENTATION_IDENTIFIER, newRepresentationIdentifier); } /** * * * @generated */ public void unsetRepresentationIdentifier() { eUnset(Ifc4Package.Literals.IFC_REPRESENTATION__REPRESENTATION_IDENTIFIER); } /** * * * @generated */ public boolean isSetRepresentationIdentifier() { return eIsSet(Ifc4Package.Literals.IFC_REPRESENTATION__REPRESENTATION_IDENTIFIER); } /** * * * @generated */ public String getRepresentationType() { return (String) eGet(Ifc4Package.Literals.IFC_REPRESENTATION__REPRESENTATION_TYPE, true); } /** * * * @generated */ public void setRepresentationType(String newRepresentationType) { eSet(Ifc4Package.Literals.IFC_REPRESENTATION__REPRESENTATION_TYPE, newRepresentationType); } /** * * * @generated */ public void unsetRepresentationType() { eUnset(Ifc4Package.Literals.IFC_REPRESENTATION__REPRESENTATION_TYPE); } /** * * * @generated */ public boolean isSetRepresentationType() { return eIsSet(Ifc4Package.Literals.IFC_REPRESENTATION__REPRESENTATION_TYPE); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getItems() { return (EList) eGet(Ifc4Package.Literals.IFC_REPRESENTATION__ITEMS, true); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getRepresentationMap() { return (EList) eGet(Ifc4Package.Literals.IFC_REPRESENTATION__REPRESENTATION_MAP, true); } /** * * * @generated */ public void unsetRepresentationMap() { eUnset(Ifc4Package.Literals.IFC_REPRESENTATION__REPRESENTATION_MAP); } /** * * * @generated */ public boolean isSetRepresentationMap() { return eIsSet(Ifc4Package.Literals.IFC_REPRESENTATION__REPRESENTATION_MAP); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getLayerAssignments() { return (EList) eGet(Ifc4Package.Literals.IFC_REPRESENTATION__LAYER_ASSIGNMENTS, true); } /** * * * @generated */ public void unsetLayerAssignments() { eUnset(Ifc4Package.Literals.IFC_REPRESENTATION__LAYER_ASSIGNMENTS); } /** * * * @generated */ public boolean isSetLayerAssignments() { return eIsSet(Ifc4Package.Literals.IFC_REPRESENTATION__LAYER_ASSIGNMENTS); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getOfProductRepresentation() { return (EList) eGet(Ifc4Package.Literals.IFC_REPRESENTATION__OF_PRODUCT_REPRESENTATION, true); } /** * * * @generated */ public void unsetOfProductRepresentation() { eUnset(Ifc4Package.Literals.IFC_REPRESENTATION__OF_PRODUCT_REPRESENTATION); } /** * * * @generated */ public boolean isSetOfProductRepresentation() { return eIsSet(Ifc4Package.Literals.IFC_REPRESENTATION__OF_PRODUCT_REPRESENTATION); } } //IfcRepresentationImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy