http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldStateMixin.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldStateMixin.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldStateMixin.java index e5fcd6f..76787fb 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldStateMixin.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldStateMixin.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial5; /**
http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/package.html ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/package.html b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/package.html index 11ecec6..b504cd8 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/package.html +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/package.html @@ -1,3 +1,19 @@ +<!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You 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 +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> <body> <h1>Tutorial 5 - Constraints</h1> <p> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorld.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorld.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorld.java index a43490c..a08d071 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorld.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorld.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial6; /** http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviour.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviour.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviour.java index ba34e73..befdbf7 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviour.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviour.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial6; import org.qi4j.api.concern.Concerns; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviourConcern.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviourConcern.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviourConcern.java index 56a8e57..dffb5c1 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviourConcern.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviourConcern.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial6; import org.qi4j.api.concern.ConcernOf; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviourMixin.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviourMixin.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviourMixin.java index 73ad983..9e154d1 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviourMixin.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldBehaviourMixin.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial6; import org.qi4j.api.injection.scope.This; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldComposite.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldComposite.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldComposite.java index 18c772d..4fd031f 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldComposite.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldComposite.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial6; import org.qi4j.api.composite.TransientComposite; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldState.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldState.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldState.java index 0f80254a..8290ad0 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldState.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldState.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial6; import org.qi4j.api.mixin.Mixins; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldStateMixin.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldStateMixin.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldStateMixin.java index db977b5..c5ae4cf 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldStateMixin.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldStateMixin.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial6; /** http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/package.html ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/package.html b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/package.html index 20e0a01..c2ba7b5 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/package.html +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial6/package.html @@ -1,3 +1,19 @@ +<!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You 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 +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> <body> <h1>Tutorial 6 - SideEffects</h1> <p> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorld.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorld.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorld.java index 10798cf..75a6b77 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorld.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorld.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial7; /** http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviour.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviour.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviour.java index 20b1b8c..34bde3e 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviour.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviour.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial7; // START SNIPPET: solution http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviourMixin.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviourMixin.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviourMixin.java index 726b3f6..31135f6 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviourMixin.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviourMixin.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial7; import org.qi4j.api.injection.scope.This; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviourSideEffect.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviourSideEffect.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviourSideEffect.java index ec6a4b2..5b28c1f 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviourSideEffect.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldBehaviourSideEffect.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial7; import org.qi4j.api.sideeffect.SideEffectOf; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldComposite.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldComposite.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldComposite.java index c73efdb..db3a009 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldComposite.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldComposite.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial7; import org.qi4j.api.composite.TransientComposite; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldState.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldState.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldState.java index a3143fb..2e30060 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldState.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldState.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial7; import org.qi4j.library.constraints.annotation.NotEmpty; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldStateMixin.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldStateMixin.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldStateMixin.java index 1e4cbed..5c9089a 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldStateMixin.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldStateMixin.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial7; /** http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/package.html ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/package.html b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/package.html index 57609da..4b2fd0d 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/package.html +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial7/package.html @@ -1,3 +1,19 @@ +<!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You 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 +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> <body> <h1>Tutorial 7 - Properties</h1> <p> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldBehaviour.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldBehaviour.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldBehaviour.java index 32fa269..0c7b1b1 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldBehaviour.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldBehaviour.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial8; /** http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldBehaviourMixin.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldBehaviourMixin.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldBehaviourMixin.java index 226dc0a..4de402b 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldBehaviourMixin.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldBehaviourMixin.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial8; import org.qi4j.api.injection.scope.This; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldComposite.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldComposite.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldComposite.java index 138e70b..a6b1951 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldComposite.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldComposite.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial8; import org.qi4j.api.composite.TransientComposite; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldState.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldState.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldState.java index c85d600..0979ecf 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldState.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldState.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial8; import org.qi4j.api.property.Property; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldStateMixin.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldStateMixin.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldStateMixin.java index 14196c0..b40e8fa 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldStateMixin.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldStateMixin.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial8; import org.qi4j.api.injection.scope.State; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/package.html ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/package.html b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/package.html index 00a0c5a..01e7d9e 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/package.html +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial8/package.html @@ -1,3 +1,19 @@ +<!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You 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 +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> <body> <h1>Tutorial 8 - Generic mixins</h1> <p> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldBehaviour.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldBehaviour.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldBehaviour.java index 0c38565..bf82ff1 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldBehaviour.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldBehaviour.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial9; /** http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldBehaviourMixin.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldBehaviourMixin.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldBehaviourMixin.java index df71fa3..d676bc6 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldBehaviourMixin.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldBehaviourMixin.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial9; import org.qi4j.api.injection.scope.This; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldComposite.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldComposite.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldComposite.java index 938d988..73587d2 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldComposite.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldComposite.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial9; import org.qi4j.api.composite.TransientComposite; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldState.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldState.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldState.java index 51aee06..e6fbd69 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldState.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldState.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial9; import org.qi4j.api.property.Property; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/package.html ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/package.html b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/package.html index ea21e57..658765d 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/package.html +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial9/package.html @@ -1,3 +1,19 @@ +<!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You 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 +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> <body> <h1>Tutorial 9 - Private and abstract mixins</h1> <p> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/javadoc/overview.html ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/javadoc/overview.html b/tutorials/composites/src/main/javadoc/overview.html index cc4b5de..8103bc6 100644 --- a/tutorials/composites/src/main/javadoc/overview.html +++ b/tutorials/composites/src/main/javadoc/overview.html @@ -1,4 +1,20 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You 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 + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <html> <head> </head> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial1/HelloWorldTest.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial1/HelloWorldTest.java b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial1/HelloWorldTest.java index 8f942ae..7a3252e 100644 --- a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial1/HelloWorldTest.java +++ b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial1/HelloWorldTest.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial1; import org.junit.Before; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldTest.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldTest.java b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldTest.java index 9c545f5..100b921 100644 --- a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldTest.java +++ b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldTest.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial10; import org.junit.Before; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldTest.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldTest.java b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldTest.java index dbfcfbd..97bd4bf 100644 --- a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldTest.java +++ b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldTest.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial2; import org.junit.Before; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldTest.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldTest.java b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldTest.java index aa7adaa..74f9c00 100644 --- a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldTest.java +++ b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldTest.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial3; import org.junit.Before; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldTest.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldTest.java b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldTest.java index 297fe54..100228c 100644 --- a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldTest.java +++ b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldTest.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial4; import org.junit.Before; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldTest.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldTest.java b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldTest.java index f4ab7de..e9786fc 100644 --- a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldTest.java +++ b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldTest.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial5; import org.junit.Before; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldTest.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldTest.java b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldTest.java index 84cc36f..8496a86 100644 --- a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldTest.java +++ b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial6/HelloWorldTest.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial6; import org.junit.Before; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldTest.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldTest.java b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldTest.java index 73c44b1..785bc3e 100644 --- a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldTest.java +++ b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial7/HelloWorldTest.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial7; import org.junit.Before; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldTest.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldTest.java b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldTest.java index 6ebc398..3eeff1a 100644 --- a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldTest.java +++ b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial8/HelloWorldTest.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial8; import org.junit.Before; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldTest.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldTest.java b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldTest.java index 824de0d..a5aaf0f 100644 --- a/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldTest.java +++ b/tutorials/composites/src/test/java/org/qi4j/tutorials/composites/tutorial9/HelloWorldTest.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.tutorials.composites.tutorial9; import org.junit.Before; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/build.gradle ---------------------------------------------------------------------- diff --git a/tutorials/introduction/build.gradle b/tutorials/introduction/build.gradle index 3c28caf..827a8b4 100644 --- a/tutorials/introduction/build.gradle +++ b/tutorials/introduction/build.gradle @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + description = "An Introduction to Qi4j in its simplest form." jar { manifest { name = "Qi4j Tutorial - Introduction" }} http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/src/docs/background.txt ---------------------------------------------------------------------- diff --git a/tutorials/introduction/src/docs/background.txt b/tutorials/introduction/src/docs/background.txt index d275d3a..f68e419 100644 --- a/tutorials/introduction/src/docs/background.txt +++ b/tutorials/introduction/src/docs/background.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +/////////////////////////////////////////////////////////////// + [[introduction-background,Background]] = Background = Qi4j is the first Composite Oriented Programming implementation leveraging the Java 5 platform, so that everything you http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/src/docs/highlights.txt ---------------------------------------------------------------------- diff --git a/tutorials/introduction/src/docs/highlights.txt b/tutorials/introduction/src/docs/highlights.txt index 6684440..0eeea51 100644 --- a/tutorials/introduction/src/docs/highlights.txt +++ b/tutorials/introduction/src/docs/highlights.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +/////////////////////////////////////////////////////////////// + [[highlights,Highlights]] = Highligts = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/src/docs/qi4j-cop.txt ---------------------------------------------------------------------- diff --git a/tutorials/introduction/src/docs/qi4j-cop.txt b/tutorials/introduction/src/docs/qi4j-cop.txt index 9a7f36b..b1dc78b 100644 --- a/tutorials/introduction/src/docs/qi4j-cop.txt +++ b/tutorials/introduction/src/docs/qi4j-cop.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +/////////////////////////////////////////////////////////////// + [[qi4j-cop,COP with Java and Qi4j]] = COP with Java and Qi4j = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/src/docs/state-modeling.txt ---------------------------------------------------------------------- diff --git a/tutorials/introduction/src/docs/state-modeling.txt b/tutorials/introduction/src/docs/state-modeling.txt index 341e065..26d8a74 100644 --- a/tutorials/introduction/src/docs/state-modeling.txt +++ b/tutorials/introduction/src/docs/state-modeling.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +/////////////////////////////////////////////////////////////// + [[state-modeling,State Modeling]] = Qi4j and state modeling = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/src/docs/what-is-composite-oriented-programming.txt ---------------------------------------------------------------------- diff --git a/tutorials/introduction/src/docs/what-is-composite-oriented-programming.txt b/tutorials/introduction/src/docs/what-is-composite-oriented-programming.txt index 1c4ef23..93ffa08 100644 --- a/tutorials/introduction/src/docs/what-is-composite-oriented-programming.txt +++ b/tutorials/introduction/src/docs/what-is-composite-oriented-programming.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +/////////////////////////////////////////////////////////////// + [[what-is-cop,What is COP?]] = What is COP? = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/src/docs/whats-an-object.txt ---------------------------------------------------------------------- diff --git a/tutorials/introduction/src/docs/whats-an-object.txt b/tutorials/introduction/src/docs/whats-an-object.txt index 4b68b15..a3a7e98 100644 --- a/tutorials/introduction/src/docs/whats-an-object.txt +++ b/tutorials/introduction/src/docs/whats-an-object.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +/////////////////////////////////////////////////////////////// + [[what-s-an-object-anyway,What's an Object anyway?]] = What's an Object anyway? = In OOP the main idea is that we should model our reality by creating Objects. Objects have state, and they have methods. http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/src/main/java/org/qi4j/demo/intro/StateModelingDocs.java ---------------------------------------------------------------------- diff --git a/tutorials/introduction/src/main/java/org/qi4j/demo/intro/StateModelingDocs.java b/tutorials/introduction/src/main/java/org/qi4j/demo/intro/StateModelingDocs.java index eb4e029..3d68918 100644 --- a/tutorials/introduction/src/main/java/org/qi4j/demo/intro/StateModelingDocs.java +++ b/tutorials/introduction/src/main/java/org/qi4j/demo/intro/StateModelingDocs.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.demo.intro; import org.qi4j.api.association.Association; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/src/main/java/org/qi4j/demo/intro/WhatsAnObjectDocs.java ---------------------------------------------------------------------- diff --git a/tutorials/introduction/src/main/java/org/qi4j/demo/intro/WhatsAnObjectDocs.java b/tutorials/introduction/src/main/java/org/qi4j/demo/intro/WhatsAnObjectDocs.java index 986a93b..50be0c4 100644 --- a/tutorials/introduction/src/main/java/org/qi4j/demo/intro/WhatsAnObjectDocs.java +++ b/tutorials/introduction/src/main/java/org/qi4j/demo/intro/WhatsAnObjectDocs.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.demo.intro; import org.qi4j.api.entity.EntityBuilder; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/tenminutes/build.gradle ---------------------------------------------------------------------- diff --git a/tutorials/introduction/tenminutes/build.gradle b/tutorials/introduction/tenminutes/build.gradle index d75b788..68d15a5 100644 --- a/tutorials/introduction/tenminutes/build.gradle +++ b/tutorials/introduction/tenminutes/build.gradle @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + description = "A 10-minute Introduction Tutorial to Qi4j in its simplest form." jar { manifest { name = "Qi4j Tutorial - 10 minute Introduction" }} http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/tenminutes/src/docs/ten-minutes.txt ---------------------------------------------------------------------- diff --git a/tutorials/introduction/tenminutes/src/docs/ten-minutes.txt b/tutorials/introduction/tenminutes/src/docs/ten-minutes.txt index 28ad0e3..34f99c3 100644 --- a/tutorials/introduction/tenminutes/src/docs/ten-minutes.txt +++ b/tutorials/introduction/tenminutes/src/docs/ten-minutes.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +/////////////////////////////////////////////////////////////// + [[ten-minutes-intro,Qi4j in 10 minutes]] = Qi4j in 10 minutes = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/thirtyminutes/build.gradle ---------------------------------------------------------------------- diff --git a/tutorials/introduction/thirtyminutes/build.gradle b/tutorials/introduction/thirtyminutes/build.gradle index 528e9b4..a4ebdb8 100644 --- a/tutorials/introduction/thirtyminutes/build.gradle +++ b/tutorials/introduction/thirtyminutes/build.gradle @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + description = "A 30-minute Introduction Tutorial to Qi4j in its simplest form." jar { manifest { name = "Qi4j Tutorial - 30 minute Introduction" }} http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/thirtyminutes/src/docs/thirty-minutes.txt ---------------------------------------------------------------------- diff --git a/tutorials/introduction/thirtyminutes/src/docs/thirty-minutes.txt b/tutorials/introduction/thirtyminutes/src/docs/thirty-minutes.txt index 65ea58a..aa88345 100644 --- a/tutorials/introduction/thirtyminutes/src/docs/thirty-minutes.txt +++ b/tutorials/introduction/thirtyminutes/src/docs/thirty-minutes.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +/////////////////////////////////////////////////////////////// + [[thirty-minutes-intro,Qi4j in 30 minutes]] = Qi4j in 30 minutes = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/thirtyminutes/src/main/java/org/qi4j/demo/thirtyminutes/ThirtyMinutesDocs.java ---------------------------------------------------------------------- diff --git a/tutorials/introduction/thirtyminutes/src/main/java/org/qi4j/demo/thirtyminutes/ThirtyMinutesDocs.java b/tutorials/introduction/thirtyminutes/src/main/java/org/qi4j/demo/thirtyminutes/ThirtyMinutesDocs.java index e125b6d..d172077 100644 --- a/tutorials/introduction/thirtyminutes/src/main/java/org/qi4j/demo/thirtyminutes/ThirtyMinutesDocs.java +++ b/tutorials/introduction/thirtyminutes/src/main/java/org/qi4j/demo/thirtyminutes/ThirtyMinutesDocs.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.demo.thirtyminutes; import java.lang.reflect.InvocationHandler; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/twohours/src/docs/two-hours.txt ---------------------------------------------------------------------- diff --git a/tutorials/introduction/twohours/src/docs/two-hours.txt b/tutorials/introduction/twohours/src/docs/two-hours.txt index a24bc7f..bd84428 100644 --- a/tutorials/introduction/twohours/src/docs/two-hours.txt +++ b/tutorials/introduction/twohours/src/docs/two-hours.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +/////////////////////////////////////////////////////////////// + [[two-hours-intro,Qi4j in 2 hours]] = Qi4j in 2 hours = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/twominutes/build.gradle ---------------------------------------------------------------------- diff --git a/tutorials/introduction/twominutes/build.gradle b/tutorials/introduction/twominutes/build.gradle index f4886d0..6183adb 100644 --- a/tutorials/introduction/twominutes/build.gradle +++ b/tutorials/introduction/twominutes/build.gradle @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + description = "A 2-minute Introduction Tutorial to Qi4j in its simplest form." jar { manifest { name = "Qi4j Tutorial - 2 minute Introduction" }} http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/introduction/twominutes/src/docs/two-minutes.txt ---------------------------------------------------------------------- diff --git a/tutorials/introduction/twominutes/src/docs/two-minutes.txt b/tutorials/introduction/twominutes/src/docs/two-minutes.txt index 362429f..bc87861 100644 --- a/tutorials/introduction/twominutes/src/docs/two-minutes.txt +++ b/tutorials/introduction/twominutes/src/docs/two-minutes.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +/////////////////////////////////////////////////////////////// + [[two-minutes-intro,Qi4j in 2 minutes]] = Qi4j in 2 minutes =
