Class TranslationInput


  • public class TranslationInput
    extends java.lang.Object
    Translation input: a complete information about an entity. Immutable.
    Author:
    K. Benedyczak
    • Constructor Summary

      Constructors 
      Constructor Description
      TranslationInput​(java.util.Collection<? extends pl.edu.icm.unity.types.basic.Attribute> attributes, pl.edu.icm.unity.types.basic.Entity entity, java.lang.String chosenGroup, java.util.Collection<java.lang.String> groups, java.lang.String requester, java.util.Collection<? extends pl.edu.icm.unity.types.basic.Attribute> requesterAttributes, java.lang.String protocol, java.lang.String protocolSubType, java.util.Map<java.lang.String,​AuthenticationResult.Status> importStatus)  
    • Constructor Detail

      • TranslationInput

        public TranslationInput​(java.util.Collection<? extends pl.edu.icm.unity.types.basic.Attribute> attributes,
                                pl.edu.icm.unity.types.basic.Entity entity,
                                java.lang.String chosenGroup,
                                java.util.Collection<java.lang.String> groups,
                                java.lang.String requester,
                                java.util.Collection<? extends pl.edu.icm.unity.types.basic.Attribute> requesterAttributes,
                                java.lang.String protocol,
                                java.lang.String protocolSubType,
                                java.util.Map<java.lang.String,​AuthenticationResult.Status> importStatus)
    • Method Detail

      • getAttributes

        public java.util.Collection<pl.edu.icm.unity.types.basic.Attribute> getAttributes()
      • getEntity

        public pl.edu.icm.unity.types.basic.Entity getEntity()
      • getGroups

        public java.util.Set<java.lang.String> getGroups()
      • getRequester

        public java.lang.String getRequester()
      • getProtocol

        public java.lang.String getProtocol()
      • getProtocolSubType

        public java.lang.String getProtocolSubType()
      • getChosenGroup

        public java.lang.String getChosenGroup()
      • getRequesterAttributes

        public java.util.Collection<pl.edu.icm.unity.types.basic.Attribute> getRequesterAttributes()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getTextDump

        public java.lang.String getTextDump()
        Returns:
        Multiline string with a complete contents