org.bimserver.models.ifc4.impl.IfcRepresentationMapImpl 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
The 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.emf.IdEObjectImpl;
import org.bimserver.models.ifc4.Ifc4Package;
import org.bimserver.models.ifc4.IfcAxis2Placement;
import org.bimserver.models.ifc4.IfcMappedItem;
import org.bimserver.models.ifc4.IfcRepresentation;
import org.bimserver.models.ifc4.IfcRepresentationMap;
import org.bimserver.models.ifc4.IfcShapeAspect;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Representation Map'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcRepresentationMapImpl#getMappingOrigin Mapping Origin}
* - {@link org.bimserver.models.ifc4.impl.IfcRepresentationMapImpl#getMappedRepresentation Mapped Representation}
* - {@link org.bimserver.models.ifc4.impl.IfcRepresentationMapImpl#getHasShapeAspects Has Shape Aspects}
* - {@link org.bimserver.models.ifc4.impl.IfcRepresentationMapImpl#getMapUsage Map Usage}
*
*
* @generated
*/
public class IfcRepresentationMapImpl extends IdEObjectImpl implements IfcRepresentationMap {
/**
*
*
* @generated
*/
protected IfcRepresentationMapImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_REPRESENTATION_MAP;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
*
*
* @generated
*/
public IfcAxis2Placement getMappingOrigin() {
return (IfcAxis2Placement) eGet(Ifc4Package.Literals.IFC_REPRESENTATION_MAP__MAPPING_ORIGIN, true);
}
/**
*
*
* @generated
*/
public void setMappingOrigin(IfcAxis2Placement newMappingOrigin) {
eSet(Ifc4Package.Literals.IFC_REPRESENTATION_MAP__MAPPING_ORIGIN, newMappingOrigin);
}
/**
*
*
* @generated
*/
public IfcRepresentation getMappedRepresentation() {
return (IfcRepresentation) eGet(Ifc4Package.Literals.IFC_REPRESENTATION_MAP__MAPPED_REPRESENTATION, true);
}
/**
*
*
* @generated
*/
public void setMappedRepresentation(IfcRepresentation newMappedRepresentation) {
eSet(Ifc4Package.Literals.IFC_REPRESENTATION_MAP__MAPPED_REPRESENTATION, newMappedRepresentation);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getHasShapeAspects() {
return (EList) eGet(Ifc4Package.Literals.IFC_REPRESENTATION_MAP__HAS_SHAPE_ASPECTS, true);
}
/**
*
*
* @generated
*/
public void unsetHasShapeAspects() {
eUnset(Ifc4Package.Literals.IFC_REPRESENTATION_MAP__HAS_SHAPE_ASPECTS);
}
/**
*
*
* @generated
*/
public boolean isSetHasShapeAspects() {
return eIsSet(Ifc4Package.Literals.IFC_REPRESENTATION_MAP__HAS_SHAPE_ASPECTS);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getMapUsage() {
return (EList) eGet(Ifc4Package.Literals.IFC_REPRESENTATION_MAP__MAP_USAGE, true);
}
/**
*
*
* @generated
*/
public void unsetMapUsage() {
eUnset(Ifc4Package.Literals.IFC_REPRESENTATION_MAP__MAP_USAGE);
}
/**
*
*
* @generated
*/
public boolean isSetMapUsage() {
return eIsSet(Ifc4Package.Literals.IFC_REPRESENTATION_MAP__MAP_USAGE);
}
} //IfcRepresentationMapImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy