| /** |
| * Copyright (c) 2011, 2015 - 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.my.example { |
| |
| import org.eclipse.osbp.dsl.common.datatypes.my.*; |
| |
| entity MyEntity extends MyParent { |
| |
| var String value; |
| ref MyChild childs; |
| } |
| |
| entity MyChild extends MyParent { |
| var String name; |
| } |
| |
| entity MyParent { |
| id long pid ; |
| } |
| } |