Class TranslationInput
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.translation.out.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<pl.edu.icm.unity.types.basic.Attribute>
getAttributes()
java.lang.String
getChosenGroup()
pl.edu.icm.unity.types.basic.Entity
getEntity()
java.util.Set<java.lang.String>
getGroups()
java.util.Map<java.lang.String,AuthenticationResult.Status>
getImportStatus()
java.lang.String
getProtocol()
java.lang.String
getProtocolSubType()
java.lang.String
getRequester()
java.util.Collection<pl.edu.icm.unity.types.basic.Attribute>
getRequesterAttributes()
java.lang.String
getTextDump()
void
setImportStatus(java.util.Map<java.lang.String,AuthenticationResult.Status> importStatus)
java.lang.String
toString()
-
-
-
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()
-
getImportStatus
public java.util.Map<java.lang.String,AuthenticationResult.Status> getImportStatus()
-
setImportStatus
public void setImportStatus(java.util.Map<java.lang.String,AuthenticationResult.Status> importStatus)
-
getRequesterAttributes
public java.util.Collection<pl.edu.icm.unity.types.basic.Attribute> getRequesterAttributes()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getTextDump
public java.lang.String getTextDump()
- Returns:
- Multiline string with a complete contents
-
-