You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2018/05/12 07:11:45 UTC

[isis] 02/02: ISIS-1916: adds missing annotation for HelloWorldObjects archetype

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch maint-1.16.2
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 56ed13e769f0799f7760ecc3071869315baa4110
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Thu Apr 19 07:30:47 2018 +0200

    ISIS-1916: adds missing annotation for HelloWorldObjects archetype
---
 .../src/main/java/domainapp/dom/impl/HelloWorldObjects.java          | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/example/application/helloworld/src/main/java/domainapp/dom/impl/HelloWorldObjects.java b/example/application/helloworld/src/main/java/domainapp/dom/impl/HelloWorldObjects.java
index 242cf7e..075eb45 100644
--- a/example/application/helloworld/src/main/java/domainapp/dom/impl/HelloWorldObjects.java
+++ b/example/application/helloworld/src/main/java/domainapp/dom/impl/HelloWorldObjects.java
@@ -50,7 +50,10 @@ public class HelloWorldObjects {
 
     @Action(semantics = SemanticsOf.SAFE)
     @MemberOrder(sequence = "2")
-    public List<HelloWorldObject> findByName(final String name) {
+    public List<HelloWorldObject> findByName(
+            @Parameter(maxLength = 40)
+            @ParameterLayout(named = "Name")
+            final String name) {
         TypesafeQuery<HelloWorldObject> q = isisJdoSupport.newTypesafeQuery(HelloWorldObject.class);
         final QHelloWorldObject cand = QHelloWorldObject.candidate();
         q = q.filter(

-- 
To stop receiving notification emails like this one, please contact
danhaywood@apache.org.