Add test for generic collections

This commit is contained in:
hns 2009-09-18 11:58:28 +00:00
parent f96e053417
commit 9490b2e48c
4 changed files with 72 additions and 1 deletions

View file

@ -19,6 +19,19 @@ range.order = person_name
range.offset = 100
range.maxsize = 100
generic = collection(Person)
generic.local.1 = $prototype
generic.foreign.1 = person_generic_prototype
generic.local.2 = $id
generic.foreign.2 = person_generic_id
groupedGeneric = collection(Person)
groupedGeneric.local.1 = $prototype
groupedGeneric.foreign.1 = person_generic_prototype
groupedGeneric.local.2 = $id
groupedGeneric.foreign.2 = person_generic_id
groupredGeneric.group = person_name
name = org_name
country = org_country

View file

@ -12,3 +12,6 @@ dateOfBirth = person_dateofbirth
organisation = object(Organisation)
organisation.local = person_org_id
organisation.foreign = org_id
genericPrototype = person_generic_prototype
genericId = person_generic_id