org.bimserver.models.ifc2x3tc1.impl.IfcTextStyleFontModelImpl 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.ifc2x3tc1.impl;
import org.bimserver.models.ifc2x3tc1.Ifc2x3tc1Package;
import org.bimserver.models.ifc2x3tc1.IfcSizeSelect;
import org.bimserver.models.ifc2x3tc1.IfcTextStyleFontModel;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Text Style Font Model'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTextStyleFontModelImpl#getFontFamily Font Family}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTextStyleFontModelImpl#getFontStyle Font Style}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTextStyleFontModelImpl#getFontVariant Font Variant}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTextStyleFontModelImpl#getFontWeight Font Weight}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTextStyleFontModelImpl#getFontSize Font Size}
*
*
* @generated
*/
public class IfcTextStyleFontModelImpl extends IfcPreDefinedTextFontImpl implements IfcTextStyleFontModel {
/**
*
*
* @generated
*/
protected IfcTextStyleFontModelImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL;
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getFontFamily() {
return (EList) eGet(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_FAMILY, true);
}
/**
*
*
* @generated
*/
public void unsetFontFamily() {
eUnset(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_FAMILY);
}
/**
*
*
* @generated
*/
public boolean isSetFontFamily() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_FAMILY);
}
/**
*
*
* @generated
*/
public String getFontStyle() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_STYLE, true);
}
/**
*
*
* @generated
*/
public void setFontStyle(String newFontStyle) {
eSet(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_STYLE, newFontStyle);
}
/**
*
*
* @generated
*/
public void unsetFontStyle() {
eUnset(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_STYLE);
}
/**
*
*
* @generated
*/
public boolean isSetFontStyle() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_STYLE);
}
/**
*
*
* @generated
*/
public String getFontVariant() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_VARIANT, true);
}
/**
*
*
* @generated
*/
public void setFontVariant(String newFontVariant) {
eSet(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_VARIANT, newFontVariant);
}
/**
*
*
* @generated
*/
public void unsetFontVariant() {
eUnset(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_VARIANT);
}
/**
*
*
* @generated
*/
public boolean isSetFontVariant() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_VARIANT);
}
/**
*
*
* @generated
*/
public String getFontWeight() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_WEIGHT, true);
}
/**
*
*
* @generated
*/
public void setFontWeight(String newFontWeight) {
eSet(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_WEIGHT, newFontWeight);
}
/**
*
*
* @generated
*/
public void unsetFontWeight() {
eUnset(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_WEIGHT);
}
/**
*
*
* @generated
*/
public boolean isSetFontWeight() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_WEIGHT);
}
/**
*
*
* @generated
*/
public IfcSizeSelect getFontSize() {
return (IfcSizeSelect) eGet(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_SIZE, true);
}
/**
*
*
* @generated
*/
public void setFontSize(IfcSizeSelect newFontSize) {
eSet(Ifc2x3tc1Package.Literals.IFC_TEXT_STYLE_FONT_MODEL__FONT_SIZE, newFontSize);
}
} //IfcTextStyleFontModelImpl