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 Details

    • TranslationResult

      public TranslationResult()
  • Method Details

    • 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)
    • removeAttributesByMatch

      public Set<String> removeAttributesByMatch(Pattern attrPattern)
    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object