Examples of Person


Examples of com.avaje.tests.model.interfaces.Person

   
    ResetBasicData.reset();
   
    IAddress a = new Address();
   
    IPerson p = new Person();
   
    p.setDefaultAddress(a);
   
    Ebean.save(a);
    Ebean.save(p);
   
    //Assert.assertTrue();
View Full Code Here

Examples of com.camunda.fox.model.dto.Person

  @Override
  public void process(Exchange exchange) throws Exception {
    @SuppressWarnings("unchecked")
    Map<String, Object> map = exchange.getIn().getBody(HashMap.class);

    Person person = new Person((String) map.get("firstname"),
        (String) map.get("lastname"), (String) map.get("title"),
        (Date) map.get("dateofbirth"),
        (String) map.get("placeofbirth"), (String) map.get("gender"),
        (String) map.get("phonenumber"), (String) map.get("email"));
View Full Code Here

Examples of com.carma.swagger.doclet.sample.api.Person

public class PersonResource {

  @GET
  @com.fasterxml.jackson.annotation.JsonView(SimplePersonView.class)
  public Collection<Person> getAll() {
    Person person = new Person();
    person.setName("conor");
    person.setAddress("conor-address");
    person.setAge(35);
    Collection<Person> res = new ArrayList<Person>();
    res.add(person);
    return res;
  }
View Full Code Here

Examples of com.codetutr.domain.Person

  String[] names = {"Nikolaus Otto", "Robert Ford", "Gottlieb Daimler", "Lt. General Masaharu Homma"};

  @Override
  public Person getRandom() {
    Person person = new Person();
    person.setName(randomName());
    person.setAge(randomAge());
    return person;
  }
View Full Code Here

Examples of com.degloba.boundedContext.domain.Person

    modalpanel.setTitol("titol hora");
    modalpanel.changeStatus(Modalpanel.ModalpanelStatus.VIP);
     
    this.modalpanelRepository.save(modalpanel);
   
    Person person = new Person();
    person.setFirstName("pere");
    person.setLastName("cots");
    person.setLevel(0);
   
   
   
    /*ApplicationContext ctx =
               new AnnotationConfigApplicationContext(SpringMongoConfig.class);
View Full Code Here

Examples of com.dubture.getcomposer.core.objects.Person

    manager.add(editAction);
    manager.add(removeAction);
  }
 
  private void handleAdd() {
    PersonDialog diag = new PersonDialog(authorViewer.getTable().getShell(), new Person());
    if (diag.open() == Dialog.OK) {
      composerPackage.getAuthors().add(diag.getPerson());
      refresh();
    }
  }
View Full Code Here

Examples of com.dyuproject.ioc.test.Person

   
    public void testBasic() throws Exception
    {       
        String resource = "src/test/resources/com/dyuproject/ioc/test/basic.json";
        ApplicationContext ac = ApplicationContext.load(resource);
        Person person = (Person)ac.findPojo("person");
        assertTrue("John".equals(person.getFirstName()));
        assertTrue(20==person.getAge());
    }
View Full Code Here

Examples of com.dyuproject.protostuff.model.V2Lite.Person

        StringWriter sw = new StringWriter();
        json.writeTo(sw, person);
        String generated = sw.toString();

        JsonParser parser = json.getJsonFactory().createJsonParser(generated);
        Person parsedPerson = json.parseFrom(parser, Person.class);
        parser.close();
       
        assertEquals(person, parsedPerson);       
       
        return generated;
View Full Code Here

Examples of com.evasion.common.controler.Person

    private Person person;

    @PostConstruct
    public void init() {
        person = new Person();
        user = new User();
    }
View Full Code Here

Examples of com.evasion.entity.Person

                admin.setEnabled(true);
                admin.setUsername("admin");
                admin.setPassword("adminadmin");
                admin.setEmail("admin@localhost");
            }
            Person person = new Individual("", Civilite.monsieur, "admin", "admin", new Date());
            defaultDAO.persist(person);
            acc = new Account(admin, person);
            createAccount(acc);
        }
        return acc;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.