| /** |
| * Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf, Austria), Loetz GmbH&Co.KG (69115 Heidelberg, Germany) |
| * 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: |
| * Florian Pirchner - Initial implementation |
| */ |
| package org.eclipse.osbp.ecview.core.common.model.binding; |
| |
| import org.eclipse.osbp.ecview.core.common.model.core.YElement; |
| |
| |
| // TODO: Auto-generated Javadoc |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>YBinding</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.osbp.ecview.core.common.model.binding.YBinding#getModelToTargetStrategy <em>Model To Target Strategy</em>}</li> |
| * <li>{@link org.eclipse.osbp.ecview.core.common.model.binding.YBinding#getTargetToModelStrategy <em>Target To Model Strategy</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.osbp.ecview.core.common.model.binding.BindingPackage#getYBinding() |
| * @model abstract="true" |
| * @generated |
| */ |
| public interface YBinding extends YElement { |
| /** |
| * Returns the value of the '<em><b>Model To Target Strategy</b></em>' attribute. |
| * The default value is <code>"UPDATE"</code>. |
| * The literals are from the enumeration {@link org.eclipse.osbp.ecview.core.common.model.binding.YBindingUpdateStrategy}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Model To Target Strategy</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Model To Target Strategy</em>' attribute. |
| * @see org.eclipse.osbp.ecview.core.common.model.binding.YBindingUpdateStrategy |
| * @see #setModelToTargetStrategy(YBindingUpdateStrategy) |
| * @see org.eclipse.osbp.ecview.core.common.model.binding.BindingPackage#getYBinding_ModelToTargetStrategy() |
| * @model default="UPDATE" |
| * @generated |
| */ |
| YBindingUpdateStrategy getModelToTargetStrategy(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.ecview.core.common.model.binding.YBinding#getModelToTargetStrategy <em>Model To Target Strategy</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Model To Target Strategy</em>' attribute. |
| * @see org.eclipse.osbp.ecview.core.common.model.binding.YBindingUpdateStrategy |
| * @see #getModelToTargetStrategy() |
| * @generated |
| */ |
| void setModelToTargetStrategy(YBindingUpdateStrategy value); |
| |
| /** |
| * Returns the value of the '<em><b>Target To Model Strategy</b></em>' attribute. |
| * The default value is <code>"UPDATE"</code>. |
| * The literals are from the enumeration {@link org.eclipse.osbp.ecview.core.common.model.binding.YBindingUpdateStrategy}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Target To Model Strategy</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Target To Model Strategy</em>' attribute. |
| * @see org.eclipse.osbp.ecview.core.common.model.binding.YBindingUpdateStrategy |
| * @see #setTargetToModelStrategy(YBindingUpdateStrategy) |
| * @see org.eclipse.osbp.ecview.core.common.model.binding.BindingPackage#getYBinding_TargetToModelStrategy() |
| * @model default="UPDATE" |
| * @generated |
| */ |
| YBindingUpdateStrategy getTargetToModelStrategy(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.ecview.core.common.model.binding.YBinding#getTargetToModelStrategy <em>Target To Model Strategy</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Target To Model Strategy</em>' attribute. |
| * @see org.eclipse.osbp.ecview.core.common.model.binding.YBindingUpdateStrategy |
| * @see #getTargetToModelStrategy() |
| * @generated |
| */ |
| void setTargetToModelStrategy(YBindingUpdateStrategy value); |
| |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc -->. |
| * |
| * @return the binding set |
| * @model kind="operation" |
| * @generated |
| */ |
| YBindingSet getBindingSet(); |
| |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc -->. |
| * |
| * @param element |
| * the element |
| * @return true, if is binds element |
| * @model elementRequired="true" |
| * @generated |
| */ |
| boolean isBindsElement(YElement element); |
| |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc -->. |
| * |
| * @return the target endpoint |
| * @model kind="operation" |
| * @generated |
| */ |
| YBindingEndpoint getTargetEndpoint(); |
| |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc -->. |
| * |
| * @return the model endpoint |
| * @model kind="operation" |
| * @generated |
| */ |
| YBindingEndpoint getModelEndpoint(); |
| |
| } // YBinding |