| /** |
| * Copyright (c) 2011, 2016 - 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 |
| * |
| * Based on ideas from Xtext, Xtend, Xcore |
| * |
| * Contributors: |
| * Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation |
| * |
| */ |
| package org.eclipse.osbp.xtext.entitymock; |
| |
| import org.eclipse.osbp.dsl.semantic.entity.LEntityReference; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Entity Mock Attribute By Reference</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockAttributeByReference#getAttributeRef <em>Attribute Ref</em>}</li> |
| * <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockAttributeByReference#getMockedEntity <em>Mocked Entity</em>}</li> |
| * <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockAttributeByReference#getOptionalFor <em>Optional For</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockAttributeByReference() |
| * @model |
| * @generated |
| */ |
| public interface EntityMockAttributeByReference extends IEntityMockAttribute { |
| /** |
| * Returns the value of the '<em><b>Attribute Ref</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Attribute Ref</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Attribute Ref</em>' reference. |
| * @see #setAttributeRef(LEntityReference) |
| * @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockAttributeByReference_AttributeRef() |
| * @model |
| * @generated |
| */ |
| LEntityReference getAttributeRef(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.EntityMockAttributeByReference#getAttributeRef <em>Attribute Ref</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Attribute Ref</em>' reference. |
| * @see #getAttributeRef() |
| * @generated |
| */ |
| void setAttributeRef(LEntityReference value); |
| |
| /** |
| * Returns the value of the '<em><b>Mocked Entity</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Mocked Entity</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Mocked Entity</em>' reference. |
| * @see #setMockedEntity(EntityMockEntity) |
| * @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockAttributeByReference_MockedEntity() |
| * @model |
| * @generated |
| */ |
| EntityMockEntity getMockedEntity(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.EntityMockAttributeByReference#getMockedEntity <em>Mocked Entity</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Mocked Entity</em>' reference. |
| * @see #getMockedEntity() |
| * @generated |
| */ |
| void setMockedEntity(EntityMockEntity value); |
| |
| /** |
| * Returns the value of the '<em><b>Optional For</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Optional For</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Optional For</em>' attribute. |
| * @see #setOptionalFor(int) |
| * @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockAttributeByReference_OptionalFor() |
| * @model unique="false" |
| * @generated |
| */ |
| int getOptionalFor(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.EntityMockAttributeByReference#getOptionalFor <em>Optional For</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Optional For</em>' attribute. |
| * @see #getOptionalFor() |
| * @generated |
| */ |
| void setOptionalFor(int value); |
| |
| } // EntityMockAttributeByReference |