blob: b286a7ef42f26bf6594cf36e255d75a53b8e035c [file] [log] [blame]
/*
* Copyright (c) 2003, 2005 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: LinkEndCreationData.java,v 1.7 2005/05/18 16:38:29 khussey Exp $
*/
package org.eclipse.uml2;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Link End Creation Data</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.LinkEndCreationData#isReplaceAll <em>Is Replace All</em>}</li>
* <li>{@link org.eclipse.uml2.LinkEndCreationData#getInsertAt <em>Insert At</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.UML2Package#getLinkEndCreationData()
* @model
* @generated
*/
public interface LinkEndCreationData extends LinkEndData{
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String copyright = "Copyright (c) IBM Corporation and others."; //$NON-NLS-1$
/**
* Returns the value of the '<em><b>Is Replace All</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is Replace All</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* = falseSpecifies whether the existing links emanating from the object on this end should be destroyed before creating a new link.
* <!-- end-model-doc -->
* @return the value of the '<em>Is Replace All</em>' attribute.
* @see #setIsReplaceAll(boolean)
* @see org.eclipse.uml2.UML2Package#getLinkEndCreationData_IsReplaceAll()
* @model default="false" dataType="org.eclipse.uml2.Boolean"
* @generated
*/
boolean isReplaceAll();
/**
* Sets the value of the '{@link org.eclipse.uml2.LinkEndCreationData#isReplaceAll <em>Is Replace All</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Replace All</em>' attribute.
* @see #isReplaceAll()
* @generated
*/
void setIsReplaceAll(boolean value);
/**
* Returns the value of the '<em><b>Insert At</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Insert At</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Specifies where the new link should be inserted for ordered association ends, or where an existing link should be moved to. The type of the input is UnlimitedNatural, but the input cannot be zero. This pin is omitted for association ends that are not ordered.
* <!-- end-model-doc -->
* @return the value of the '<em>Insert At</em>' reference.
* @see #setInsertAt(InputPin)
* @see org.eclipse.uml2.UML2Package#getLinkEndCreationData_InsertAt()
* @model
* @generated
*/
InputPin getInsertAt();
/**
* Sets the value of the '{@link org.eclipse.uml2.LinkEndCreationData#getInsertAt <em>Insert At</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Insert At</em>' reference.
* @see #getInsertAt()
* @generated
*/
void setInsertAt(InputPin value);
} // LinkEndCreationData