org.eclipse.uml2.uml.Include Maven / Gradle / Ivy
/*
* Copyright (c) 2005, 2007 IBM Corporation 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
*
* $Id: Include.java,v 1.7 2007/10/23 15:54:22 jbruck Exp $
*/
package org.eclipse.uml2.uml;
/**
*
* A representation of the model object 'Include'.
*
*
*
* An include relationship defines that a use case contains the behavior defined in another use case.
*
*
*
* The following features are supported:
*
* - {@link org.eclipse.uml2.uml.Include#getAddition Addition}
* - {@link org.eclipse.uml2.uml.Include#getIncludingCase Including Case}
*
*
*
* @see org.eclipse.uml2.uml.UMLPackage#getInclude()
* @model
* @generated
*/
public interface Include
extends NamedElement, DirectedRelationship {
/**
* Returns the value of the 'Addition' reference.
*
* This feature subsets the following features:
*
* - '{@link org.eclipse.uml2.uml.DirectedRelationship#getTargets() Target}'
*
*
*
*
*
* References the use case that is to be included.
*
*
* @return the value of the 'Addition' reference.
* @see #setAddition(UseCase)
* @see org.eclipse.uml2.uml.UMLPackage#getInclude_Addition()
* @model required="true" ordered="false"
* @generated
*/
UseCase getAddition();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.Include#getAddition Addition}' reference.
*
*
* @param value the new value of the 'Addition' reference.
* @see #getAddition()
* @generated
*/
void setAddition(UseCase value);
/**
* Returns the value of the 'Including Case' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.uml2.uml.UseCase#getIncludes Include}'.
*
* This feature subsets the following features:
*
* - '{@link org.eclipse.uml2.uml.DirectedRelationship#getSources() Source}'
*
*
*
*
*
* References the use case which will include the addition and owns the include relationship.
*
* @return the value of the 'Including Case' container reference.
* @see #setIncludingCase(UseCase)
* @see org.eclipse.uml2.uml.UMLPackage#getInclude_IncludingCase()
* @see org.eclipse.uml2.uml.UseCase#getIncludes
* @model opposite="include" required="true" transient="false" ordered="false"
* @generated
*/
UseCase getIncludingCase();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.Include#getIncludingCase Including Case}' container reference.
*
*
* @param value the new value of the 'Including Case' container reference.
* @see #getIncludingCase()
* @generated
*/
void setIncludingCase(UseCase value);
} // Include
© 2015 - 2025 Weber Informatics LLC | Privacy Policy