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

org.bimserver.models.ifc4.impl.IfcIndexedColourMapImpl Maven / Gradle / Ivy

Go to download

Base project for BIMserver plugin development. Some plugins mights also need the Shared library

There is a newer version: 2.0.0
Show newest version
/**
 * 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.IfcColourRgbList;
import org.bimserver.models.ifc4.IfcIndexedColourMap;
import org.bimserver.models.ifc4.IfcSurfaceStyleShading;
import org.bimserver.models.ifc4.IfcTessellatedFaceSet;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;

/**
 * 
 * An implementation of the model object 'Ifc Indexed Colour Map'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.bimserver.models.ifc4.impl.IfcIndexedColourMapImpl#getMappedTo Mapped To}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcIndexedColourMapImpl#getOverrides Overrides}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcIndexedColourMapImpl#getColours Colours}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcIndexedColourMapImpl#getColourIndex Colour Index}
  • *
* * @generated */ public class IfcIndexedColourMapImpl extends IfcPresentationItemImpl implements IfcIndexedColourMap { /** * * * @generated */ protected IfcIndexedColourMapImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return Ifc4Package.Literals.IFC_INDEXED_COLOUR_MAP; } /** * * * @generated */ public IfcTessellatedFaceSet getMappedTo() { return (IfcTessellatedFaceSet) eGet(Ifc4Package.Literals.IFC_INDEXED_COLOUR_MAP__MAPPED_TO, true); } /** * * * @generated */ public void setMappedTo(IfcTessellatedFaceSet newMappedTo) { eSet(Ifc4Package.Literals.IFC_INDEXED_COLOUR_MAP__MAPPED_TO, newMappedTo); } /** * * * @generated */ public IfcSurfaceStyleShading getOverrides() { return (IfcSurfaceStyleShading) eGet(Ifc4Package.Literals.IFC_INDEXED_COLOUR_MAP__OVERRIDES, true); } /** * * * @generated */ public void setOverrides(IfcSurfaceStyleShading newOverrides) { eSet(Ifc4Package.Literals.IFC_INDEXED_COLOUR_MAP__OVERRIDES, newOverrides); } /** * * * @generated */ public void unsetOverrides() { eUnset(Ifc4Package.Literals.IFC_INDEXED_COLOUR_MAP__OVERRIDES); } /** * * * @generated */ public boolean isSetOverrides() { return eIsSet(Ifc4Package.Literals.IFC_INDEXED_COLOUR_MAP__OVERRIDES); } /** * * * @generated */ public IfcColourRgbList getColours() { return (IfcColourRgbList) eGet(Ifc4Package.Literals.IFC_INDEXED_COLOUR_MAP__COLOURS, true); } /** * * * @generated */ public void setColours(IfcColourRgbList newColours) { eSet(Ifc4Package.Literals.IFC_INDEXED_COLOUR_MAP__COLOURS, newColours); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getColourIndex() { return (EList) eGet(Ifc4Package.Literals.IFC_INDEXED_COLOUR_MAP__COLOUR_INDEX, true); } } //IfcIndexedColourMapImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy