
org.bimserver.models.ifc2x3tc1.impl.IfcConstraintImpl 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.emf.IdEObjectImpl;
import org.bimserver.models.ifc2x3tc1.Ifc2x3tc1Package;
import org.bimserver.models.ifc2x3tc1.IfcActorSelect;
import org.bimserver.models.ifc2x3tc1.IfcConstraint;
import org.bimserver.models.ifc2x3tc1.IfcConstraintAggregationRelationship;
import org.bimserver.models.ifc2x3tc1.IfcConstraintClassificationRelationship;
import org.bimserver.models.ifc2x3tc1.IfcConstraintEnum;
import org.bimserver.models.ifc2x3tc1.IfcConstraintRelationship;
import org.bimserver.models.ifc2x3tc1.IfcDateTimeSelect;
import org.bimserver.models.ifc2x3tc1.IfcPropertyConstraintRelationship;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Constraint'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstraintImpl#getName Name}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstraintImpl#getDescription Description}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstraintImpl#getConstraintGrade Constraint Grade}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstraintImpl#getConstraintSource Constraint Source}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstraintImpl#getCreatingActor Creating Actor}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstraintImpl#getCreationTime Creation Time}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstraintImpl#getUserDefinedGrade User Defined Grade}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstraintImpl#getClassifiedAs Classified As}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstraintImpl#getRelatesConstraints Relates Constraints}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstraintImpl#getIsRelatedWith Is Related With}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstraintImpl#getPropertiesForConstraint Properties For Constraint}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstraintImpl#getAggregates Aggregates}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstraintImpl#getIsAggregatedIn Is Aggregated In}
*
*
* @generated
*/
public class IfcConstraintImpl extends IdEObjectImpl implements IfcConstraint {
/**
*
*
* @generated
*/
protected IfcConstraintImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_CONSTRAINT;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
*
*
* @generated
*/
public String getName() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__NAME, true);
}
/**
*
*
* @generated
*/
public void setName(String newName) {
eSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__NAME, newName);
}
/**
*
*
* @generated
*/
public String getDescription() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__DESCRIPTION, true);
}
/**
*
*
* @generated
*/
public void setDescription(String newDescription) {
eSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__DESCRIPTION, newDescription);
}
/**
*
*
* @generated
*/
public void unsetDescription() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__DESCRIPTION);
}
/**
*
*
* @generated
*/
public boolean isSetDescription() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__DESCRIPTION);
}
/**
*
*
* @generated
*/
public IfcConstraintEnum getConstraintGrade() {
return (IfcConstraintEnum) eGet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CONSTRAINT_GRADE, true);
}
/**
*
*
* @generated
*/
public void setConstraintGrade(IfcConstraintEnum newConstraintGrade) {
eSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CONSTRAINT_GRADE, newConstraintGrade);
}
/**
*
*
* @generated
*/
public String getConstraintSource() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CONSTRAINT_SOURCE, true);
}
/**
*
*
* @generated
*/
public void setConstraintSource(String newConstraintSource) {
eSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CONSTRAINT_SOURCE, newConstraintSource);
}
/**
*
*
* @generated
*/
public void unsetConstraintSource() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CONSTRAINT_SOURCE);
}
/**
*
*
* @generated
*/
public boolean isSetConstraintSource() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CONSTRAINT_SOURCE);
}
/**
*
*
* @generated
*/
public IfcActorSelect getCreatingActor() {
return (IfcActorSelect) eGet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CREATING_ACTOR, true);
}
/**
*
*
* @generated
*/
public void setCreatingActor(IfcActorSelect newCreatingActor) {
eSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CREATING_ACTOR, newCreatingActor);
}
/**
*
*
* @generated
*/
public void unsetCreatingActor() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CREATING_ACTOR);
}
/**
*
*
* @generated
*/
public boolean isSetCreatingActor() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CREATING_ACTOR);
}
/**
*
*
* @generated
*/
public IfcDateTimeSelect getCreationTime() {
return (IfcDateTimeSelect) eGet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CREATION_TIME, true);
}
/**
*
*
* @generated
*/
public void setCreationTime(IfcDateTimeSelect newCreationTime) {
eSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CREATION_TIME, newCreationTime);
}
/**
*
*
* @generated
*/
public void unsetCreationTime() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CREATION_TIME);
}
/**
*
*
* @generated
*/
public boolean isSetCreationTime() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CREATION_TIME);
}
/**
*
*
* @generated
*/
public String getUserDefinedGrade() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__USER_DEFINED_GRADE, true);
}
/**
*
*
* @generated
*/
public void setUserDefinedGrade(String newUserDefinedGrade) {
eSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__USER_DEFINED_GRADE, newUserDefinedGrade);
}
/**
*
*
* @generated
*/
public void unsetUserDefinedGrade() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__USER_DEFINED_GRADE);
}
/**
*
*
* @generated
*/
public boolean isSetUserDefinedGrade() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__USER_DEFINED_GRADE);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getClassifiedAs() {
return (EList) eGet(
Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CLASSIFIED_AS, true);
}
/**
*
*
* @generated
*/
public void unsetClassifiedAs() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CLASSIFIED_AS);
}
/**
*
*
* @generated
*/
public boolean isSetClassifiedAs() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__CLASSIFIED_AS);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getRelatesConstraints() {
return (EList) eGet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__RELATES_CONSTRAINTS,
true);
}
/**
*
*
* @generated
*/
public void unsetRelatesConstraints() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__RELATES_CONSTRAINTS);
}
/**
*
*
* @generated
*/
public boolean isSetRelatesConstraints() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__RELATES_CONSTRAINTS);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getIsRelatedWith() {
return (EList) eGet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__IS_RELATED_WITH, true);
}
/**
*
*
* @generated
*/
public void unsetIsRelatedWith() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__IS_RELATED_WITH);
}
/**
*
*
* @generated
*/
public boolean isSetIsRelatedWith() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__IS_RELATED_WITH);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getPropertiesForConstraint() {
return (EList) eGet(
Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__PROPERTIES_FOR_CONSTRAINT, true);
}
/**
*
*
* @generated
*/
public void unsetPropertiesForConstraint() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__PROPERTIES_FOR_CONSTRAINT);
}
/**
*
*
* @generated
*/
public boolean isSetPropertiesForConstraint() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__PROPERTIES_FOR_CONSTRAINT);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getAggregates() {
return (EList) eGet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__AGGREGATES,
true);
}
/**
*
*
* @generated
*/
public void unsetAggregates() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__AGGREGATES);
}
/**
*
*
* @generated
*/
public boolean isSetAggregates() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__AGGREGATES);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getIsAggregatedIn() {
return (EList) eGet(
Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__IS_AGGREGATED_IN, true);
}
/**
*
*
* @generated
*/
public void unsetIsAggregatedIn() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__IS_AGGREGATED_IN);
}
/**
*
*
* @generated
*/
public boolean isSetIsAggregatedIn() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRAINT__IS_AGGREGATED_IN);
}
} //IfcConstraintImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy