Class TranslationInput
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.translation.out.TranslationInput
-
public class TranslationInput extends Object
Translation input: a complete information about an entity. Immutable.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description TranslationInput(Collection<? extends Attribute> attributes, Entity entity, String chosenGroup, Collection<Group> groups, String requester, Collection<? extends Attribute> requesterAttributes, String protocol, String protocolSubType, Map<String,AuthenticationResult.Status> importStatus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Attribute>
getAttributes()
String
getChosenGroup()
Entity
getEntity()
Set<Group>
getGroups()
Map<String,AuthenticationResult.Status>
getImportStatus()
String
getProtocol()
String
getProtocolSubType()
String
getRequester()
Collection<Attribute>
getRequesterAttributes()
String
getTextDump()
void
setImportStatus(Map<String,AuthenticationResult.Status> importStatus)
String
toString()
-
-
-
Constructor Detail
-
TranslationInput
public TranslationInput(Collection<? extends Attribute> attributes, Entity entity, String chosenGroup, Collection<Group> groups, String requester, Collection<? extends Attribute> requesterAttributes, String protocol, String protocolSubType, Map<String,AuthenticationResult.Status> importStatus)
-
-
Method Detail
-
getAttributes
public Collection<Attribute> getAttributes()
-
getEntity
public Entity getEntity()
-
getRequester
public String getRequester()
-
getProtocol
public String getProtocol()
-
getProtocolSubType
public String getProtocolSubType()
-
getChosenGroup
public String getChosenGroup()
-
getImportStatus
public Map<String,AuthenticationResult.Status> getImportStatus()
-
setImportStatus
public void setImportStatus(Map<String,AuthenticationResult.Status> importStatus)
-
getRequesterAttributes
public Collection<Attribute> getRequesterAttributes()
-
getTextDump
public String getTextDump()
- Returns:
- Multiline string with a complete contents
-
-