org.bimserver.models.ifc4.impl.IfcMaterialProfileSetUsageImpl 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.models.ifc4.Ifc4Package;
import org.bimserver.models.ifc4.IfcMaterialProfileSet;
import org.bimserver.models.ifc4.IfcMaterialProfileSetUsage;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Material Profile Set Usage'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialProfileSetUsageImpl#getForProfileSet For Profile Set}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialProfileSetUsageImpl#getCardinalPoint Cardinal Point}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialProfileSetUsageImpl#getReferenceExtent Reference Extent}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialProfileSetUsageImpl#getReferenceExtentAsString Reference Extent As String}
*
*
* @generated
*/
public class IfcMaterialProfileSetUsageImpl extends IfcMaterialUsageDefinitionImpl implements IfcMaterialProfileSetUsage {
/**
*
*
* @generated
*/
protected IfcMaterialProfileSetUsageImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE;
}
/**
*
*
* @generated
*/
public IfcMaterialProfileSet getForProfileSet() {
return (IfcMaterialProfileSet) eGet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE__FOR_PROFILE_SET, true);
}
/**
*
*
* @generated
*/
public void setForProfileSet(IfcMaterialProfileSet newForProfileSet) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE__FOR_PROFILE_SET, newForProfileSet);
}
/**
*
*
* @generated
*/
public long getCardinalPoint() {
return (Long) eGet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE__CARDINAL_POINT, true);
}
/**
*
*
* @generated
*/
public void setCardinalPoint(long newCardinalPoint) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE__CARDINAL_POINT, newCardinalPoint);
}
/**
*
*
* @generated
*/
public void unsetCardinalPoint() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE__CARDINAL_POINT);
}
/**
*
*
* @generated
*/
public boolean isSetCardinalPoint() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE__CARDINAL_POINT);
}
/**
*
*
* @generated
*/
public double getReferenceExtent() {
return (Double) eGet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE__REFERENCE_EXTENT, true);
}
/**
*
*
* @generated
*/
public void setReferenceExtent(double newReferenceExtent) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE__REFERENCE_EXTENT, newReferenceExtent);
}
/**
*
*
* @generated
*/
public void unsetReferenceExtent() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE__REFERENCE_EXTENT);
}
/**
*
*
* @generated
*/
public boolean isSetReferenceExtent() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE__REFERENCE_EXTENT);
}
/**
*
*
* @generated
*/
public String getReferenceExtentAsString() {
return (String) eGet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE__REFERENCE_EXTENT_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setReferenceExtentAsString(String newReferenceExtentAsString) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE__REFERENCE_EXTENT_AS_STRING, newReferenceExtentAsString);
}
/**
*
*
* @generated
*/
public void unsetReferenceExtentAsString() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE__REFERENCE_EXTENT_AS_STRING);
}
/**
*
*
* @generated
*/
public boolean isSetReferenceExtentAsString() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE_SET_USAGE__REFERENCE_EXTENT_AS_STRING);
}
} //IfcMaterialProfileSetUsageImpl