It's the job of the developer to create the setters and getters for the java objects.
Assuming you have a field
private Set<Stock> stockDailyRecord;
Normally you would create a pair:
public Set<Stock> getStockDailyRecord();
public void setStockDailyRecord( Set<Stock> newRecordSet);
And then you would also normally create a convenience method
public void addDailyRecord( Stock newRecord)
{
this.getStockDailyRecord().add(newRecord);
}
Hint: most IDEs will create the getter/setters for you after you define the fields.