
org.bimserver.models.ifc2x3tc1.impl.IfcLocalTimeImpl 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
The 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.ifc2x3tc1.impl;
import org.bimserver.emf.IdEObjectImpl;
import org.bimserver.models.ifc2x3tc1.Ifc2x3tc1Package;
import org.bimserver.models.ifc2x3tc1.IfcCoordinatedUniversalTimeOffset;
import org.bimserver.models.ifc2x3tc1.IfcLocalTime;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Local Time'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLocalTimeImpl#getHourComponent Hour Component}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLocalTimeImpl#getMinuteComponent Minute Component}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLocalTimeImpl#getSecondComponent Second Component}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLocalTimeImpl#getSecondComponentAsString Second Component As String}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLocalTimeImpl#getZone Zone}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcLocalTimeImpl#getDaylightSavingOffset Daylight Saving Offset}
*
*
* @generated
*/
public class IfcLocalTimeImpl extends IdEObjectImpl implements IfcLocalTime {
/**
*
*
* @generated
*/
protected IfcLocalTimeImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
*
*
* @generated
*/
public int getHourComponent() {
return (Integer) eGet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__HOUR_COMPONENT, true);
}
/**
*
*
* @generated
*/
public void setHourComponent(int newHourComponent) {
eSet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__HOUR_COMPONENT, newHourComponent);
}
/**
*
*
* @generated
*/
public int getMinuteComponent() {
return (Integer) eGet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__MINUTE_COMPONENT, true);
}
/**
*
*
* @generated
*/
public void setMinuteComponent(int newMinuteComponent) {
eSet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__MINUTE_COMPONENT, newMinuteComponent);
}
/**
*
*
* @generated
*/
public void unsetMinuteComponent() {
eUnset(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__MINUTE_COMPONENT);
}
/**
*
*
* @generated
*/
public boolean isSetMinuteComponent() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__MINUTE_COMPONENT);
}
/**
*
*
* @generated
*/
public double getSecondComponent() {
return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__SECOND_COMPONENT, true);
}
/**
*
*
* @generated
*/
public void setSecondComponent(double newSecondComponent) {
eSet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__SECOND_COMPONENT, newSecondComponent);
}
/**
*
*
* @generated
*/
public void unsetSecondComponent() {
eUnset(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__SECOND_COMPONENT);
}
/**
*
*
* @generated
*/
public boolean isSetSecondComponent() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__SECOND_COMPONENT);
}
/**
*
*
* @generated
*/
public String getSecondComponentAsString() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__SECOND_COMPONENT_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setSecondComponentAsString(String newSecondComponentAsString) {
eSet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__SECOND_COMPONENT_AS_STRING, newSecondComponentAsString);
}
/**
*
*
* @generated
*/
public void unsetSecondComponentAsString() {
eUnset(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__SECOND_COMPONENT_AS_STRING);
}
/**
*
*
* @generated
*/
public boolean isSetSecondComponentAsString() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__SECOND_COMPONENT_AS_STRING);
}
/**
*
*
* @generated
*/
public IfcCoordinatedUniversalTimeOffset getZone() {
return (IfcCoordinatedUniversalTimeOffset) eGet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__ZONE, true);
}
/**
*
*
* @generated
*/
public void setZone(IfcCoordinatedUniversalTimeOffset newZone) {
eSet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__ZONE, newZone);
}
/**
*
*
* @generated
*/
public void unsetZone() {
eUnset(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__ZONE);
}
/**
*
*
* @generated
*/
public boolean isSetZone() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__ZONE);
}
/**
*
*
* @generated
*/
public int getDaylightSavingOffset() {
return (Integer) eGet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__DAYLIGHT_SAVING_OFFSET, true);
}
/**
*
*
* @generated
*/
public void setDaylightSavingOffset(int newDaylightSavingOffset) {
eSet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__DAYLIGHT_SAVING_OFFSET, newDaylightSavingOffset);
}
/**
*
*
* @generated
*/
public void unsetDaylightSavingOffset() {
eUnset(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__DAYLIGHT_SAVING_OFFSET);
}
/**
*
*
* @generated
*/
public boolean isSetDaylightSavingOffset() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_LOCAL_TIME__DAYLIGHT_SAVING_OFFSET);
}
} //IfcLocalTimeImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy