/***************************************************************************** * Copyright (c) 2010 CEA LIST. * * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation * *****************************************************************************/ package org.eclipse.papyrus.MARTE.MARTE_Foundations.Time; import org.eclipse.emf.ecore.EObject; import org.eclipse.papyrus.MARTE_Library.TimeTypesLibrary.TimeNatureKind; import org.eclipse.uml2.uml.Enumeration; import org.eclipse.uml2.uml.Operation; import org.eclipse.uml2.uml.Property; /** * * A representation of the model object 'Clock Type'. * * *

* The following features are supported: *

*

* * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimePackage#getClockType() * @model * @generated */ public interface ClockType extends EObject { /** * Returns the value of the 'Nature' attribute. * The literals are from the enumeration {@link org.eclipse.papyrus.MARTE_Library.TimeTypesLibrary.TimeNatureKind}. * *

* If the meaning of the 'Nature' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Nature' attribute. * @see org.eclipse.papyrus.MARTE_Library.TimeTypesLibrary.TimeNatureKind * @see #setNature(TimeNatureKind) * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimePackage#getClockType_Nature() * @model unique="false" required="true" ordered="false" * @generated */ TimeNatureKind getNature(); /** * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.ClockType#getNature Nature}' attribute. * * * @param value the new value of the 'Nature' attribute. * @see org.eclipse.papyrus.MARTE_Library.TimeTypesLibrary.TimeNatureKind * @see #getNature() * @generated */ void setNature(TimeNatureKind value); /** * Returns the value of the 'Unit Type' reference. * *

* If the meaning of the 'Unit Type' reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Unit Type' reference. * @see #setUnitType(Enumeration) * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimePackage#getClockType_UnitType() * @model ordered="false" * @generated */ Enumeration getUnitType(); /** * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.ClockType#getUnitType Unit Type}' reference. * * * @param value the new value of the 'Unit Type' reference. * @see #getUnitType() * @generated */ void setUnitType(Enumeration value); /** * Returns the value of the 'Is Logical' attribute. * The default value is "false". * *

* If the meaning of the 'Is Logical' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Is Logical' attribute. * @see #setIsLogical(boolean) * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimePackage#getClockType_IsLogical() * @model default="false" unique="false" dataType="org.eclipse.papyrus.MARTE_Library.MARTE_PrimitivesTypes.Boolean" required="true" ordered="false" * @generated */ boolean isIsLogical(); /** * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.ClockType#isIsLogical Is Logical}' attribute. * * * @param value the new value of the 'Is Logical' attribute. * @see #isIsLogical() * @generated */ void setIsLogical(boolean value); /** * Returns the value of the 'Resol Attr' reference. * *

* If the meaning of the 'Resol Attr' reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Resol Attr' reference. * @see #setResolAttr(Property) * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimePackage#getClockType_ResolAttr() * @model ordered="false" * @generated */ Property getResolAttr(); /** * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.ClockType#getResolAttr Resol Attr}' reference. * * * @param value the new value of the 'Resol Attr' reference. * @see #getResolAttr() * @generated */ void setResolAttr(Property value); /** * Returns the value of the 'Max Val Attr' reference. * *

* If the meaning of the 'Max Val Attr' reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Max Val Attr' reference. * @see #setMaxValAttr(Property) * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimePackage#getClockType_MaxValAttr() * @model ordered="false" * @generated */ Property getMaxValAttr(); /** * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.ClockType#getMaxValAttr Max Val Attr}' reference. * * * @param value the new value of the 'Max Val Attr' reference. * @see #getMaxValAttr() * @generated */ void setMaxValAttr(Property value); /** * Returns the value of the 'Offset Attr' reference. * *

* If the meaning of the 'Offset Attr' reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Offset Attr' reference. * @see #setOffsetAttr(Property) * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimePackage#getClockType_OffsetAttr() * @model ordered="false" * @generated */ Property getOffsetAttr(); /** * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.ClockType#getOffsetAttr Offset Attr}' reference. * * * @param value the new value of the 'Offset Attr' reference. * @see #getOffsetAttr() * @generated */ void setOffsetAttr(Property value); /** * Returns the value of the 'Get Time' reference. * *

* If the meaning of the 'Get Time' reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Get Time' reference. * @see #setGetTime(Operation) * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimePackage#getClockType_GetTime() * @model ordered="false" * @generated */ Operation getGetTime(); /** * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.ClockType#getGetTime Get Time}' reference. * * * @param value the new value of the 'Get Time' reference. * @see #getGetTime() * @generated */ void setGetTime(Operation value); /** * Returns the value of the 'Set Time' reference. * *

* If the meaning of the 'Set Time' reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Set Time' reference. * @see #setSetTime(Operation) * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimePackage#getClockType_SetTime() * @model ordered="false" * @generated */ Operation getSetTime(); /** * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.ClockType#getSetTime Set Time}' reference. * * * @param value the new value of the 'Set Time' reference. * @see #getSetTime() * @generated */ void setSetTime(Operation value); /** * Returns the value of the 'Index To Value' reference. * *

* If the meaning of the 'Index To Value' reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Index To Value' reference. * @see #setIndexToValue(Operation) * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimePackage#getClockType_IndexToValue() * @model ordered="false" * @generated */ Operation getIndexToValue(); /** * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.ClockType#getIndexToValue Index To Value}' reference. * * * @param value the new value of the 'Index To Value' reference. * @see #getIndexToValue() * @generated */ void setIndexToValue(Operation value); /** * Returns the value of the 'Base Class' reference. * *

* If the meaning of the 'Base Class' reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Base Class' reference. * @see #setBase_Class(org.eclipse.uml2.uml.Class) * @see org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.TimePackage#getClockType_Base_Class() * @model required="true" ordered="false" * @generated */ org.eclipse.uml2.uml.Class getBase_Class(); /** * Sets the value of the '{@link org.eclipse.papyrus.MARTE.MARTE_Foundations.Time.ClockType#getBase_Class Base Class}' reference. * * * @param value the new value of the 'Base Class' reference. * @see #getBase_Class() * @generated */ void setBase_Class(org.eclipse.uml2.uml.Class value); } // ClockType