public SizeFact getSizeFact() { if (sizeFact == null && dbObject.containsField("sizeFact")) { sizeFact = (SizeFact) PongoFactory.getInstance().createPongo((DBObject) dbObject.get("sizeFact")); sizeFact.setContainer(this); } return sizeFact; }
public ActivityFact getActivityFact() { if (activityFact == null && dbObject.containsField("activityFact")) { activityFact = (ActivityFact) PongoFactory.getInstance().createPongo((DBObject) dbObject.get("activityFact")); activityFact.setContainer(this); } return activityFact; }