org.bimserver.models.ifc4.impl.IfcObjectiveImpl 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.IfcConstraint;
import org.bimserver.models.ifc4.IfcLogicalOperatorEnum;
import org.bimserver.models.ifc4.IfcObjective;
import org.bimserver.models.ifc4.IfcObjectiveEnum;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Objective'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcObjectiveImpl#getBenchmarkValues Benchmark Values}
* - {@link org.bimserver.models.ifc4.impl.IfcObjectiveImpl#getLogicalAggregator Logical Aggregator}
* - {@link org.bimserver.models.ifc4.impl.IfcObjectiveImpl#getObjectiveQualifier Objective Qualifier}
* - {@link org.bimserver.models.ifc4.impl.IfcObjectiveImpl#getUserDefinedQualifier User Defined Qualifier}
*
*
* @generated
*/
public class IfcObjectiveImpl extends IfcConstraintImpl implements IfcObjective {
/**
*
*
* @generated
*/
protected IfcObjectiveImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_OBJECTIVE;
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getBenchmarkValues() {
return (EList) eGet(Ifc4Package.Literals.IFC_OBJECTIVE__BENCHMARK_VALUES, true);
}
/**
*
*
* @generated
*/
public void unsetBenchmarkValues() {
eUnset(Ifc4Package.Literals.IFC_OBJECTIVE__BENCHMARK_VALUES);
}
/**
*
*
* @generated
*/
public boolean isSetBenchmarkValues() {
return eIsSet(Ifc4Package.Literals.IFC_OBJECTIVE__BENCHMARK_VALUES);
}
/**
*
*
* @generated
*/
public IfcLogicalOperatorEnum getLogicalAggregator() {
return (IfcLogicalOperatorEnum) eGet(Ifc4Package.Literals.IFC_OBJECTIVE__LOGICAL_AGGREGATOR, true);
}
/**
*
*
* @generated
*/
public void setLogicalAggregator(IfcLogicalOperatorEnum newLogicalAggregator) {
eSet(Ifc4Package.Literals.IFC_OBJECTIVE__LOGICAL_AGGREGATOR, newLogicalAggregator);
}
/**
*
*
* @generated
*/
public void unsetLogicalAggregator() {
eUnset(Ifc4Package.Literals.IFC_OBJECTIVE__LOGICAL_AGGREGATOR);
}
/**
*
*
* @generated
*/
public boolean isSetLogicalAggregator() {
return eIsSet(Ifc4Package.Literals.IFC_OBJECTIVE__LOGICAL_AGGREGATOR);
}
/**
*
*
* @generated
*/
public IfcObjectiveEnum getObjectiveQualifier() {
return (IfcObjectiveEnum) eGet(Ifc4Package.Literals.IFC_OBJECTIVE__OBJECTIVE_QUALIFIER, true);
}
/**
*
*
* @generated
*/
public void setObjectiveQualifier(IfcObjectiveEnum newObjectiveQualifier) {
eSet(Ifc4Package.Literals.IFC_OBJECTIVE__OBJECTIVE_QUALIFIER, newObjectiveQualifier);
}
/**
*
*
* @generated
*/
public String getUserDefinedQualifier() {
return (String) eGet(Ifc4Package.Literals.IFC_OBJECTIVE__USER_DEFINED_QUALIFIER, true);
}
/**
*
*
* @generated
*/
public void setUserDefinedQualifier(String newUserDefinedQualifier) {
eSet(Ifc4Package.Literals.IFC_OBJECTIVE__USER_DEFINED_QUALIFIER, newUserDefinedQualifier);
}
/**
*
*
* @generated
*/
public void unsetUserDefinedQualifier() {
eUnset(Ifc4Package.Literals.IFC_OBJECTIVE__USER_DEFINED_QUALIFIER);
}
/**
*
*
* @generated
*/
public boolean isSetUserDefinedQualifier() {
return eIsSet(Ifc4Package.Literals.IFC_OBJECTIVE__USER_DEFINED_QUALIFIER);
}
} //IfcObjectiveImpl