Hi folks,
trying to design a simple domain interface, I am wondering when to use
Properties and when Associations.

import org.qi4j.entity.association.Association;
import org.qi4j.library.auth.User;
import org.qi4j.library.framework.constraint.annotation.NotNull;
import org.qi4j.property.Property;
public interface Issue {
        @NotNull Property<Position> position();
        @NotNull Association<User> user();
}

What is the difference here, is there any preference in how to module
the relation between Issue, Position and User?

Then, I find it hard to dig up any tests that explicitly use the
EntityStores and test them. Mostly everything is done without them, so
the UoW concept is not really showing IMHO. Could some more docs/test
be added around that?

/peter

-- 
GTalk: neubauer.peter
Skype peter.neubauer
ICQ 18762544
GTalk neubauer.peter
Phone +46704 106975
LinkedIn http://www.linkedin.com/in/neubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to