Examples of Person


Examples of com.rometools.rome.feed.atom.Person

    protected static List<SyndPerson> createAtomPersons(final List<SyndPerson> sPersons) {
        final List<SyndPerson> persons = new ArrayList<SyndPerson>();
        for (final SyndPerson syndPerson : sPersons) {
            final SyndPerson sPerson = syndPerson;
            final Person person = new Person();
            person.setName(sPerson.getName());
            person.setUri(sPerson.getUri());
            person.setEmail(sPerson.getEmail());
            person.setModules(sPerson.getModules());
            persons.add(person);
        }
        return persons;
    }
View Full Code Here

Examples of com.saasovation.identityaccess.domain.model.identity.Person

                    aCommand.getPassword(),
                    new Enablement(
                            aCommand.isEnabled(),
                            aCommand.getStartDate(),
                            aCommand.getEndDate()),
                    new Person(
                            new TenantId(aCommand.getTenantId()),
                            new FullName(aCommand.getFirstName(), aCommand.getLastName()),
                            new ContactInformation(
                                    new EmailAddress(aCommand.getEmailAddress()),
                                    new PostalAddress(
View Full Code Here

Examples of com.secondstack.training.basic.inheritance.Person

*
* @author Latief
*/
public class InheritanceMain {
    public static void main(String[] args) {
        Person joko = new Person();
        joko.setName("Joko");
        joko.setAlamat("Yogyakarta");
        showPerson(joko);
       
        Person siti = new Person("Siti", "Bandung");
        showPerson(siti);
       
        showPerson(new Person("Doni", "Semarang"));
       
        Student sahrul = new Student();
        sahrul.setName("Sahrul");
        sahrul.setAlamat("Yogyakarta");
        sahrul.setNoInduk("001");
        sahrul.setSekolah("SMA YOGYAKARTA");
        showStudent(sahrul);
       
        Person juwita = new Student();
        juwita.setName("Juwita");
        juwita.setAlamat("Yogyakarta");
        showPerson(juwita);
        showStudent((Student) juwita);
       
        Student studentJuwita = (Student) juwita;
        studentJuwita.setNoInduk("002");
View Full Code Here

Examples of com.sivalabs.myapp.entities.Person

  public void test_get()
  {
    RestTemplate rt = new RestTemplate();
    String url = baseUrl+"/persons/1";
    ResponseEntity<Person> responseEntity = rt.getForEntity(url , Person.class);
    Person person = responseEntity.getBody();
    Assert.assertNotNull(person);
  }
View Full Code Here

Examples of com.sm.web.person.pojo.Person

 
 
  @Test
  public void add()
  {
    Person p=new Person();
    p.setName("��С��");
    p.setAge(25);
    //p.setVersion(10);
    personService.addPerson(p);
    System.out.println("ok");
  }
View Full Code Here

Examples of com.springsource.greenhouse.account.Person

  /**
   * Creates a Person record from this SignupForm.
   * A Person is used as input to {@link AccountRepository} to create a new member Account.
   */
  public Person createPerson() {
    return new Person(firstName, lastName, email, password, gender, new LocalDate(year, month, day));
  }
View Full Code Here

Examples of com.sun.syndication.feed.atom.Person

            summary.setValue(entry.getSummary());
            atomEntry.setSummary(summary);
        }
       
        User creator = entry.getCreator();
        Person author = new Person();
        author.setName(         creator.getUserName());
        author.setEmail(        creator.getEmailAddress());
        atomEntry.setAuthors(   Collections.singletonList(author));
       
        // Add Atom category for Weblogger category, using category scheme
        List categories = new ArrayList();
        Category atomCat = new Category();
View Full Code Here

Examples of com.taobao.tdhs.jdbc.test.mybatis.vo.Person

                    new Person(3, "Kitty", 2, "Daughter")};

    @Test
    public void testSelect1() {
        SqlSession tdhsSession = getTDHSSession();
        Person tdhsPerson = tdhsSession.getMapper(PersonMapper.class).selectPerson(2);
        assertEquals(data[1], tdhsPerson);
        SqlSession mysqlSession = getTDHSSession();
        Person mysqlPerson = mysqlSession.getMapper(PersonMapper.class).selectPerson(2);
        assertEquals(mysqlPerson, tdhsPerson);
        tdhsSession.close();
        mysqlSession.close();
    }
View Full Code Here

Examples of com.tinkerpop.frames.domain.classes.Person

  private FramedGraph<TinkerGraph> g;

  @Test
  public void testJavaHandlerVertices() {
   
    Person person = g.getVertex(1, Person.class);
    String profile = person.getNameAndAge();
    Assert.assertEquals("marko (29)", profile);

    Person person2 = g.getVertex(2, Person.class);
    String profile2 = person2.getNameAndAge();
    Assert.assertEquals("vadas (27)", profile2);

    Set<Person> coCreators = new HashSet<Person>();

    Iterables.addAll(coCreators, person.getCoCreatorsJava());
View Full Code Here

Examples of com.tmm.enterprise.microblog.domain.Person

   * @return
   * @throws Exception
   */
  @RequestMapping("/list")
  public ModelAndView list(HttpServletRequest request, HttpServletResponse response) throws Exception {
    Person currentUser = accountService.getPerson(request);
    Map<String, Object> model = Maps.newHashMap();
    JsonArray raisedTasks = new JsonArray();
    JsonArray assignedTasks = new JsonArray();
    if (currentUser != null) {
      List<WorkTask> raised = workTaskService.loadWorkTasksRaised(currentUser);
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.