Table of Contents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 実験 | |
using a : tx | |
with x, y, z : constant | |
match | |
case a.x_id = x.id | |
&& a.y_id = y.id | |
&& a.z_id = z.id | |
=> a / {x_name = x.name, y_name = y.name, z_name = z.name} into out | |
case _ | |
=> a into failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# エンティティの定義 | |
# これに対するクラスができる | |
Body = { | |
item_id : string; | |
price : decimal; | |
}; | |
# 射影の定義 | |
# これに対するインターフェースができる | |
@fragment Header = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== プロジェクト作成 === | |
== プラグインプロジェクトの新規作成 == | |
* Activator不要 | |
* UI不要 | |
* テンプレート不要 | |
== ビルド設定 == | |
MANIFEST.MF > build.propertiesタブ | |
* http://gist.github.com/501171 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2010 @ashigeru. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source.. = src/ | |
output.. = bin/ | |
bin.includes = META-INF/,\ | |
. | |
javacSource.. = 1.6 | |
javacTarget.. = 1.6 | |
javacDefaultEncoding.. = UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import static org.junit.Assert.*; | |
import org.junit.Test; | |
import org.slim3.tester.AppEngineTestCase; | |
import com.google.appengine.api.datastore.Entity; | |
public class HasParentButIsIncomplete extends AppEngineTestCase { | |
@Test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2010 @ashigeru. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |