org.bimserver.models.ifc4.impl.IfcBooleanResultImpl 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.IfcBooleanOperand;
import org.bimserver.models.ifc4.IfcBooleanOperator;
import org.bimserver.models.ifc4.IfcBooleanResult;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Boolean Result'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcBooleanResultImpl#getOperator Operator}
* - {@link org.bimserver.models.ifc4.impl.IfcBooleanResultImpl#getFirstOperand First Operand}
* - {@link org.bimserver.models.ifc4.impl.IfcBooleanResultImpl#getSecondOperand Second Operand}
* - {@link org.bimserver.models.ifc4.impl.IfcBooleanResultImpl#getDim Dim}
*
*
* @generated
*/
public class IfcBooleanResultImpl extends IfcGeometricRepresentationItemImpl implements IfcBooleanResult {
/**
*
*
* @generated
*/
protected IfcBooleanResultImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_BOOLEAN_RESULT;
}
/**
*
*
* @generated
*/
public IfcBooleanOperator getOperator() {
return (IfcBooleanOperator) eGet(Ifc4Package.Literals.IFC_BOOLEAN_RESULT__OPERATOR, true);
}
/**
*
*
* @generated
*/
public void setOperator(IfcBooleanOperator newOperator) {
eSet(Ifc4Package.Literals.IFC_BOOLEAN_RESULT__OPERATOR, newOperator);
}
/**
*
*
* @generated
*/
public IfcBooleanOperand getFirstOperand() {
return (IfcBooleanOperand) eGet(Ifc4Package.Literals.IFC_BOOLEAN_RESULT__FIRST_OPERAND, true);
}
/**
*
*
* @generated
*/
public void setFirstOperand(IfcBooleanOperand newFirstOperand) {
eSet(Ifc4Package.Literals.IFC_BOOLEAN_RESULT__FIRST_OPERAND, newFirstOperand);
}
/**
*
*
* @generated
*/
public IfcBooleanOperand getSecondOperand() {
return (IfcBooleanOperand) eGet(Ifc4Package.Literals.IFC_BOOLEAN_RESULT__SECOND_OPERAND, true);
}
/**
*
*
* @generated
*/
public void setSecondOperand(IfcBooleanOperand newSecondOperand) {
eSet(Ifc4Package.Literals.IFC_BOOLEAN_RESULT__SECOND_OPERAND, newSecondOperand);
}
/**
*
*
* @generated
*/
public long getDim() {
return (Long) eGet(Ifc4Package.Literals.IFC_BOOLEAN_RESULT__DIM, true);
}
/**
*
*
* @generated
*/
public void setDim(long newDim) {
eSet(Ifc4Package.Literals.IFC_BOOLEAN_RESULT__DIM, newDim);
}
/**
*
*
* @generated
*/
public void unsetDim() {
eUnset(Ifc4Package.Literals.IFC_BOOLEAN_RESULT__DIM);
}
/**
*
*
* @generated
*/
public boolean isSetDim() {
return eIsSet(Ifc4Package.Literals.IFC_BOOLEAN_RESULT__DIM);
}
} //IfcBooleanResultImpl