org.bimserver.models.ifc4.impl.IfcPresentationLayerAssignmentImpl 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.emf.IdEObjectImpl;
import org.bimserver.models.ifc4.Ifc4Package;
import org.bimserver.models.ifc4.IfcLayeredItem;
import org.bimserver.models.ifc4.IfcPresentationLayerAssignment;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Presentation Layer Assignment'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcPresentationLayerAssignmentImpl#getName Name}
* - {@link org.bimserver.models.ifc4.impl.IfcPresentationLayerAssignmentImpl#getDescription Description}
* - {@link org.bimserver.models.ifc4.impl.IfcPresentationLayerAssignmentImpl#getAssignedItems Assigned Items}
* - {@link org.bimserver.models.ifc4.impl.IfcPresentationLayerAssignmentImpl#getIdentifier Identifier}
*
*
* @generated
*/
public class IfcPresentationLayerAssignmentImpl extends IdEObjectImpl implements IfcPresentationLayerAssignment {
/**
*
*
* @generated
*/
protected IfcPresentationLayerAssignmentImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_PRESENTATION_LAYER_ASSIGNMENT;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
*
*
* @generated
*/
public String getName() {
return (String) eGet(Ifc4Package.Literals.IFC_PRESENTATION_LAYER_ASSIGNMENT__NAME, true);
}
/**
*
*
* @generated
*/
public void setName(String newName) {
eSet(Ifc4Package.Literals.IFC_PRESENTATION_LAYER_ASSIGNMENT__NAME, newName);
}
/**
*
*
* @generated
*/
public String getDescription() {
return (String) eGet(Ifc4Package.Literals.IFC_PRESENTATION_LAYER_ASSIGNMENT__DESCRIPTION, true);
}
/**
*
*
* @generated
*/
public void setDescription(String newDescription) {
eSet(Ifc4Package.Literals.IFC_PRESENTATION_LAYER_ASSIGNMENT__DESCRIPTION, newDescription);
}
/**
*
*
* @generated
*/
public void unsetDescription() {
eUnset(Ifc4Package.Literals.IFC_PRESENTATION_LAYER_ASSIGNMENT__DESCRIPTION);
}
/**
*
*
* @generated
*/
public boolean isSetDescription() {
return eIsSet(Ifc4Package.Literals.IFC_PRESENTATION_LAYER_ASSIGNMENT__DESCRIPTION);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getAssignedItems() {
return (EList) eGet(Ifc4Package.Literals.IFC_PRESENTATION_LAYER_ASSIGNMENT__ASSIGNED_ITEMS, true);
}
/**
*
*
* @generated
*/
public String getIdentifier() {
return (String) eGet(Ifc4Package.Literals.IFC_PRESENTATION_LAYER_ASSIGNMENT__IDENTIFIER, true);
}
/**
*
*
* @generated
*/
public void setIdentifier(String newIdentifier) {
eSet(Ifc4Package.Literals.IFC_PRESENTATION_LAYER_ASSIGNMENT__IDENTIFIER, newIdentifier);
}
/**
*
*
* @generated
*/
public void unsetIdentifier() {
eUnset(Ifc4Package.Literals.IFC_PRESENTATION_LAYER_ASSIGNMENT__IDENTIFIER);
}
/**
*
*
* @generated
*/
public boolean isSetIdentifier() {
return eIsSet(Ifc4Package.Literals.IFC_PRESENTATION_LAYER_ASSIGNMENT__IDENTIFIER);
}
} //IfcPresentationLayerAssignmentImpl