Class TranslationResult
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.translation.out.TranslationResult
-
public class TranslationResult extends java.lang.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 java.util.Collection<pl.edu.icm.unity.types.basic.DynamicAttribute>
getAttributes()
java.util.Collection<pl.edu.icm.unity.types.basic.Attribute>
getAttributesToPersist()
java.util.Collection<pl.edu.icm.unity.types.basic.IdentityParam>
getIdentities()
java.util.Collection<pl.edu.icm.unity.types.basic.IdentityParam>
getIdentitiesToPersist()
java.lang.String
getRedirectURL()
java.util.Set<java.lang.String>
removeAttributesByMatch(java.util.regex.Pattern attrPattern)
boolean
removeAttributesByName(java.lang.String name)
java.util.Set<java.lang.String>
removeAttributesToPersistByMatch(java.util.regex.Pattern attrPattern)
boolean
removeAttributesToPersistByName(java.lang.String name)
boolean
removeIdentityByType(java.lang.String type)
java.util.Set<pl.edu.icm.unity.types.basic.IdentityParam>
removeIdentityByTypeAndValueMatch(java.lang.String type, java.util.regex.Pattern idValueRegexp)
boolean
removeIdentityToPersistByType(java.lang.String type)
java.util.Set<pl.edu.icm.unity.types.basic.IdentityParam>
removeIdentityToPersistByTypeAndValueMatch(java.lang.String type, java.util.regex.Pattern idValueRegexp)
void
setRedirectURL(java.lang.String redirectURL)
-
-
-
Method Detail
-
getAttributes
public java.util.Collection<pl.edu.icm.unity.types.basic.DynamicAttribute> getAttributes()
-
getIdentities
public java.util.Collection<pl.edu.icm.unity.types.basic.IdentityParam> getIdentities()
-
getAttributesToPersist
public java.util.Collection<pl.edu.icm.unity.types.basic.Attribute> getAttributesToPersist()
-
getIdentitiesToPersist
public java.util.Collection<pl.edu.icm.unity.types.basic.IdentityParam> getIdentitiesToPersist()
-
getRedirectURL
public java.lang.String getRedirectURL()
-
setRedirectURL
public void setRedirectURL(java.lang.String redirectURL)
-
removeAttributesByName
public boolean removeAttributesByName(java.lang.String name)
-
removeAttributesByMatch
public java.util.Set<java.lang.String> removeAttributesByMatch(java.util.regex.Pattern attrPattern)
-
removeAttributesToPersistByName
public boolean removeAttributesToPersistByName(java.lang.String name)
-
removeAttributesToPersistByMatch
public java.util.Set<java.lang.String> removeAttributesToPersistByMatch(java.util.regex.Pattern attrPattern)
-
removeIdentityByType
public boolean removeIdentityByType(java.lang.String type)
-
removeIdentityToPersistByType
public boolean removeIdentityToPersistByType(java.lang.String type)
-
removeIdentityToPersistByTypeAndValueMatch
public java.util.Set<pl.edu.icm.unity.types.basic.IdentityParam> removeIdentityToPersistByTypeAndValueMatch(java.lang.String type, java.util.regex.Pattern idValueRegexp)
-
removeIdentityByTypeAndValueMatch
public java.util.Set<pl.edu.icm.unity.types.basic.IdentityParam> removeIdentityByTypeAndValueMatch(java.lang.String type, java.util.regex.Pattern idValueRegexp)
-
-