
org.bimserver.models.ifc4.impl.IfcTextStyleImpl 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.models.ifc4.Ifc4Package;
import org.bimserver.models.ifc4.IfcTextFontSelect;
import org.bimserver.models.ifc4.IfcTextStyle;
import org.bimserver.models.ifc4.IfcTextStyleForDefinedFont;
import org.bimserver.models.ifc4.IfcTextStyleTextModel;
import org.bimserver.models.ifc4.Tristate;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Text Style'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcTextStyleImpl#getTextCharacterAppearance Text Character Appearance}
* - {@link org.bimserver.models.ifc4.impl.IfcTextStyleImpl#getTextStyle Text Style}
* - {@link org.bimserver.models.ifc4.impl.IfcTextStyleImpl#getTextFontStyle Text Font Style}
* - {@link org.bimserver.models.ifc4.impl.IfcTextStyleImpl#getModelOrDraughting Model Or Draughting}
*
*
* @generated
*/
public class IfcTextStyleImpl extends IfcPresentationStyleImpl implements IfcTextStyle {
/**
*
*
* @generated
*/
protected IfcTextStyleImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_TEXT_STYLE;
}
/**
*
*
* @generated
*/
public IfcTextStyleForDefinedFont getTextCharacterAppearance() {
return (IfcTextStyleForDefinedFont) eGet(Ifc4Package.Literals.IFC_TEXT_STYLE__TEXT_CHARACTER_APPEARANCE, true);
}
/**
*
*
* @generated
*/
public void setTextCharacterAppearance(IfcTextStyleForDefinedFont newTextCharacterAppearance) {
eSet(Ifc4Package.Literals.IFC_TEXT_STYLE__TEXT_CHARACTER_APPEARANCE, newTextCharacterAppearance);
}
/**
*
*
* @generated
*/
public void unsetTextCharacterAppearance() {
eUnset(Ifc4Package.Literals.IFC_TEXT_STYLE__TEXT_CHARACTER_APPEARANCE);
}
/**
*
*
* @generated
*/
public boolean isSetTextCharacterAppearance() {
return eIsSet(Ifc4Package.Literals.IFC_TEXT_STYLE__TEXT_CHARACTER_APPEARANCE);
}
/**
*
*
* @generated
*/
public IfcTextStyleTextModel getTextStyle() {
return (IfcTextStyleTextModel) eGet(Ifc4Package.Literals.IFC_TEXT_STYLE__TEXT_STYLE, true);
}
/**
*
*
* @generated
*/
public void setTextStyle(IfcTextStyleTextModel newTextStyle) {
eSet(Ifc4Package.Literals.IFC_TEXT_STYLE__TEXT_STYLE, newTextStyle);
}
/**
*
*
* @generated
*/
public void unsetTextStyle() {
eUnset(Ifc4Package.Literals.IFC_TEXT_STYLE__TEXT_STYLE);
}
/**
*
*
* @generated
*/
public boolean isSetTextStyle() {
return eIsSet(Ifc4Package.Literals.IFC_TEXT_STYLE__TEXT_STYLE);
}
/**
*
*
* @generated
*/
public IfcTextFontSelect getTextFontStyle() {
return (IfcTextFontSelect) eGet(Ifc4Package.Literals.IFC_TEXT_STYLE__TEXT_FONT_STYLE, true);
}
/**
*
*
* @generated
*/
public void setTextFontStyle(IfcTextFontSelect newTextFontStyle) {
eSet(Ifc4Package.Literals.IFC_TEXT_STYLE__TEXT_FONT_STYLE, newTextFontStyle);
}
/**
*
*
* @generated
*/
public Tristate getModelOrDraughting() {
return (Tristate) eGet(Ifc4Package.Literals.IFC_TEXT_STYLE__MODEL_OR_DRAUGHTING, true);
}
/**
*
*
* @generated
*/
public void setModelOrDraughting(Tristate newModelOrDraughting) {
eSet(Ifc4Package.Literals.IFC_TEXT_STYLE__MODEL_OR_DRAUGHTING, newModelOrDraughting);
}
/**
*
*
* @generated
*/
public void unsetModelOrDraughting() {
eUnset(Ifc4Package.Literals.IFC_TEXT_STYLE__MODEL_OR_DRAUGHTING);
}
/**
*
*
* @generated
*/
public boolean isSetModelOrDraughting() {
return eIsSet(Ifc4Package.Literals.IFC_TEXT_STYLE__MODEL_OR_DRAUGHTING);
}
} //IfcTextStyleImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy