blob: 734c026036bc9cdd737780e72a24dd88c85834d3 [file] [log] [blame]
/**
* Copyright (c) 2011, 2014 - 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
*/
package org.eclipse.osbp.entitydsl.documentation.demo {
datatype String jvmType String;
datatype long jvmType Long;
entity Foo {
inheritance per class{}
id long id;
var String name;
}
entity Bar extends Foo {
var long number;
def String getnumberasstring() {
return java.lang.Long::toString(number)
}
}
}