MCPcopy Create free account
hub / github.com/FamilySearch/gedcom5-java / accept

Method accept

src/main/java/org/folg/gedcom/model/Person.java:225–245  ·  view source on GitHub ↗
(Visitor visitor)

Source from the content-addressed store, hash-verified

223 }
224
225 public void accept(Visitor visitor) {
226 if (visitor.visit(this)) {
227 for (Name name : getNames()) {
228 name.accept(visitor);
229 }
230 for (ParentFamilyRef parentFamilyRef : getParentFamilyRefs()) {
231 parentFamilyRef.accept(visitor);
232 }
233 for (SpouseFamilyRef spouseFamilyRef : getSpouseFamilyRefs()) {
234 spouseFamilyRef.accept(visitor);
235 }
236 for (Association association : getAssociations()) {
237 association.accept(visitor);
238 }
239 if (addr != null) {
240 addr.accept(visitor);
241 }
242 super.visitContainedObjects(visitor);
243 visitor.endVisit(this);
244 }
245 }
246}

Callers

nothing calls this directly

Calls 8

getNamesMethod · 0.95
getParentFamilyRefsMethod · 0.95
getSpouseFamilyRefsMethod · 0.95
getAssociationsMethod · 0.95
acceptMethod · 0.65
visitMethod · 0.45
visitContainedObjectsMethod · 0.45
endVisitMethod · 0.45

Tested by

no test coverage detected