org.bimserver.models.ifc4.impl.IfcReferenceImpl 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
/**
* 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.IfcReference;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Reference'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcReferenceImpl#getTypeIdentifier Type Identifier}
* - {@link org.bimserver.models.ifc4.impl.IfcReferenceImpl#getAttributeIdentifier Attribute Identifier}
* - {@link org.bimserver.models.ifc4.impl.IfcReferenceImpl#getInstanceName Instance Name}
* - {@link org.bimserver.models.ifc4.impl.IfcReferenceImpl#getListPositions List Positions}
* - {@link org.bimserver.models.ifc4.impl.IfcReferenceImpl#getInnerReference Inner Reference}
*
*
* @generated
*/
public class IfcReferenceImpl extends IdEObjectImpl implements IfcReference {
/**
*
*
* @generated
*/
protected IfcReferenceImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_REFERENCE;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
*
*
* @generated
*/
public String getTypeIdentifier() {
return (String) eGet(Ifc4Package.Literals.IFC_REFERENCE__TYPE_IDENTIFIER, true);
}
/**
*
*
* @generated
*/
public void setTypeIdentifier(String newTypeIdentifier) {
eSet(Ifc4Package.Literals.IFC_REFERENCE__TYPE_IDENTIFIER, newTypeIdentifier);
}
/**
*
*
* @generated
*/
public void unsetTypeIdentifier() {
eUnset(Ifc4Package.Literals.IFC_REFERENCE__TYPE_IDENTIFIER);
}
/**
*
*
* @generated
*/
public boolean isSetTypeIdentifier() {
return eIsSet(Ifc4Package.Literals.IFC_REFERENCE__TYPE_IDENTIFIER);
}
/**
*
*
* @generated
*/
public String getAttributeIdentifier() {
return (String) eGet(Ifc4Package.Literals.IFC_REFERENCE__ATTRIBUTE_IDENTIFIER, true);
}
/**
*
*
* @generated
*/
public void setAttributeIdentifier(String newAttributeIdentifier) {
eSet(Ifc4Package.Literals.IFC_REFERENCE__ATTRIBUTE_IDENTIFIER, newAttributeIdentifier);
}
/**
*
*
* @generated
*/
public void unsetAttributeIdentifier() {
eUnset(Ifc4Package.Literals.IFC_REFERENCE__ATTRIBUTE_IDENTIFIER);
}
/**
*
*
* @generated
*/
public boolean isSetAttributeIdentifier() {
return eIsSet(Ifc4Package.Literals.IFC_REFERENCE__ATTRIBUTE_IDENTIFIER);
}
/**
*
*
* @generated
*/
public String getInstanceName() {
return (String) eGet(Ifc4Package.Literals.IFC_REFERENCE__INSTANCE_NAME, true);
}
/**
*
*
* @generated
*/
public void setInstanceName(String newInstanceName) {
eSet(Ifc4Package.Literals.IFC_REFERENCE__INSTANCE_NAME, newInstanceName);
}
/**
*
*
* @generated
*/
public void unsetInstanceName() {
eUnset(Ifc4Package.Literals.IFC_REFERENCE__INSTANCE_NAME);
}
/**
*
*
* @generated
*/
public boolean isSetInstanceName() {
return eIsSet(Ifc4Package.Literals.IFC_REFERENCE__INSTANCE_NAME);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getListPositions() {
return (EList) eGet(Ifc4Package.Literals.IFC_REFERENCE__LIST_POSITIONS, true);
}
/**
*
*
* @generated
*/
public void unsetListPositions() {
eUnset(Ifc4Package.Literals.IFC_REFERENCE__LIST_POSITIONS);
}
/**
*
*
* @generated
*/
public boolean isSetListPositions() {
return eIsSet(Ifc4Package.Literals.IFC_REFERENCE__LIST_POSITIONS);
}
/**
*
*
* @generated
*/
public IfcReference getInnerReference() {
return (IfcReference) eGet(Ifc4Package.Literals.IFC_REFERENCE__INNER_REFERENCE, true);
}
/**
*
*
* @generated
*/
public void setInnerReference(IfcReference newInnerReference) {
eSet(Ifc4Package.Literals.IFC_REFERENCE__INNER_REFERENCE, newInnerReference);
}
/**
*
*
* @generated
*/
public void unsetInnerReference() {
eUnset(Ifc4Package.Literals.IFC_REFERENCE__INNER_REFERENCE);
}
/**
*
*
* @generated
*/
public boolean isSetInnerReference() {
return eIsSet(Ifc4Package.Literals.IFC_REFERENCE__INNER_REFERENCE);
}
} //IfcReferenceImpl