Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.mysema.rdf.demo.domain;
 
 import java.util.Set;
 
public class Company extends Party {
    private String officialName;
    @Predicate(ln = "company", inv = true)
    private Set<Personemployees = new LinkedHashSet<Person>();
    public Company() {
	// Java Bean constructor
    }
    @Predicate
    public String getOfficialName() {
	return ;
    }
    @Required
    public void setOfficialName(String officialName) {
	this. = Assert.hasText(officialName"officialName");
    }
    public Set<PersongetEmployees() {
	return ;
    }
    public void addEmployee(Person employee) {
	employee.setCompany(this);
	this..add(employee);
    }
    @Override
    public String getDisplayName() {
	return ;
    }
New to GrepCode? Check out our FAQ X