![JAR search and dependency download from the Maven repository](/logo.png)
com.lionbridge.content.sdk.models.LBLanguage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liox-content-sdk-java Show documentation
Show all versions of liox-content-sdk-java Show documentation
Client for Lionbridge Ondemand API
package com.lionbridge.content.sdk.models;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
public abstract class LBLanguage {
@JacksonXmlProperty(localName="LanguageCode")
private String languageCode;
public LBLanguage() {}
public LBLanguage(String languageCode) {
this.setLanguageCode(languageCode);
}
public String getLanguageCode() {
return languageCode;
}
public void setLanguageCode(String languageCode) {
if (languageCode != null) {
this.languageCode = languageCode.trim();
}
}
public boolean equals(final LBLanguage other) {
if(other.getLanguageCode().trim().equalsIgnoreCase(this.getLanguageCode().trim())) {
return true;
} else {
return false;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy