app/polymodel/LICENSE
author Todd Larsen <tlarsen@google.com>
Fri, 26 Sep 2008 19:47:07 +0000
changeset 204 7075c27170f2
parent 203 187d45783300
permissions -rw-r--r--
Add ModelWithFieldAttributes *before* PolyModel, so that everything does not become a "ModelWithFieldAttributes" in the Datastore. The way PolyModel works, each Model class hierarchy is stored in the Datastore as the class that directly inherited from PolyModel. So, we do not want to insert ModelWithFieldAttributes *after* PolyModel by inheriting *from* PolyModel, or everything would just be a ModelWithFieldAttributes in the Datastore, instead of Person, Work, Group, etc.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
203
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     1
The MIT License
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     2
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     3
Copyright (c) 2008 Andreas Blixt <andreas@blixt.org>
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     4
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     5
Permission is hereby granted, free of charge, to any person obtaining a copy
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     6
of this software and associated documentation files (the "Software"), to deal
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     7
in the Software without restriction, including without limitation the rights
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     8
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     9
copies of the Software, and to permit persons to whom the Software is
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    10
furnished to do so, subject to the following conditions:
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    11
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    12
The above copyright notice and this permission notice shall be included in
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    13
all copies or substantial portions of the Software.
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    14
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    15
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    16
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    17
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    18
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    19
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    20
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    21
THE SOFTWARE.
187d45783300 Add the third-party PolyModel class. This class supports inheritance in
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    22