blob: 8f6e0a2a4b16ae89aa17c4a435c225552ab0c538 [file] [log] [blame]
/*
* Copyright (c) 2003, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
*
* $Id: TimeTrigger.java,v 1.3 2004/06/03 02:59:17 khussey Exp $
*/
package org.eclipse.uml2;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Time Trigger</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A time trigger specifies a time event, which models the expiration of a specific deadline.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.TimeTrigger#isRelative <em>Is Relative</em>}</li>
* <li>{@link org.eclipse.uml2.TimeTrigger#getWhen <em>When</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.UML2Package#getTimeTrigger()
* @model
* @generated
*/
public interface TimeTrigger extends Trigger{
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String copyright = "Copyright (c) 2003, 2004 IBM Corporation and others."; //$NON-NLS-1$
/**
* Returns the value of the '<em><b>Is Relative</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is Relative</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Is Relative</em>' attribute.
* @see #setIsRelative(boolean)
* @see org.eclipse.uml2.UML2Package#getTimeTrigger_IsRelative()
* @model dataType="org.eclipse.uml2.Boolean"
* @generated
*/
boolean isRelative();
/**
* Sets the value of the '{@link org.eclipse.uml2.TimeTrigger#isRelative <em>Is Relative</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Relative</em>' attribute.
* @see #isRelative()
* @generated
*/
void setIsRelative(boolean value);
/**
* Returns the value of the '<em><b>When</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>When</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>When</em>' containment reference.
* @see #setWhen(ValueSpecification)
* @see org.eclipse.uml2.UML2Package#getTimeTrigger_When()
* @model containment="true" required="true"
* @generated
*/
ValueSpecification getWhen();
/**
* Sets the value of the '{@link org.eclipse.uml2.TimeTrigger#getWhen <em>When</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>When</em>' containment reference.
* @see #getWhen()
* @generated
*/
void setWhen(ValueSpecification value);
/**
* Creates a {@link org.eclipse.uml2.ValueSpecification} and sets the '<em><b>When</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param eClass The Ecore class of the {@link org.eclipse.uml2.ValueSpecification} to create.
* @return The new {@link org.eclipse.uml2.ValueSpecification}.
* @see #getWhen()
* @generated
*/
ValueSpecification createWhen(EClass eClass);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model parameters=""
* @generated
*/
EList getOwnedElements();
} // TimeTrigger