All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bimserver.models.ifc4.impl.IfcConstraintImpl Maven / Gradle / Ivy

Go to download

Base project for BIMserver plugin development. Some plugins mights also need the Shared library

There is a newer version: 2.0.0
Show 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.ifc4.impl;

import org.bimserver.emf.IdEObjectImpl;
import org.bimserver.models.ifc4.Ifc4Package;
import org.bimserver.models.ifc4.IfcActorSelect;
import org.bimserver.models.ifc4.IfcConstraint;
import org.bimserver.models.ifc4.IfcConstraintEnum;
import org.bimserver.models.ifc4.IfcExternalReferenceRelationship;
import org.bimserver.models.ifc4.IfcResourceConstraintRelationship;
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.ifc4.impl.IfcConstraintImpl#getName Name}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcConstraintImpl#getDescription Description}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcConstraintImpl#getConstraintGrade Constraint Grade}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcConstraintImpl#getConstraintSource Constraint Source}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcConstraintImpl#getCreatingActor Creating Actor}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcConstraintImpl#getCreationTime Creation Time}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcConstraintImpl#getUserDefinedGrade User Defined Grade}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcConstraintImpl#getHasExternalReferences Has External References}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcConstraintImpl#getPropertiesForConstraint Properties For Constraint}
  • *
* * @generated */ public class IfcConstraintImpl extends IdEObjectImpl implements IfcConstraint { /** * * * @generated */ protected IfcConstraintImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return Ifc4Package.Literals.IFC_CONSTRAINT; } /** * * * @generated */ @Override protected int eStaticFeatureCount() { return 0; } /** * * * @generated */ public String getName() { return (String) eGet(Ifc4Package.Literals.IFC_CONSTRAINT__NAME, true); } /** * * * @generated */ public void setName(String newName) { eSet(Ifc4Package.Literals.IFC_CONSTRAINT__NAME, newName); } /** * * * @generated */ public String getDescription() { return (String) eGet(Ifc4Package.Literals.IFC_CONSTRAINT__DESCRIPTION, true); } /** * * * @generated */ public void setDescription(String newDescription) { eSet(Ifc4Package.Literals.IFC_CONSTRAINT__DESCRIPTION, newDescription); } /** * * * @generated */ public void unsetDescription() { eUnset(Ifc4Package.Literals.IFC_CONSTRAINT__DESCRIPTION); } /** * * * @generated */ public boolean isSetDescription() { return eIsSet(Ifc4Package.Literals.IFC_CONSTRAINT__DESCRIPTION); } /** * * * @generated */ public IfcConstraintEnum getConstraintGrade() { return (IfcConstraintEnum) eGet(Ifc4Package.Literals.IFC_CONSTRAINT__CONSTRAINT_GRADE, true); } /** * * * @generated */ public void setConstraintGrade(IfcConstraintEnum newConstraintGrade) { eSet(Ifc4Package.Literals.IFC_CONSTRAINT__CONSTRAINT_GRADE, newConstraintGrade); } /** * * * @generated */ public String getConstraintSource() { return (String) eGet(Ifc4Package.Literals.IFC_CONSTRAINT__CONSTRAINT_SOURCE, true); } /** * * * @generated */ public void setConstraintSource(String newConstraintSource) { eSet(Ifc4Package.Literals.IFC_CONSTRAINT__CONSTRAINT_SOURCE, newConstraintSource); } /** * * * @generated */ public void unsetConstraintSource() { eUnset(Ifc4Package.Literals.IFC_CONSTRAINT__CONSTRAINT_SOURCE); } /** * * * @generated */ public boolean isSetConstraintSource() { return eIsSet(Ifc4Package.Literals.IFC_CONSTRAINT__CONSTRAINT_SOURCE); } /** * * * @generated */ public IfcActorSelect getCreatingActor() { return (IfcActorSelect) eGet(Ifc4Package.Literals.IFC_CONSTRAINT__CREATING_ACTOR, true); } /** * * * @generated */ public void setCreatingActor(IfcActorSelect newCreatingActor) { eSet(Ifc4Package.Literals.IFC_CONSTRAINT__CREATING_ACTOR, newCreatingActor); } /** * * * @generated */ public void unsetCreatingActor() { eUnset(Ifc4Package.Literals.IFC_CONSTRAINT__CREATING_ACTOR); } /** * * * @generated */ public boolean isSetCreatingActor() { return eIsSet(Ifc4Package.Literals.IFC_CONSTRAINT__CREATING_ACTOR); } /** * * * @generated */ public String getCreationTime() { return (String) eGet(Ifc4Package.Literals.IFC_CONSTRAINT__CREATION_TIME, true); } /** * * * @generated */ public void setCreationTime(String newCreationTime) { eSet(Ifc4Package.Literals.IFC_CONSTRAINT__CREATION_TIME, newCreationTime); } /** * * * @generated */ public void unsetCreationTime() { eUnset(Ifc4Package.Literals.IFC_CONSTRAINT__CREATION_TIME); } /** * * * @generated */ public boolean isSetCreationTime() { return eIsSet(Ifc4Package.Literals.IFC_CONSTRAINT__CREATION_TIME); } /** * * * @generated */ public String getUserDefinedGrade() { return (String) eGet(Ifc4Package.Literals.IFC_CONSTRAINT__USER_DEFINED_GRADE, true); } /** * * * @generated */ public void setUserDefinedGrade(String newUserDefinedGrade) { eSet(Ifc4Package.Literals.IFC_CONSTRAINT__USER_DEFINED_GRADE, newUserDefinedGrade); } /** * * * @generated */ public void unsetUserDefinedGrade() { eUnset(Ifc4Package.Literals.IFC_CONSTRAINT__USER_DEFINED_GRADE); } /** * * * @generated */ public boolean isSetUserDefinedGrade() { return eIsSet(Ifc4Package.Literals.IFC_CONSTRAINT__USER_DEFINED_GRADE); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getHasExternalReferences() { return (EList) eGet( Ifc4Package.Literals.IFC_CONSTRAINT__HAS_EXTERNAL_REFERENCES, true); } /** * * * @generated */ public void unsetHasExternalReferences() { eUnset(Ifc4Package.Literals.IFC_CONSTRAINT__HAS_EXTERNAL_REFERENCES); } /** * * * @generated */ public boolean isSetHasExternalReferences() { return eIsSet(Ifc4Package.Literals.IFC_CONSTRAINT__HAS_EXTERNAL_REFERENCES); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getPropertiesForConstraint() { return (EList) eGet( Ifc4Package.Literals.IFC_CONSTRAINT__PROPERTIES_FOR_CONSTRAINT, true); } /** * * * @generated */ public void unsetPropertiesForConstraint() { eUnset(Ifc4Package.Literals.IFC_CONSTRAINT__PROPERTIES_FOR_CONSTRAINT); } /** * * * @generated */ public boolean isSetPropertiesForConstraint() { return eIsSet(Ifc4Package.Literals.IFC_CONSTRAINT__PROPERTIES_FOR_CONSTRAINT); } } //IfcConstraintImpl




© 2015 - 2025 Weber Informatics LLC | Privacy Policy