Class MappingResult

java.lang.Object
pl.edu.icm.unity.engine.api.translation.in.MappingResult

public class MappingResult extends Object
Stores a set of mapping results, produced by one or more translation actions.
Author:
K. Benedyczak
  • Constructor Details

    • MappingResult

      public MappingResult()
  • Method Details

    • addGroup

      public void addGroup(MappedGroup group)
    • addIdentity

      public void addIdentity(MappedIdentity id)
    • addAttribute

      public void addAttribute(MappedAttribute attr)
    • addEntityChange

      public void addEntityChange(EntityChange change)
    • getGroups

      public List<MappedGroup> getGroups()
    • getIdentities

      public List<MappedIdentity> getIdentities()
    • getAttributes

      public List<MappedAttribute> getAttributes()
    • getEntityChanges

      public List<EntityChange> getEntityChanges()
    • isCleanStaleGroups

      public boolean isCleanStaleGroups()
    • setCleanStaleGroups

      public void setCleanStaleGroups(boolean cleanStaleGroups)
    • isCleanStaleAttributes

      public boolean isCleanStaleAttributes()
    • setCleanStaleAttributes

      public void setCleanStaleAttributes(boolean cleanStaleAttributes)
    • isCleanStaleIdentities

      public boolean isCleanStaleIdentities()
    • setCleanStaleIdentities

      public void setCleanStaleIdentities(boolean cleanStaleIdentities)
    • getMappedAtExistingEntity

      public EntityParam getMappedAtExistingEntity()
      Returns:
      null if remote entity was not mapped on a local one or the local principal
    • setMappedToExistingEntity

      public void setMappedToExistingEntity(EntityParam mappedAtExistingEntity)
    • getAuthenticatedWith

      public Set<String> getAuthenticatedWith()
    • addAuthenticatedWith

      public void addAuthenticatedWith(String authenticatedWith)
    • mergeWith

      public void mergeWith(MappingResult result)
    • toString

      public String toString()
      Overrides:
      toString in class Object