| /** |
| * Copyright (c) 2011, 2016 - Lunifera GmbH (Gross Enzersdorf), Loetz GmbH&Co.KG (Heidelberg) |
| * 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.dsl.semantic.dto; |
| |
| import java.util.List; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| import org.eclipse.osbp.dsl.semantic.common.types.LClass; |
| import org.eclipse.osbp.dsl.semantic.common.types.LFeature; |
| import org.eclipse.osbp.dsl.semantic.common.types.LFeaturesHolder; |
| import org.eclipse.osbp.dsl.semantic.common.types.LScalarType; |
| import org.eclipse.osbp.dsl.semantic.common.types.LType; |
| |
| import org.eclipse.xtext.common.types.JvmTypeReference; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>LDto</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * * |
| * A bean is an embeddable element that may become added to a entity using the @embedd annotation. |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.osbp.dsl.semantic.dto.LDto#getFeatures <em>Features</em>}</li> |
| * <li>{@link org.eclipse.osbp.dsl.semantic.dto.LDto#getSuperType <em>Super Type</em>}</li> |
| * <li>{@link org.eclipse.osbp.dsl.semantic.dto.LDto#getSuperTypeJvm <em>Super Type Jvm</em>}</li> |
| * <li>{@link org.eclipse.osbp.dsl.semantic.dto.LDto#getSuperTypeMapperJvm <em>Super Type Mapper Jvm</em>}</li> |
| * <li>{@link org.eclipse.osbp.dsl.semantic.dto.LDto#getSubTypes <em>Sub Types</em>}</li> |
| * <li>{@link org.eclipse.osbp.dsl.semantic.dto.LDto#getWrappedType <em>Wrapped Type</em>}</li> |
| * <li>{@link org.eclipse.osbp.dsl.semantic.dto.LDto#getWrappedTypeJvm <em>Wrapped Type Jvm</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.osbp.dsl.semantic.dto.OSBPDtoPackage#getLDto() |
| * @generated |
| */ |
| public interface LDto extends LClass, LFeaturesHolder, LScalarType { |
| /** |
| * Returns the value of the '<em><b>Features</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.osbp.dsl.semantic.dto.LDtoFeature}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Features</em>' containment reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Features</em>' containment reference list. |
| * @see org.eclipse.osbp.dsl.semantic.dto.OSBPDtoPackage#getLDto_Features() |
| * @generated |
| */ |
| EList<LDtoFeature> getFeatures(); |
| |
| /** |
| * Returns the value of the '<em><b>Super Type</b></em>' reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.osbp.dsl.semantic.dto.LDto#getSubTypes <em>Sub Types</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Super Type</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Super Type</em>' reference. |
| * @see #setSuperType(LDto) |
| * @see org.eclipse.osbp.dsl.semantic.dto.OSBPDtoPackage#getLDto_SuperType() |
| * @see org.eclipse.osbp.dsl.semantic.dto.LDto#getSubTypes |
| * @generated |
| */ |
| LDto getSuperType(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.dsl.semantic.dto.LDto#getSuperType <em>Super Type</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Super Type</em>' reference. |
| * @see #getSuperType() |
| * @generated |
| */ |
| void setSuperType(LDto value); |
| |
| /** |
| * Returns the value of the '<em><b>Super Type Jvm</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Super Type Jvm</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Super Type Jvm</em>' containment reference. |
| * @see #setSuperTypeJvm(JvmTypeReference) |
| * @see org.eclipse.osbp.dsl.semantic.dto.OSBPDtoPackage#getLDto_SuperTypeJvm() |
| * @generated |
| */ |
| JvmTypeReference getSuperTypeJvm(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.dsl.semantic.dto.LDto#getSuperTypeJvm <em>Super Type Jvm</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Super Type Jvm</em>' containment reference. |
| * @see #getSuperTypeJvm() |
| * @generated |
| */ |
| void setSuperTypeJvm(JvmTypeReference value); |
| |
| /** |
| * Returns the value of the '<em><b>Super Type Mapper Jvm</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Super Type Mapper Jvm</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Super Type Mapper Jvm</em>' containment reference. |
| * @see #setSuperTypeMapperJvm(JvmTypeReference) |
| * @see org.eclipse.osbp.dsl.semantic.dto.OSBPDtoPackage#getLDto_SuperTypeMapperJvm() |
| * @generated |
| */ |
| JvmTypeReference getSuperTypeMapperJvm(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.dsl.semantic.dto.LDto#getSuperTypeMapperJvm <em>Super Type Mapper Jvm</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Super Type Mapper Jvm</em>' containment reference. |
| * @see #getSuperTypeMapperJvm() |
| * @generated |
| */ |
| void setSuperTypeMapperJvm(JvmTypeReference value); |
| |
| /** |
| * Returns the value of the '<em><b>Sub Types</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.osbp.dsl.semantic.dto.LDto}. |
| * It is bidirectional and its opposite is '{@link org.eclipse.osbp.dsl.semantic.dto.LDto#getSuperType <em>Super Type</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Sub Types</em>' reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Sub Types</em>' reference list. |
| * @see org.eclipse.osbp.dsl.semantic.dto.OSBPDtoPackage#getLDto_SubTypes() |
| * @see org.eclipse.osbp.dsl.semantic.dto.LDto#getSuperType |
| * @generated |
| */ |
| EList<LDto> getSubTypes(); |
| |
| /** |
| * Returns the value of the '<em><b>Wrapped Type</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Wrapped Type</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Wrapped Type</em>' reference. |
| * @see #setWrappedType(LType) |
| * @see org.eclipse.osbp.dsl.semantic.dto.OSBPDtoPackage#getLDto_WrappedType() |
| * @generated |
| */ |
| LType getWrappedType(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.dsl.semantic.dto.LDto#getWrappedType <em>Wrapped Type</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Wrapped Type</em>' reference. |
| * @see #getWrappedType() |
| * @generated |
| */ |
| void setWrappedType(LType value); |
| |
| /** |
| * Returns the value of the '<em><b>Wrapped Type Jvm</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Wrapped Type Jvm</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Wrapped Type Jvm</em>' containment reference. |
| * @see #setWrappedTypeJvm(JvmTypeReference) |
| * @see org.eclipse.osbp.dsl.semantic.dto.OSBPDtoPackage#getLDto_WrappedTypeJvm() |
| * @generated |
| */ |
| JvmTypeReference getWrappedTypeJvm(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.dsl.semantic.dto.LDto#getWrappedTypeJvm <em>Wrapped Type Jvm</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Wrapped Type Jvm</em>' containment reference. |
| * @see #getWrappedTypeJvm() |
| * @generated |
| */ |
| void setWrappedTypeJvm(JvmTypeReference value); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * * |
| * Returns all features of type LOperation |
| * <!-- end-model-doc --> |
| * @generated |
| */ |
| List<LDtoOperation> getOperations(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * * |
| * Returns all features of type LDtoReference |
| * <!-- end-model-doc --> |
| * @generated |
| */ |
| List<LDtoAbstractReference> getReferences(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * * |
| * Returns all features of type LDtoAttribute |
| * <!-- end-model-doc --> |
| * @generated |
| */ |
| List<LDtoAbstractAttribute> getAttributes(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * * |
| * Returns all features of the holder and from super types |
| * <!-- end-model-doc --> |
| * @generated |
| */ |
| List<? extends LFeature> getAllFeatures(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| void collectAllOSBPFeatures(LDto current, List<LDtoFeature> result); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| LDtoAbstractAttribute getPrimaryKeyAttribute(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String getIdAttributeName(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| LScalarType getIdAttributeType(); |
| |
| } // LDto |