Commit cdf191ff authored by Lars Hermerschmidt's avatar Lars Hermerschmidt
Browse files

cleanup

parent c79ecfed
eclipse.preferences.version=1
encoding/<project>=UTF-8
<#if op.callCalculator("demo.Constants")></#if>
<#if op.callCalculator("demo.TransformAssociations")></#if>
<#list ast.getCDClasses() as class>
create table ${class.getName()} (
<#if op.callCalculator("demo.Association", class) >
autoID INT NOT NULL PRIMARY KEY,
</#if>
<#list class.getCDAttributes() as attr>
${attr.printName()} ${op.getValue("constants").getType(attr.printType())}<#if attr_has_next>,</#if>
</#list>
);
<#if op.callCalculator("demo.N2NAssociation", class)>
create table ${class.getName()}_${op.getValue("otherClass")} (
${class.getName()} INT NOT NULL,
${op.getValue("otherClass")} INT NOT NULL,
PRIMARY KEY (${class.getName()}, ${op.getValue("otherClass")})
);
</#if>
</#list>
\ No newline at end of file
<#list ast.getCDClasses() as class>
drop table ${class.getName()};
<#if op.callCalculator("demo.N2NAssociation", class)>
drop table ${class.getName()}_${op.getValue("otherClass")};
</#if>
</#list>
\ No newline at end of file
<#-- Disable Java Comments-->
${op.setTracing(false)}
${op.callTemplates(
"cd.SQLCreate",
ast.printPackage() +".create",
"sql",
ast)}
${op.callTemplates(
"cd.SQLDelete",
ast.printPackage() +".delete",
"sql",
ast)}
\ No newline at end of file
#Generated by Maven
#Tue Oct 28 16:40:43 CET 2014
version=0.0.1-SNAPSHOT
groupId=de.se_rwth.montisecarc
artifactId=generator
demo/TransformAssociations.class
demo/N2NAssociation.class
demo/Constants.class
demo/Association.class
/home/user/workspace/MA-Paff/03.Implementierung/montiSecArcGenerator/generator/src/main/java/demo/N2NAssociation.java
/home/user/workspace/MA-Paff/03.Implementierung/montiSecArcGenerator/generator/src/main/java/demo/Constants.java
/home/user/workspace/MA-Paff/03.Implementierung/montiSecArcGenerator/generator/src/main/java/demo/TransformAssociations.java
/home/user/workspace/MA-Paff/03.Implementierung/montiSecArcGenerator/generator/src/main/java/demo/Association.java
#
#Tue Oct 28 16:40:48 CET 2014
/home/user/workspace/MA-Paff/03.Implementierung/montiSecArcGenerator/usage/src/main/models/sensorcloud/demo/Company.cd=b18c858134bdac7bb3abae3bff741557
/home/user/workspace/MA-Paff/03.Implementierung/montiSecArcGenerator/usage/src/main/models/secarc/usability/Usability_Roles.secarc=cc16aa27c77cb2342e7d216e1c1c4322
#Generated by Maven
#Tue Oct 28 16:40:48 CET 2014
version=0.0.1-SNAPSHOT
groupId=de.se_rwth.montisecarc
artifactId=usage
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment