All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bimserver.models.ifc4.impl.IfcRecurrencePatternImpl 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.IfcRecurrencePattern;
import org.bimserver.models.ifc4.IfcRecurrenceTypeEnum;
import org.bimserver.models.ifc4.IfcTimePeriod;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;

/**
 * 
 * An implementation of the model object 'Ifc Recurrence Pattern'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.bimserver.models.ifc4.impl.IfcRecurrencePatternImpl#getRecurrenceType Recurrence Type}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRecurrencePatternImpl#getDayComponent Day Component}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRecurrencePatternImpl#getWeekdayComponent Weekday Component}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRecurrencePatternImpl#getMonthComponent Month Component}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRecurrencePatternImpl#getPosition Position}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRecurrencePatternImpl#getInterval Interval}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRecurrencePatternImpl#getOccurrences Occurrences}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcRecurrencePatternImpl#getTimePeriods Time Periods}
  • *
* * @generated */ public class IfcRecurrencePatternImpl extends IdEObjectImpl implements IfcRecurrencePattern { /** * * * @generated */ protected IfcRecurrencePatternImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return Ifc4Package.Literals.IFC_RECURRENCE_PATTERN; } /** * * * @generated */ @Override protected int eStaticFeatureCount() { return 0; } /** * * * @generated */ public IfcRecurrenceTypeEnum getRecurrenceType() { return (IfcRecurrenceTypeEnum) eGet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__RECURRENCE_TYPE, true); } /** * * * @generated */ public void setRecurrenceType(IfcRecurrenceTypeEnum newRecurrenceType) { eSet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__RECURRENCE_TYPE, newRecurrenceType); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getDayComponent() { return (EList) eGet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__DAY_COMPONENT, true); } /** * * * @generated */ public void unsetDayComponent() { eUnset(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__DAY_COMPONENT); } /** * * * @generated */ public boolean isSetDayComponent() { return eIsSet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__DAY_COMPONENT); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getWeekdayComponent() { return (EList) eGet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__WEEKDAY_COMPONENT, true); } /** * * * @generated */ public void unsetWeekdayComponent() { eUnset(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__WEEKDAY_COMPONENT); } /** * * * @generated */ public boolean isSetWeekdayComponent() { return eIsSet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__WEEKDAY_COMPONENT); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getMonthComponent() { return (EList) eGet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__MONTH_COMPONENT, true); } /** * * * @generated */ public void unsetMonthComponent() { eUnset(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__MONTH_COMPONENT); } /** * * * @generated */ public boolean isSetMonthComponent() { return eIsSet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__MONTH_COMPONENT); } /** * * * @generated */ public long getPosition() { return (Long) eGet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__POSITION, true); } /** * * * @generated */ public void setPosition(long newPosition) { eSet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__POSITION, newPosition); } /** * * * @generated */ public void unsetPosition() { eUnset(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__POSITION); } /** * * * @generated */ public boolean isSetPosition() { return eIsSet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__POSITION); } /** * * * @generated */ public long getInterval() { return (Long) eGet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__INTERVAL, true); } /** * * * @generated */ public void setInterval(long newInterval) { eSet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__INTERVAL, newInterval); } /** * * * @generated */ public void unsetInterval() { eUnset(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__INTERVAL); } /** * * * @generated */ public boolean isSetInterval() { return eIsSet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__INTERVAL); } /** * * * @generated */ public long getOccurrences() { return (Long) eGet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__OCCURRENCES, true); } /** * * * @generated */ public void setOccurrences(long newOccurrences) { eSet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__OCCURRENCES, newOccurrences); } /** * * * @generated */ public void unsetOccurrences() { eUnset(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__OCCURRENCES); } /** * * * @generated */ public boolean isSetOccurrences() { return eIsSet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__OCCURRENCES); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getTimePeriods() { return (EList) eGet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__TIME_PERIODS, true); } /** * * * @generated */ public void unsetTimePeriods() { eUnset(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__TIME_PERIODS); } /** * * * @generated */ public boolean isSetTimePeriods() { return eIsSet(Ifc4Package.Literals.IFC_RECURRENCE_PATTERN__TIME_PERIODS); } } //IfcRecurrencePatternImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy