Class 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 Detail

      • TranslationResult

        public TranslationResult()
    • 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)