Package models.japidsample

Examples of models.japidsample.Author


  /**
   * @return
   */
  private static List<Post> createPosts() {
    Author a = new Author();
    a.name = "作者";
    a.birthDate = new Date();
    a.gender = 'm';

    final Post p = new Post();
View Full Code Here


    return posts;
  }

  @Test
  public void simleRun() throws UnsupportedEncodingException {
    Author a = new Author();
    a.name = "作者";
    a.birthDate = new Date();
    a.gender = 'm';

    final Post p = new Post();
View Full Code Here

   *
   */
  public static void renderByPosition() {
    String s = "hello,renderByPosition!";
    int i = 100;
    Author a = new Author();
    a.name = "author1";

    Author2 a2 = new Author2();
    a2.name = "author2";
   
View Full Code Here

    Post post = new Post();
    post.title = "test post";
    post.postedAt = new Date();
    post.content = "this is perfect piece of content~!";
   
    Author a = new Author();
    a.name = "me";
    a.birthDate = new Date();
    a.gender = 'm';
   
    post.setAuthor(a);
View Full Code Here

  /**
   * @return
   */
  private static List<Post> createPosts() {
    List<Post> posts = new ArrayList<Post>();
    Author a = new Author();
    a.name = "冉兵";
    a.birthDate = new Date();
    a.gender = 'M';
    Post p = new Post();
    p.author = a;
View Full Code Here

   *
   */
  public static void renderByPosition() {
    String s = "hello,renderByPosition!";
    int i = 100;
    Author a = new Author();
    a.name = "author1";

    Author2 a2 = new Author2();
    a2.name = "author2";
   
View Full Code Here

    Post post = new Post();
    post.title = "test post";
    post.postedAt = new Date();
    post.content = "this is perfect piece of content~!";
   
    Author a = new Author();
    a.name = "me";
    a.birthDate = new Date();
    a.gender = 'm';
   
    post.setAuthor(a);
View Full Code Here

  /**
   * @return
   */
  private static List<Post> createPosts() {
    List<Post> posts = new ArrayList<Post>();
    Author a = new Author();
    a.name = "冉兵";
    a.birthDate = new Date();
    a.gender = 'M';
    Post p = new Post();
    p.author = a;
View Full Code Here

  public static void js() {
    renderJapid();
  }
 
  public static void japider() {
    models.japidsample.Author a = new Author();
    a.name = "me, myself and I, 我就我自己";
    a.birthDate = new Date();
    a.gender = 'M';
    a.publisher = "People's  Daily";
    renderJapid(a);
View Full Code Here

   *
   */
  public static void renderByPosition() {
    String s = "hello,renderByPosition!";
    int i = 100;
    Author a = new Author();
    a.name = "author1";

    Author2 a2 = new Author2();
    a2.name = "author2";
   
View Full Code Here

TOP

Related Classes of models.japidsample.Author

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.