Search in sources :

Example 1 with ChildEntityDefinition

use of eu.esdihumboldt.hale.common.align.model.impl.ChildEntityDefinition in project hale by halestudio.

the class EntityVisitor method accept.

/**
 * Apply the visitor on a child entity definition.
 *
 * @param ced the child entity definition
 */
public void accept(ChildEntityDefinition ced) {
    if (visit(ced)) {
        for (ChildDefinition<?> child : ced.getDefinition().asGroup().getDeclaredChildren()) {
            EntityDefinition ed = AlignmentUtil.getChild(ced, child.getName());
            accept(ed);
        }
    }
}
Also used : TypeEntityDefinition(eu.esdihumboldt.hale.common.align.model.impl.TypeEntityDefinition) PropertyEntityDefinition(eu.esdihumboldt.hale.common.align.model.impl.PropertyEntityDefinition) ChildEntityDefinition(eu.esdihumboldt.hale.common.align.model.impl.ChildEntityDefinition) EntityDefinition(eu.esdihumboldt.hale.common.align.model.EntityDefinition)

Aggregations

EntityDefinition (eu.esdihumboldt.hale.common.align.model.EntityDefinition)1 ChildEntityDefinition (eu.esdihumboldt.hale.common.align.model.impl.ChildEntityDefinition)1 PropertyEntityDefinition (eu.esdihumboldt.hale.common.align.model.impl.PropertyEntityDefinition)1 TypeEntityDefinition (eu.esdihumboldt.hale.common.align.model.impl.TypeEntityDefinition)1