org.bimserver.models.ifc2x3tc1.impl.IfcLightSourcePositionalImpl 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.ifc2x3tc1.impl;
import org.bimserver.models.ifc2x3tc1.Ifc2x3tc1Package;
import org.bimserver.models.ifc2x3tc1.IfcCartesianPoint;
import org.bimserver.models.ifc2x3tc1.IfcLightSourcePositional;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Light Source Positional'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLightSourcePositionalImpl#getPosition Position}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLightSourcePositionalImpl#getRadius Radius}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLightSourcePositionalImpl#getRadiusAsString Radius As String}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLightSourcePositionalImpl#getConstantAttenuation Constant Attenuation}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLightSourcePositionalImpl#getConstantAttenuationAsString Constant Attenuation As String}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLightSourcePositionalImpl#getDistanceAttenuation Distance Attenuation}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLightSourcePositionalImpl#getDistanceAttenuationAsString Distance Attenuation As String}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLightSourcePositionalImpl#getQuadricAttenuation Quadric Attenuation}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLightSourcePositionalImpl#getQuadricAttenuationAsString Quadric Attenuation As String}
*
*
* @generated
*/
public class IfcLightSourcePositionalImpl extends IfcLightSourceImpl implements IfcLightSourcePositional {
/**
*
*
* @generated
*/
protected IfcLightSourcePositionalImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL;
}
/**
*
*
* @generated
*/
public IfcCartesianPoint getPosition() {
return (IfcCartesianPoint) eGet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__POSITION, true);
}
/**
*
*
* @generated
*/
public void setPosition(IfcCartesianPoint newPosition) {
eSet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__POSITION, newPosition);
}
/**
*
*
* @generated
*/
public double getRadius() {
return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__RADIUS, true);
}
/**
*
*
* @generated
*/
public void setRadius(double newRadius) {
eSet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__RADIUS, newRadius);
}
/**
*
*
* @generated
*/
public String getRadiusAsString() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__RADIUS_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setRadiusAsString(String newRadiusAsString) {
eSet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__RADIUS_AS_STRING, newRadiusAsString);
}
/**
*
*
* @generated
*/
public double getConstantAttenuation() {
return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__CONSTANT_ATTENUATION, true);
}
/**
*
*
* @generated
*/
public void setConstantAttenuation(double newConstantAttenuation) {
eSet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__CONSTANT_ATTENUATION, newConstantAttenuation);
}
/**
*
*
* @generated
*/
public String getConstantAttenuationAsString() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__CONSTANT_ATTENUATION_AS_STRING,
true);
}
/**
*
*
* @generated
*/
public void setConstantAttenuationAsString(String newConstantAttenuationAsString) {
eSet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__CONSTANT_ATTENUATION_AS_STRING,
newConstantAttenuationAsString);
}
/**
*
*
* @generated
*/
public double getDistanceAttenuation() {
return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__DISTANCE_ATTENUATION, true);
}
/**
*
*
* @generated
*/
public void setDistanceAttenuation(double newDistanceAttenuation) {
eSet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__DISTANCE_ATTENUATION, newDistanceAttenuation);
}
/**
*
*
* @generated
*/
public String getDistanceAttenuationAsString() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__DISTANCE_ATTENUATION_AS_STRING,
true);
}
/**
*
*
* @generated
*/
public void setDistanceAttenuationAsString(String newDistanceAttenuationAsString) {
eSet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__DISTANCE_ATTENUATION_AS_STRING,
newDistanceAttenuationAsString);
}
/**
*
*
* @generated
*/
public double getQuadricAttenuation() {
return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__QUADRIC_ATTENUATION, true);
}
/**
*
*
* @generated
*/
public void setQuadricAttenuation(double newQuadricAttenuation) {
eSet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__QUADRIC_ATTENUATION, newQuadricAttenuation);
}
/**
*
*
* @generated
*/
public String getQuadricAttenuationAsString() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__QUADRIC_ATTENUATION_AS_STRING,
true);
}
/**
*
*
* @generated
*/
public void setQuadricAttenuationAsString(String newQuadricAttenuationAsString) {
eSet(Ifc2x3tc1Package.Literals.IFC_LIGHT_SOURCE_POSITIONAL__QUADRIC_ATTENUATION_AS_STRING,
newQuadricAttenuationAsString);
}
} //IfcLightSourcePositionalImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy