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<DynamicAttribute>
getAttributes()
Collection<Attribute>
getAttributesToPersist()
Collection<IdentityParam>
getIdentities()
Collection<IdentityParam>
getIdentitiesToPersist()
String
getRedirectURL()
Set<String>
removeAttributesByMatch(Pattern attrPattern)
boolean
removeAttributesByName(String name)
Set<String>
removeAttributesToPersistByMatch(Pattern attrPattern)
boolean
removeAttributesToPersistByName(String name)
boolean
removeIdentityByType(String type)
Set<IdentityParam>
removeIdentityByTypeAndValueMatch(String type, Pattern idValueRegexp)
boolean
removeIdentityToPersistByType(String type)
Set<IdentityParam>
removeIdentityToPersistByTypeAndValueMatch(String type, Pattern idValueRegexp)
void
setRedirectURL(String redirectURL)
String
toString()
-
-
-
Method Detail
-
getAttributes
public Collection<DynamicAttribute> getAttributes()
-
getIdentities
public Collection<IdentityParam> getIdentities()
-
getAttributesToPersist
public Collection<Attribute> getAttributesToPersist()
-
getIdentitiesToPersist
public Collection<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<IdentityParam> removeIdentityToPersistByTypeAndValueMatch(String type, Pattern idValueRegexp)
-
removeIdentityByTypeAndValueMatch
public Set<IdentityParam> removeIdentityByTypeAndValueMatch(String type, Pattern idValueRegexp)
-
-