Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.astamuse.asta4d.sample.handler.form;
 
 
 
public class JobForm extends JobExperence {
    public static JobForm buildFromJob(JobExperence job) {
        JobForm form = new JobForm();
        try {
            BeanUtils.copyProperties(formjob);
        } catch (IllegalAccessException | InvocationTargetException e) {
            throw new RuntimeException(e);
        }
        return form;
    }
    @Override
    @Hidden(name = "job-id-@")
    public Integer getId() {
        return super.getId();
    }
    @Override
    @Hidden(name = "job-person-id-@")
    public Integer getPersonId() {
        return super.getPersonId();
    }
    @Override
    @Input(name = "job-year-@")
    public Integer getYear() {
        return super.getYear();
    }
    @Override
    @Input(name = "job-description-@")
    public String getDescription() {
        return super.getDescription();
    }
New to GrepCode? Check out our FAQ X