com.globallink.api.model.LanguageDirection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of globallink-connect-api Show documentation
Show all versions of globallink-connect-api Show documentation
GlobalLink Connect Java is a library to connect your system to GlobalLink Project Director SOAP API.
The newest version!
package com.globallink.api.model;
import org.gs4tr.projectdirector.model.dto.xsd.ProjectLanguageDirection;
/**
* A language direction defines the source and target language direction for
* which users can submit translation requests.
*/
public class LanguageDirection {
public String sourceLanguage;
public String targetLanguage;
/**
* Will be implemented for release 5.0
*/
public TMProfile TM;
public LanguageDirection(ProjectLanguageDirection direction) {
super();
this.sourceLanguage = direction.getSourceLanguage().getLocale();
this.targetLanguage = direction.getTargetLanguage().getLocale();
}
}