
org.bimserver.models.ifc4.impl.IfcGeometricRepresentationSubContextImpl 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
/**
* 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.IfcGeometricProjectionEnum;
import org.bimserver.models.ifc4.IfcGeometricRepresentationContext;
import org.bimserver.models.ifc4.IfcGeometricRepresentationSubContext;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Geometric Representation Sub Context'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcGeometricRepresentationSubContextImpl#getParentContext Parent Context}
* - {@link org.bimserver.models.ifc4.impl.IfcGeometricRepresentationSubContextImpl#getTargetScale Target Scale}
* - {@link org.bimserver.models.ifc4.impl.IfcGeometricRepresentationSubContextImpl#getTargetScaleAsString Target Scale As String}
* - {@link org.bimserver.models.ifc4.impl.IfcGeometricRepresentationSubContextImpl#getTargetView Target View}
* - {@link org.bimserver.models.ifc4.impl.IfcGeometricRepresentationSubContextImpl#getUserDefinedTargetView User Defined Target View}
*
*
* @generated
*/
public class IfcGeometricRepresentationSubContextImpl extends IfcGeometricRepresentationContextImpl
implements IfcGeometricRepresentationSubContext {
/**
*
*
* @generated
*/
protected IfcGeometricRepresentationSubContextImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT;
}
/**
*
*
* @generated
*/
public IfcGeometricRepresentationContext getParentContext() {
return (IfcGeometricRepresentationContext) eGet(
Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__PARENT_CONTEXT, true);
}
/**
*
*
* @generated
*/
public void setParentContext(IfcGeometricRepresentationContext newParentContext) {
eSet(Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__PARENT_CONTEXT, newParentContext);
}
/**
*
*
* @generated
*/
public double getTargetScale() {
return (Double) eGet(Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE, true);
}
/**
*
*
* @generated
*/
public void setTargetScale(double newTargetScale) {
eSet(Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE, newTargetScale);
}
/**
*
*
* @generated
*/
public void unsetTargetScale() {
eUnset(Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE);
}
/**
*
*
* @generated
*/
public boolean isSetTargetScale() {
return eIsSet(Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE);
}
/**
*
*
* @generated
*/
public String getTargetScaleAsString() {
return (String) eGet(Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE_AS_STRING,
true);
}
/**
*
*
* @generated
*/
public void setTargetScaleAsString(String newTargetScaleAsString) {
eSet(Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE_AS_STRING,
newTargetScaleAsString);
}
/**
*
*
* @generated
*/
public void unsetTargetScaleAsString() {
eUnset(Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE_AS_STRING);
}
/**
*
*
* @generated
*/
public boolean isSetTargetScaleAsString() {
return eIsSet(Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE_AS_STRING);
}
/**
*
*
* @generated
*/
public IfcGeometricProjectionEnum getTargetView() {
return (IfcGeometricProjectionEnum) eGet(
Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_VIEW, true);
}
/**
*
*
* @generated
*/
public void setTargetView(IfcGeometricProjectionEnum newTargetView) {
eSet(Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_VIEW, newTargetView);
}
/**
*
*
* @generated
*/
public String getUserDefinedTargetView() {
return (String) eGet(Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__USER_DEFINED_TARGET_VIEW,
true);
}
/**
*
*
* @generated
*/
public void setUserDefinedTargetView(String newUserDefinedTargetView) {
eSet(Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__USER_DEFINED_TARGET_VIEW,
newUserDefinedTargetView);
}
/**
*
*
* @generated
*/
public void unsetUserDefinedTargetView() {
eUnset(Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__USER_DEFINED_TARGET_VIEW);
}
/**
*
*
* @generated
*/
public boolean isSetUserDefinedTargetView() {
return eIsSet(Ifc4Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__USER_DEFINED_TARGET_VIEW);
}
} //IfcGeometricRepresentationSubContextImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy