Class TranslationResult
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.translation.out.TranslationResult
-
public class TranslationResult extends Object
Result of output translation. Set of identities and attributes. This class is mutable: actions modify the contents one by one.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description TranslationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<pl.edu.icm.unity.types.basic.DynamicAttribute>getAttributes()Collection<pl.edu.icm.unity.types.basic.Attribute>getAttributesToPersist()Collection<pl.edu.icm.unity.types.basic.IdentityParam>getIdentities()Collection<pl.edu.icm.unity.types.basic.IdentityParam>getIdentitiesToPersist()StringgetRedirectURL()Set<String>removeAttributesByMatch(Pattern attrPattern)booleanremoveAttributesByName(String name)Set<String>removeAttributesToPersistByMatch(Pattern attrPattern)booleanremoveAttributesToPersistByName(String name)booleanremoveIdentityByType(String type)Set<pl.edu.icm.unity.types.basic.IdentityParam>removeIdentityByTypeAndValueMatch(String type, Pattern idValueRegexp)booleanremoveIdentityToPersistByType(String type)Set<pl.edu.icm.unity.types.basic.IdentityParam>removeIdentityToPersistByTypeAndValueMatch(String type, Pattern idValueRegexp)voidsetRedirectURL(String redirectURL)StringtoString()
-
-
-
Method Detail
-
getAttributes
public Collection<pl.edu.icm.unity.types.basic.DynamicAttribute> getAttributes()
-
getIdentities
public Collection<pl.edu.icm.unity.types.basic.IdentityParam> getIdentities()
-
getAttributesToPersist
public Collection<pl.edu.icm.unity.types.basic.Attribute> getAttributesToPersist()
-
getIdentitiesToPersist
public Collection<pl.edu.icm.unity.types.basic.IdentityParam> getIdentitiesToPersist()
-
getRedirectURL
public String getRedirectURL()
-
setRedirectURL
public void setRedirectURL(String redirectURL)
-
removeAttributesByName
public boolean removeAttributesByName(String name)
-
removeAttributesToPersistByName
public boolean removeAttributesToPersistByName(String name)
-
removeAttributesToPersistByMatch
public Set<String> removeAttributesToPersistByMatch(Pattern attrPattern)
-
removeIdentityByType
public boolean removeIdentityByType(String type)
-
removeIdentityToPersistByType
public boolean removeIdentityToPersistByType(String type)
-
removeIdentityToPersistByTypeAndValueMatch
public Set<pl.edu.icm.unity.types.basic.IdentityParam> removeIdentityToPersistByTypeAndValueMatch(String type, Pattern idValueRegexp)
-
removeIdentityByTypeAndValueMatch
public Set<pl.edu.icm.unity.types.basic.IdentityParam> removeIdentityByTypeAndValueMatch(String type, Pattern idValueRegexp)
-
-