Class MappingResult
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.translation.in.MappingResult
-
public class MappingResult extends java.lang.Object
Stores a set of mapping results, produced by one or more translation actions.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description MappingResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttribute(MappedAttribute attr)
void
addAuthenticatedWith(java.lang.String authenticatedWith)
void
addEntityChange(EntityChange change)
void
addGroup(MappedGroup group)
void
addIdentity(MappedIdentity id)
java.util.List<MappedAttribute>
getAttributes()
java.util.Set<java.lang.String>
getAuthenticatedWith()
java.util.List<EntityChange>
getEntityChanges()
java.util.List<MappedGroup>
getGroups()
java.util.List<MappedIdentity>
getIdentities()
pl.edu.icm.unity.types.basic.EntityParam
getMappedAtExistingEntity()
boolean
isCleanStaleAttributes()
boolean
isCleanStaleGroups()
boolean
isCleanStaleIdentities()
void
mergeWith(MappingResult result)
void
setCleanStaleAttributes(boolean cleanStaleAttributes)
void
setCleanStaleGroups(boolean cleanStaleGroups)
void
setCleanStaleIdentities(boolean cleanStaleIdentities)
void
setMappedAtExistingEntity(pl.edu.icm.unity.types.basic.EntityParam mappedAtExistingEntity)
-
-
-
Method Detail
-
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 java.util.List<MappedGroup> getGroups()
-
getIdentities
public java.util.List<MappedIdentity> getIdentities()
-
getAttributes
public java.util.List<MappedAttribute> getAttributes()
-
getEntityChanges
public java.util.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 pl.edu.icm.unity.types.basic.EntityParam getMappedAtExistingEntity()
- Returns:
- null if remote entity was not mapped on a local one or the local principal
-
setMappedAtExistingEntity
public void setMappedAtExistingEntity(pl.edu.icm.unity.types.basic.EntityParam mappedAtExistingEntity)
-
getAuthenticatedWith
public java.util.Set<java.lang.String> getAuthenticatedWith()
-
addAuthenticatedWith
public void addAuthenticatedWith(java.lang.String authenticatedWith)
-
mergeWith
public void mergeWith(MappingResult result)
-
-