@Component(value="cuba_EntityReferencesNormalizer")
public class EntityReferencesNormalizer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
EntityReferencesNormalizer() |
Modifier and Type | Method and Description |
---|---|
void |
updateReferences(java.util.Collection<Entity> entities)
For each entity in the collection, updates to-one reference properties to point to instances which are items of
the collection.
|
void |
updateReferences(java.util.Collection<Entity> entities,
java.util.Collection<Entity> references)
For each entity in the first collection, updates to-one reference properties to point to instances from
the second collection.
|
protected void |
updateReferences(Entity entity,
Entity refEntity,
java.util.Set<Entity> visited) |
public static final java.lang.String NAME
public void updateReferences(java.util.Collection<Entity> entities)
public void updateReferences(java.util.Collection<Entity> entities, java.util.Collection<Entity> references)