Typed properties
----------------
Key: QI-143
URL: http://issues.ops4j.org/jira/browse/QI-143
Project: Qi4j
Issue Type: New Feature
Reporter: Rickard Öberg
Assignee: Rickard Öberg
Fix For: 1.0
It should be possible to have typed properties. Instead of declaring:
Property<String> name();
it should be possible to do:
Name name()
where Name is:
interface Name
extends Property<String>
{}
and where constraints can be declared on the interface, such as:
@NotEmpty
interface Name
extends Property<String>
{}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev