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

org.eclipse.uml2.uml.Trigger Maven / Gradle / Ivy

There is a newer version: 5.0.0-v20140602-0749
Show newest version
/*
 * Copyright (c) 2005, 2011 IBM Corporation, CEA, and others.
 * 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:
 *   IBM - initial API and implementation
 *   Kenn Hussey (CEA) - 351774
 *
 */
package org.eclipse.uml2.uml;

import org.eclipse.emf.common.util.EList;

/**
 * 
 * A representation of the model object 'Trigger'.
 * 
 *
 * 
 * A trigger specification may be qualified by the port on which the event occurred.
 * A trigger relates an event to a behavior that may affect an instance of the classifier.
 * 
 *
 * 

* The following features are supported: *

    *
  • {@link org.eclipse.uml2.uml.Trigger#getEvent Event}
  • *
  • {@link org.eclipse.uml2.uml.Trigger#getPorts Port}
  • *
*

* * @see org.eclipse.uml2.uml.UMLPackage#getTrigger() * @model * @generated */ public interface Trigger extends NamedElement { /** * Returns the value of the 'Event' reference. * * * * The event that causes the trigger. * * @return the value of the 'Event' reference. * @see #setEvent(Event) * @see org.eclipse.uml2.uml.UMLPackage#getTrigger_Event() * @model required="true" ordered="false" * @generated */ Event getEvent(); /** * Sets the value of the '{@link org.eclipse.uml2.uml.Trigger#getEvent Event}' reference. * * * @param value the new value of the 'Event' reference. * @see #getEvent() * @generated */ void setEvent(Event value); /** * Returns the value of the 'Port' reference list. * The list contents are of type {@link org.eclipse.uml2.uml.Port}. * * * * A optional port of the receiver object on which the behavioral feature is invoked. * * @return the value of the 'Port' reference list. * @see org.eclipse.uml2.uml.UMLPackage#getTrigger_Port() * @model ordered="false" * @generated */ EList getPorts(); /** * Retrieves the first {@link org.eclipse.uml2.uml.Port} with the specified 'Name', and 'Type' from the 'Port' reference list. * * * @param name The 'Name' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or null. * @param type The 'Type' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or null. * @return The first {@link org.eclipse.uml2.uml.Port} with the specified 'Name', and 'Type', or null. * @see #getPorts() * @generated */ Port getPort(String name, Type type); /** * Retrieves the first {@link org.eclipse.uml2.uml.Port} with the specified 'Name', and 'Type' from the 'Port' reference list. * * * @param name The 'Name' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or null. * @param type The 'Type' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or null. * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. * @return The first {@link org.eclipse.uml2.uml.Port} with the specified 'Name', and 'Type', or null. * @see #getPorts() * @generated */ Port getPort(String name, Type type, boolean ignoreCase); } // Trigger




© 2015 - 2024 Weber Informatics LLC | Privacy Policy