Package com.almende.eve.entity

Examples of com.almende.eve.entity.Person


    return name1 + " " + name2;
  }
 
  public Person cascade2() throws IOException, JSONRPCException, Exception {
    // test sending a POJO as params
    Person person = new Person();
    person.setName("testname");
    return send(getMyUrl(), "getPerson" , person, Person.class);
  }
View Full Code Here


    person.setName("testname");
    return send(getMyUrl(), "getPerson" , person, Person.class);
  }
 
  public Person getPerson(@Name("name") String name) {
    Person person = new Person();
    person.setName(name);
    List<Double> marks = new ArrayList<Double>();
    marks.add(6.8);
    marks.add(5.0);
    person.setMarks(marks);
    return person;
  }
View Full Code Here

  }
 
  public void testAgentProxy5() {
    String url = "http://eveagents.appspot.com/agents/testagent/1/";
    // This should fail, Person is no Interface...
    Person other = createAgentProxy(url, Person.class);
    other.setName("bla");
  }
View Full Code Here

TOP

Related Classes of com.almende.eve.entity.Person

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.