RelationshipResolver

public class RelationshipResolver

The RelationshipResolver class provides a method that removes unresolved entities from a set. Entity is considered unresolved if at least one of its dependencies is not contained in provided set or does not exist in database.

See also: org.motechproject.mds.domain.Entity

Methods

removeUnresolvedEntities

public List<Entity> removeUnresolvedEntities(Set<Entity> entities)

setAllEntities

public void setAllEntities(AllEntities allEntities)