javaquery/api/src/test/java/org/apidesign/bck2brwsr/htmlpage/PeopleImpl.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 03 Apr 2013 11:37:52 +0200
branchmodel
changeset 921 cd0a40987abb
permissions -rw-r--r--
Persists arrays to JSON
jaroslav@921
     1
/**
jaroslav@921
     2
 * Back 2 Browser Bytecode Translator
jaroslav@921
     3
 * Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
jaroslav@921
     4
 *
jaroslav@921
     5
 * This program is free software: you can redistribute it and/or modify
jaroslav@921
     6
 * it under the terms of the GNU General Public License as published by
jaroslav@921
     7
 * the Free Software Foundation, version 2 of the License.
jaroslav@921
     8
 *
jaroslav@921
     9
 * This program is distributed in the hope that it will be useful,
jaroslav@921
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
jaroslav@921
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
jaroslav@921
    12
 * GNU General Public License for more details.
jaroslav@921
    13
 *
jaroslav@921
    14
 * You should have received a copy of the GNU General Public License
jaroslav@921
    15
 * along with this program. Look for COPYING file in the top folder.
jaroslav@921
    16
 * If not, see http://opensource.org/licenses/GPL-2.0.
jaroslav@921
    17
 */
jaroslav@921
    18
package org.apidesign.bck2brwsr.htmlpage;
jaroslav@921
    19
jaroslav@921
    20
import org.apidesign.bck2brwsr.htmlpage.api.Model;
jaroslav@921
    21
import org.apidesign.bck2brwsr.htmlpage.api.Property;
jaroslav@921
    22
jaroslav@921
    23
/**
jaroslav@921
    24
 *
jaroslav@921
    25
 * @author Jaroslav Tulach <jtulach@netbeans.org>
jaroslav@921
    26
 */
jaroslav@921
    27
@Model(className = "People", properties = {
jaroslav@921
    28
    @Property(array = true, name = "info", type = PersonImpl.class),
jaroslav@921
    29
    @Property(array = true, name = "nicknames", type = String.class),
jaroslav@921
    30
    @Property(array = true, name = "age", type = int.class),
jaroslav@921
    31
})
jaroslav@921
    32
public class PeopleImpl {
jaroslav@921
    33
    
jaroslav@921
    34
}