[
http://jira.jboss.com/jira/browse/JBSEAM-903?page=comments#action_12360165 ]
Jim Hazen commented on JBSEAM-903:
----------------------------------
I'm partial to @InOut. We already have @In, we already have @Out, this combines the
two. In addition InOut variables are part of the vernacular of other frameworks. Reusing
the term to mean essentially the same thing I think we lessen Seam's learning curve.
Or at least the @InOut annotation's learning curve. @Biject makes great sense only to
those familiar with the concept. When you're just getting started bijection is
explained in terms of injection and outjection, something that I think should be reflected
in the annotation.
@Bidirectional to combine @In and @Out
--------------------------------------
Key: JBSEAM-903
URL:
http://jira.jboss.com/jira/browse/JBSEAM-903
Project: JBoss Seam
Issue Type: Feature Request
Affects Versions: 1.1.6.GA
Reporter: Andrew
Assigned To: Shane Bryzak
Priority: Minor
IMO, it would be great to have an InOut annotation that can combine In and Out to avoid
excessive typing. Examples:
Now:
@In(required=false, value="someString", scope=ScopeType.EVENT)
@Out(required=false, value="someString", scope=ScopeType.EVENT)
private String localVariableName;
Easier as:
@Bidirectional(required=false, value="someString", scope=ScopeType.EVENT)
private String localVariableName;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira